computervitals
New Member
I'm setting up a script and from what I have read I need to configure PDO
I ran this command:
pecl install pdo
I looks like it downloaded and installed, It told me I needed to add the extension=pdo.so to the php.ini
I did this and restarted httpd and re-ran my script.
Here's what I get.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
It also said I need to run:
./configure --with-zlib --enable-pdo=shared
can I just run that? or do I have to run all the configurations I ran before? Will it simply add it?
If I have to run all the configurations as before including this, how so I find the ones I ran before?
I ran this command:
pecl install pdo
I looks like it downloaded and installed, It told me I needed to add the extension=pdo.so to the php.ini
I did this and restarted httpd and re-ran my script.
Here's what I get.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
It also said I need to run:
./configure --with-zlib --enable-pdo=shared
can I just run that? or do I have to run all the configurations I ran before? Will it simply add it?
If I have to run all the configurations as before including this, how so I find the ones I ran before?