From: Paul T. <pa...@pa...> - 2005-04-25 03:48:09
|
As per my earlier post, I've been just told that phpESP doesn't support PHP5.=20 I've installed PHP4. I also turned on the DEBUG option in phpESP.ini.php file. I now get: =20 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] =20 Huh? =20 BTW, when I ran phpESP/admin/test.php I get what looks like good stuff: =20 PHP Information=20 Version: 4.3.11=20 OS: WINNT=20 SAPI: apache2handler=20 register_globals: No=20 magic_quotes_gpc: No=20 magic_quotes_runtime: No=20 safe_mode: No=20 open_basedir:=20 =20 PHP Extensions=20 dBase: No=20 GD: No=20 GNU Gettext: No=20 LDAP: No=20 MySQL: Yes=20 PHP Extension Dir (compiled): c:\php4=20 PHP Extension Dir (run time): ./=20 =20 phpESP Settings=20 Expected ESP_BASE: C:\Program Files\Apache Group\Apache2\htdocs\phpESP/=20 Expected base_url: localhost/phpesp/=20 Loading phpESP.ini.php ... =20 ESP_BASE: C:\Program Files\Apache Group\Apache2\htdocs\phpESP/=20 base_url: http://localhost/phpESP/=20 Version: 1.7.2=20 Debug: Yes=20 =20 phpESP Language Settings=20 GNU Gettext: Emulated=20 default_lang: en_US=20 current lang: en_US=20 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)=20 GNU Gettext test: %%%% Gettext Test Failed=20 Catalog Open Test: Yes=20 =20 PHP Session Test=20 session.save_path:=20 Counter: 1 =20 =20 Although when I look in my Apache2 error log I see this: =20 [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. . =20 =20 =20 |
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) |