The directory path "/usr/lib//usr/local/lib/p
Try this:
ls /usr/local/lib/php/extensi
ls /usr/local/lib/php/extensi
Do these commands produce error messages or regular output?
Main Topics
Browse All TopicsI am trying to install Magento Shopping cart on my server, I have PDO installed as stated by phpinfo but I tried to install pdo_mysql by using ssh pecl pdo_mysql installed file I tried to add the extension in my php.ini, tried everything but still its showing pdo_mysql is not installed, please help me and let me know what I am missing.
I am using Centos OS with DirectAdmin.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The directory path "/usr/lib//usr/local/lib/p
Try this:
ls /usr/local/lib/php/extensi
ls /usr/local/lib/php/extensi
Do these commands produce error messages or regular output?
1 - Updating pdo_mysql is, as far as I remember, needed on windows but not on linux. But you need to enabled it if not enabled as per phpinfo.
2 - Looking at your log I would suspect some path / include error somewhare (php.ini) since
'/usr/lib//usr/local/lib/p
seems slightly suspect. If this is the inlude path, I would guess that you added
/usr/local/lib/php/extensi
'/usr/lib/:/usr/local/lib/
hello, I have added the correct path in my php.ini first I checked with ls and I couldnt find the directory then I search for pdo.so and pdo_mysql.so and found out they are located in
/usr/local/lib/ and /usr/local/lib/php/extensi
I tried to put both of them in my php.ini
extension_dir=/usr/local/l
Try
1 - make a copy of /usr/local/lib/php/extensi
2 -
extension_dir=usr/local/li
3 - Additional question: which other changes did you make? it is now saying
Unable to load dynamic library './/usr... while it was saying previously
Unable to load dynamic library '/usr...
Look at text around http://www.experts-exchang
In the question above, 3 persons have made contributions to help you finding the solution: yourself and 2 other experts (including me).
Decide what the collective work is worth: an A because it was fast, complete and precise? a B because it was not all of that? a C because it was not relevant or marginally useful in finding the solution (wrong suggestions may help you finding the solution, and are therefore useful)
Now that you have decided the grade... decide how to allocate the points: most probably a great share for you, since you eventually found the solution; and then some allocation to each expert. You share as you want, provided it is fair and the total matches the 500 points you initially placed on the table. (You will get back 'your points', the other experts will receive them with the multiplier corresponding to the grade.
Hi,
I just upgraded to Magento 1.1.3 and it was working. Then my ISP upgraded its PHP 5 and everything was broken: no more pdo (sounds familiar?).
After some search, my ISP finally created a php.ini to be placed in my /magento/ directory.
JUst at the bottom of the php.ini file, the lines below might interest you
[Zend]
zend_extension_manager.opt
zend_extension_manager.opt
zend_optimizer.version=3.3
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
zend_extension=/usr/local/
zend_extension_ts=/usr/loc
Higher in the php.ini file is the line
;extension=pdo_mysql.so
As you see this line is NOT uncommented
Business Accounts
Answer for Membership
by: sohaibkhanPosted on 2008-07-28 at 23:12:07ID: 22108961
I am also getting this error :
Select allOpen in new window