Setting up MySQL

Discussion in 'Install/Configuration' started by .Bob, Jul 31, 2008.

  1. .Bob

    .Bob New Member

    I have compiled PHP 5, with default flags inside the web admin interface, but none of my sites are able to connect to there database. Also, when I try to access phpmyadmin it says "#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)". Im guessing the MySQL's server's socket is not correctly configured then since my server is responding normally.



    Also, I compiled PHP 5, but when I look at a php info file it says im running php 4?




    Regards,
    Bob
  2. mistwang

    mistwang LiteSpeed Staff

    You need to login to LSWS web console, and change the server level script handler configuration for "php" from "lsphp4" to "lsphp5".
  3. .Bob

    .Bob New Member

    Thanks, that worked.

Share This Page