rayvd
10-08-2003, 08:29 AM
Installing phpDig on a PHP 4.3.3, Apache 2.0.47, MySQL 4.1-alpha system. Ran the admin/install.php script, but after filling out step 1, it would just go to a blank screen.
Looked into the install.php and removed the error-squelching @ signs from the mysql_ commands. Turns out mysql_create_db function is not available when PHP is built against the MySQL 4.0 or 4.1 client library (http://pl.php.net/manual/en/function.mysql-create-db.php).
I changed the line with mysql_create_db() to @mysql_query("CREATE DATABASE $dbname", $id_connect) and everything worked great.
Thought this might be helpful to some out there!
Looked into the install.php and removed the error-squelching @ signs from the mysql_ commands. Turns out mysql_create_db function is not available when PHP is built against the MySQL 4.0 or 4.1 client library (http://pl.php.net/manual/en/function.mysql-create-db.php).
I changed the line with mysql_create_db() to @mysql_query("CREATE DATABASE $dbname", $id_connect) and everything worked great.
Thought this might be helpful to some out there!