I am playing with Yii framework and now I am investigating Yii Shell. But if I use this command:
yiic shell
I always get this error message:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_oci.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0
libdc1394 error: Failed to initialize libdc1394
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_oci.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0开发者_如何学Python
Error: index.php does not exist or is not an entry script file.
It is strange for me, because I am gonna to use only mySQL drivers, so why Oracle now? Any idea?
Many thanks for your replies!
Jakub
Please install Oracle client and Open your php.ini
, search for oci8.so
and php_oci.so
, in extensions section you should have something like extension=oci8.so
and extension=pdo_oci.so
, just comment it with ;
. If You have extension=oci8_11g.so
comment it as well"
Open your php.ini, search for oci8.so and php_oci.so, in extensions section you should have something like extension=oci8.so
and extension=pdo_oci.so
, just comment it with ;
. If You have extension=oci8_11g.so
comment this as well
精彩评论