On Monday 29 October 2001 20:09 pm, Body of Shadows wrote: > I installed Red Hat 7.1 (PHP included) + MySQL 3.23 and wanted > to launch PHP-Nuke to create sample web site. I got little Linux > and zero PHP/MySQL knowledge, maybe I am doing something wrong > but after 2 days of fighting I got enough. > > Install file suggests to launch page "admin.php" after the > installation on the local host,as the result I am getting error: > > Fatal error: Call to undefined function: mysql_connect() in > /var/www/html/mainfile.php on line 42
This error suggests that MySQL support for PHP has not been installed. If you used the Redhat RPMs to install PHP then install the PHP-MySQL rpm (possibly php-mysql-4.0.4pl1-9.i386.rpm). So that you won't be mislead, this error has nothing to do with PHP-Nuke. regards -- Jason Wong Gremlins Associates www.gremlins.com.hk -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]