By duderino-1 on
if i go to mung.net/drupal I get this error:
Fatal error: Call to undefined function: mysql_connect() in /usr/share/drupal/includes/database.mysql.inc on line 12
I am using debian.
my phpinfo can be seen at http://mung.net/~dude/index.php
I am using debian and have set up the database using the autoconfiguration so I am not sure what is going on. Thanks for the help
Comments
search
and you will find. this has been asked and answered many times.
PROBLEM SOVLED
I PUT THIS FOR FURTHER HELP IN THE FUTURE
After drupal is install, you need to edit
/etc/php4/apache/php.ini
and uncomment the line
FROM THIS
;extension=mysql.so
TO THIS
extension=mysql.so
php as cgi
I actually had to change my php.ini for php running as cgi, too, to get my cron to work...maybe if php4-cgi isn't installed at all you won't have to, i don't know. I'm not sure if php4-cgi is a dependency of drupal, look it up or something. anyway:
the file (in debian, anyway) is at
/etc/php4/cgi/php.ini