-1

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?

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

1 Answer 1

0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .