Jump to content

Warning Message: Pdo (Pdo_Mysql) Is Required (For Mysql Database)


doolak
 Share

Recommended Posts

Hi there,

first time since I am using PW I am getting this error message:

 PDO (pdo_mysql) is required (for MySQL database)

I am using the same server like always and PDO is installed. The installation stops after entering the database infos and nothing happens.

Any idea what can be wrong?

Cheers, Christian

Link to comment
Share on other sites

I tried to install the newest version - the I tried to install an older one.

Now I made the big mistake to run an upgrade of MySQL and now the other sites throw a 500 internal server error...

Have to fix this now first! OMG

Link to comment
Share on other sites

Ok - in the other thread the host had a problem and fixed it - I am still getting that warning in the installation's compatibility check.

If I just try to install I can enter the database informations and if I continue then the install gets stuck and looks as follows:

post-107-0-11010000-1407100347_thumb.png

So far no solution...

Link to comment
Share on other sites

In the Apache logs I found this:
 
[sun Aug 03 23:26:50 2014] [error] [client xx.xxx.xx.xxx] PHP:  syntax error, unexpected END_OF_LINE, expecting '=' in /usr/local/lib/php.ini on line 2, referer: http://www.xyz.de/dev/xyz/install.php
 
So I checked the php.ini:

^
 
 
;;;;;;;;;;;
; WARNING ;
;;;;;;;;;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with a configuration suitable for
; development purposes, and *NOT* for production purposes.
; For several security-oriented considerations that should be taken
; before going online with your site, please consult php.ini-recommended
 
I have deleted the "^" and restarted Apache - but I still get the error message above (syntax error, unexpected END_OF_LINE, expecting '=' in /usr/local/lib/php.ini on line 2).
 
Any idea how to fix that? Do you think this could be the source of the installation problem?
Link to comment
Share on other sites

Had to restart the apache manually via commandline - now the error message in the apache logs is away and the installation does not show the PDO problem - will try now to install.


Success! So the problem with the missing PDO warning came from a corrupted php.ini

Thanks again for your help!

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...