From: Matthew G. <gr...@mu...> - 2005-04-25 13:13:45
|
Sounds like a version conflict between the PHP mySQL library you're and the version of the mySQL server you're using. For example php_mysql compiled for mysql < 4.0 and your running mysql > 4.0 On Sun, 2005-04-24 at 23:47 -0400, Paul Trevithick wrote: > As per my earlier post, I've been just told that phpESP doesn't support > PHP5. > > I've installed PHP4. I also turned on the DEBUG option in phpESP.ini.php > file. I now get: > > > > HTTP 503 Service Unavailable > > [Connection to database failed. Please check configuration. ] > > [1251: Client does not support authentication protocol requested by server; > consider upgrading MySQL client] > > > > Huh? > > > > BTW, when I ran phpESP/admin/test.php I get what looks like good stuff: > > > > PHP Information > > Version: 4.3.11 > > OS: WINNT > > SAPI: apache2handler > > register_globals: No > > magic_quotes_gpc: No > > magic_quotes_runtime: No > > safe_mode: No > > open_basedir: > > > > PHP Extensions > > dBase: No > > GD: No > > GNU Gettext: No > > LDAP: No > > MySQL: Yes > > PHP Extension Dir (compiled): c:\php4 > > PHP Extension Dir (run time): ./ > > > > phpESP Settings > > Expected ESP_BASE: C:\Program Files\Apache Group\Apache2\htdocs\phpESP/ > > Expected base_url: localhost/phpesp/ > > Loading phpESP.ini.php ... > > > > ESP_BASE: C:\Program Files\Apache Group\Apache2\htdocs\phpESP/ > > base_url: http://localhost/phpESP/ > > Version: 1.7.2 > > Debug: Yes > > > > phpESP Language Settings > > GNU Gettext: Emulated > > default_lang: en_US > > current lang: en_US > > available langs: da_DK, de_DE, el_GR, en_US, es_ES, fi, fi_FI, fr_FR, hu_HU, > it_IT, ja_JP, nl_NL, pt_BR, pt_PT, sv_SE > > (da, de, el, en, es, fi, fr, it, ja, nl, pt, sv) > > GNU Gettext test: %%%% Gettext Test Failed > > Catalog Open Test: Yes > > > > PHP Session Test > > session.save_path: > > Counter: 1 > > > > Although when I look in my Apache2 error log I see this: > > > > [Sun Apr 24 23:11:33 2005] [notice] Apache/2.0.53 (Win32) PHP/4.3.11 > configured -- resuming normal operations > > [Sun Apr 24 23:11:33 2005] [notice] Server built: Feb 10 2005 06:11:34 > > [Sun Apr 24 23:11:33 2005] [notice] Parent: Created child process 4088 > > [Sun Apr 24 23:11:33 2005] [notice] Child 4088: Child process is running > > [Sun Apr 24 23:11:34 2005] [notice] Child 4088: Acquired the start mutex. > > [Sun Apr 24 23:11:34 2005] [notice] Child 4088: Starting 250 worker threads. > > [client 127.0.0.1] PHP Notice: Undefined variable: ESPCONFIG in > C:\\Program Files\\Apache Group\\Apache2\\htdocs\\phpESP\\admin\\test.php on > line 121 > > [Sun Apr 24 23:12:08 2005] [notice] Parent: Received shutdown signal -- > Shutting down the server. -- mcg ------------------------------------- The IT Lab (http://www.itlab.musc.edu) |