• Our host updated our servers to php 5.3 – and it’s destroyed our sites, we can manually move our servers back to php 5.2 which brings back our sites, but then they are vulnerable to being hacked (and have been hacked on php 5.2).

    Does anyone have any quick fixes for making wordpress compatible on php 5.3 or know which plugins could be causing issues?

    Jolyn

Viewing 4 replies - 1 through 4 (of 4 total)
  • To discover which ones are, use an FTP tool such as Filezilla or your host provided file manager and rename each plugin and theme folder (make sure an unedited version of the default theme is included) to old-foldername, then run the site…if site runs, rename them back one at a time to find offending plugin or theme (note: or combo of both)

    If using a custom php5.ini file, review it.

    Thread Starter Josaram

    (@josaram)

    Thanks, but I’ve removed all plugins, removed theme and went to one of the default wordpress themes – and I’m still getting the ‘error connecting to database’ – if I drop my server back to php 5.2 the site works just fine, but if I move the server back to php 5.3, I get the ‘error connecting to database’ message again.

    My wp-config.php file is correct, I’ve redone the password for the database user and still can’t get it to work.

    Anyone have any other ideas or in a similar boat?

    To check your php version and settings, upload a file named phpinfo.php5 to the host account root that includes just this one line (create in plain text editor, wordwrap off, saveas UTF-8 with no BOM):

    <? phpinfo(); ?>

    Then, navigate to it with your (modern) browser

    //mysite.com/phpinfo.php5

    or

    your root site ip address/phpinfo.php5

    Also, ask your host if they require a php5.ini file when 5.3 is used or additional lines in .htaccess, or if you have to restart your web or wait a bit (prob have to)..this seems like a host issue.

    Quick additional note, you may need to name the above file with just the .php extension (not .php5)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to get sites to work with php 5.3??’ is closed to new replies.