Chandos
02-29-2004, 06:40 PM
Hi All,
I am attempting to setup lotgd 0.9.7 on Windows 2000 standalone.
I have MySQL/Apache/MyODBC setup with PHP and working OK.
I have imported LOTGD tables fine.
When i try and access index.php I can see odbc connections to the database with supplied login/pwd in dbconnect.php, but it hangs for a while and comes up with:
Warning: mysql_pconnect(): Lost connection to MySQL server during query in C:\web\dbwrapper.php on line 82
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\web\dbwrapper.php on line 54
I have tried Apached 1.3.29 & 2.0.48, MySQL 4.0.18, MyODBC 3.51. PHP 4.3.3 & 4.3.4.
httpd.conf changes:
ServerRoot "C:/Program Files/Apache Group/Apache"
DocumentRoot "C:/web"
<Directory "C:/web">
ScriptAlias /php/ "c:/php/"
Action application/x-httpd-php "/php/php.exe"
AddType application/x-httpd-php .php
php.ini changes:
register_globals = On
doc_root = "C:/web"
extension_dir = "C:/php/extensions"
Any thoughts greatly appreciated.
-C-
I am attempting to setup lotgd 0.9.7 on Windows 2000 standalone.
I have MySQL/Apache/MyODBC setup with PHP and working OK.
I have imported LOTGD tables fine.
When i try and access index.php I can see odbc connections to the database with supplied login/pwd in dbconnect.php, but it hangs for a while and comes up with:
Warning: mysql_pconnect(): Lost connection to MySQL server during query in C:\web\dbwrapper.php on line 82
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\web\dbwrapper.php on line 54
I have tried Apached 1.3.29 & 2.0.48, MySQL 4.0.18, MyODBC 3.51. PHP 4.3.3 & 4.3.4.
httpd.conf changes:
ServerRoot "C:/Program Files/Apache Group/Apache"
DocumentRoot "C:/web"
<Directory "C:/web">
ScriptAlias /php/ "c:/php/"
Action application/x-httpd-php "/php/php.exe"
AddType application/x-httpd-php .php
php.ini changes:
register_globals = On
doc_root = "C:/web"
extension_dir = "C:/php/extensions"
Any thoughts greatly appreciated.
-C-