Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I use CentOS 5.5 64bits, and I'd strongly prefer running php5.3 there (please focus on this), but if you have a safe recipe to run it on another distribution, I'll take it into consideration.

My problem is that I get to achieve either one of these two things:

  • I install php5.3 (from here: http://www.webtatic.com/blog/2009/06/php-530-on-centos-5/) and everything works, but without PDO.

  • I install everything from 'remi' repos (including their own MySQL version, because otherwise I'd get an incompatibility error while installing), but when it comes to the part of the script where I use PDO, I get a blank screen and it dies without leaving any errors (even with errors activated).

Thanks in advance.

share|improve this question

1 Answer 1

Install php-pdo(from 'remi' repos):

 yum install php-pdo

and restart web server. For test, use phpinfo() or php -i.

share|improve this answer
    
where he wrote that he install php-pdo? –  alvosu Feb 2 '11 at 8:45
    
Gah, my bad, morning blindness ;) –  lynxman Feb 2 '11 at 8:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.