doolak Posted August 3, 2014 Share Posted August 3, 2014 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 More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 Damn - I have no idea what's wrong - I cannot install PW... Link to comment Share on other sites More sharing options...
kongondo Posted August 3, 2014 Share Posted August 3, 2014 (edited) Are your other sites still working fine? No Apache error logs? Edited August 3, 2014 by kongondo Link to comment Share on other sites More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 Yes, all the other sites work fine... Link to comment Share on other sites More sharing options...
kongondo Posted August 3, 2014 Share Posted August 3, 2014 Apache logs errors? Link to comment Share on other sites More sharing options...
kongondo Posted August 3, 2014 Share Posted August 3, 2014 Version of PW? See also https://processwire.com/talk/topic/6279-pdo-enabled-but-not-recognized-by-pw/ Link to comment Share on other sites More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 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 More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 Ok - got that MySQL update problem fixed - the other sites are running again now. Puh... Will have a look at that thread now, thanks, kongondo! Link to comment Share on other sites More sharing options...
kongondo Posted August 3, 2014 Share Posted August 3, 2014 (edited) Cool...let us know how it goes.. Edited August 3, 2014 by kongondo Edited for clarity...:-) Link to comment Share on other sites More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 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: So far no solution... Link to comment Share on other sites More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 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; and http://php.net/manual/en/security.php. 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 More sharing options...
kongondo Posted August 3, 2014 Share Posted August 3, 2014 Hmmm, no idea but Google points me to this (amongst others...) http://www.boonex.com/forums/topic/MAJOR-problems-after-PHP-update-PLEASE-HELP-.htm Link to comment Share on other sites More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 Yes, I found that too - I am trying to fix this and hope this will fix the installation problems... Link to comment Share on other sites More sharing options...
kongondo Posted August 3, 2014 Share Posted August 3, 2014 Btw, what are you PHP and MySQL versions...? 1 Link to comment Share on other sites More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 PHP version is 5.4.31 MySQL was 5.1 - now I have upgraded to 5.5 Link to comment Share on other sites More sharing options...
kongondo Posted August 3, 2014 Share Posted August 3, 2014 (edited) Hmmm, does this apply to you? http://share.ez.no/forums/install-configuration/cannot-load-module-pdo_mysql I've run out of ideas though...I'll let others chime in Edited August 3, 2014 by kongondo Link to comment Share on other sites More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 Thanks a lot for your help, kongondo! This looks helpful! Link to comment Share on other sites More sharing options...
doolak Posted August 3, 2014 Author Share Posted August 3, 2014 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! 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now