Jason Rhodes. Jason Rhodes Jason Rhodes 1 1 gold badge 1 1 silver badge 6 6 bronze badges. It depends. Are you on red hat 5 or 6? Add a comment. Active Oldest Votes. Improve this answer. Ellis M. Ellis 1 1 bronze badge. Your assumption is correct. Strangely, we have the phppdo package installed and up to date, but Drupal still says we have no PDO libraries available. It makes me think it's related to the --disable-pdo flag in the php configuration, but again, I'm not sure if it's easy to reconfigure and recompile php when you've installed it with yum.
So you're saying that upgrading to RHEL6 would solve this? Are there more php53 packages in RHEL6, or is it just php again there? Thanks for your help. Did you restart Apache after installing phppdo? The --disable-pdo flag don't prove anything, it's default when installing php from binary package. One trick is that you have to uninstall all of the php5.
If you somehow have a mix of both, you can confuse yourself. You'll also want to make sure you have the right additional package for your backend database.
Turns out, it was the php5. Two builds of PHP, weird conflicts and overlaps, nothing worked right. We removed them all and recompiled PHP, went with 5. Problems went away! You can do this to enable pdo : yum install php-pdo. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks.
Podcast Making Agile work for data science. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related 1. Hot Network Questions. Question feed. Server Fault works best with JavaScript enabled. Accept all cookies Customize settings. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How can I update my PHP 5. Asked 8 years, 3 months ago. Active 8 years, 3 months ago. Viewed 11k times. Improve this question.
And I want my php 5. You're overwriting the PHP that centos installed. Generally not a good idea. Marc B So what should I do? Can you help me? Add a comment. Active Oldest Votes. Generally on CentOS, you want to leave this sort of thing to yum. X is not supported any longer, so you could do: yum install yum-plugin-replace yum replace php --replace-with php55 If you don't have php 5. Improve this answer. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
0コメント