From: James E. F. <jf...@ac...> - 2002-01-23 21:34:53
|
Well, I can't really check much for you. That error is probably caused by one of 5 reasons: 1) The host/username/password in phpESP.ini is wrong. 2) The username in phpESP.ini is not allowed to connect to the mysql server from the webserver. 3) The database name is wrong, or the user cannot connect to that database. 4) The mysql socket is wrong (see phpinfo() page). 5) Mysql is not running. If you can't figure it out, add the statement: echo(mysql_error()); before line 155 of the phpESP.ini. In future version of phpESP the mysql_error() will be automatically echo'd if DEBUG is set to true in the phpESP.ini. -James On Wed, 23 Jan 2002, Brett Simpson wrote: > Hello, > > I'm getting > > HTTP 503 Service Unavailable > [ Connection to database failed. Please check configuration. ] > > in my web browser when I try to access the manage.php > file.Previous to this I was getting the blank page > problem until I compiled php 4.1.1 with mysql support. > You can view the system details at > http://207.156.7.125/test.php and the symlinkto > manage.php is at http://207.156.7.125/phpESP/manage.php > Mysql is running. > > I'm running > Redhat 7.2 with all updates. > Apache 1.3.22-2 from rpm. > php 4.1.1 from source (I did have php 4.0.6-7 via rpm but overwrote it with 4.1.1 from source because I was getting the blank page.) > phpESP is installed in /usr/local/lib/php/contrib/phpESP > mysql 3.23.41-1 with a phpeasy account with full rights to the phpeasy database. (I was able to import the sql file ok.) > phpESP 1.3 stable > > > Brett |