To test whether PHP does work from the console, simply open the command prompt and type:
php -version
If you get an system error message something like this: “The program can’t start because libcs.dll is missing from your computer. Try reinstalling the program to fix this problem.”
This .dll are: OCI.dll, sqlite3.dll, aspell-15.dll, libcs.dll and maybe some other.
It’s easy to fix, let’s see how to fix this issue.
1. OCI.dll is related to Oracle stuff, outcomment everything related to Oracle extension (could be: php_pdo_oci.dll, php_pdo_oci8.dll, php_oci8.dll)
2. sqlite3.dll is related to SQLite stuff, outcomment everything related to SQLite extension (could be: php_pdo_sqlite.dll, php_pdo_sqlite_external.dll)
3. aspell-15.dll is related to PSPell library, outcomment everything related to PSPell extension (could be: php_pspell.dll)
4. libcs.dll is related to Symantec/ Sybase Open Client libraries, outcomment everything related to Symantec extension (could be: php_sybase_ct.dll)
Note: to use or un-use a particular php extension, just open the php.ini and make some changes:
+ To use an extension you just have to uncomment the line in your php.ini file. To do this just remove the semi-colon (;) from the start of the line.
+ To un-use/disable an extension you just add the semi-colon (;) from the start of the line.