[eluser]drale2k[/eluser]
Hi, i read another thread having the same problem but its not a solution for mine. I have running
Linux Debian Lenny 64Bit
Apache2 mod_fcgi, mod_rewrite
PHP5 + MYSQL
I uploaded a fresh installation of CI and all was ok. Then i set up the autoload.php with 'database' and filled up the !100% correct! connection settings.
If i remove the 'database' autolaod it works.
Now i created a file in same dir as /system/ and wrote into it:
Code:
$conn = mysql_connect('localhost','XXX','XXX');
if (!$conn) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($conn);
When i call this file i get an error:
Code:
Fatal error: Call to undefined function mysql_connect() in /var/www/virtual/md5hood.com/htdocs/a.php on line 2
I dont know what to do, i installed mysql correctly (i guess). I think its a problem that i am running PHP CGI becouse of the Hostingpanel (using CGI).
Please help if you can.