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 have a server and i was using php files on it. For some reason i had to reinstall apache on it. My files and my SQL database is still there.

Now after fresh installation of Apache, when i run my php website i get PDO NOT INSTALLED error.

So if now i install "PDO, PDO_MySQL, simplexml, mcrypt, hash, GD, DOM, iconv, curl" will any of them effect my data?

If so is there anyway i can skip the headache of taking backup of both files and SQL?

share|improve this question
    
Short answer: no. It just affects your PHP core. Not your database nor file –  masegaloeh May 13 at 9:47
    
so i should simple go ahead and install php-pdo using yum install php-pdo? –  karan May 13 at 9:48
    
yup. It shouldn't affect your files –  masegaloeh May 13 at 9:50
    
Using yum install php-pdo gives "No package php-pdo available." what could be the issue? –  karan May 13 at 10:02

1 Answer 1

Installation of PHP modules is not related at all with your databases or other data. Depending on your server install the modules using YUM or APT, and it should work just fine. You may need to activate any module in php.ini if there are not activated by default. The restart of apache may be required.

share|improve this answer

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.