Hi everyone
I've been trying for the pas two days to figure out the error I get during installation
NO DATABASE MADE. Fatal error: Call to undefined function mysql_connect() in /var/www/includes/classes/adodb/drivers/adodb-mysql.inc.php on line 359
This occurs after I have entered the database information needed to connect to the database (step 60%).
First off, I do have MySQL and PHP5 installed. I was able to successfully create and connect to the database using both a linux client and phpMyAdmin.
I've checked my php.ini file to ensure that the globals were off, according to other posts regarding the error.
I have searched many other posts, but a lot of them pertain to the Windows platform. A few other websites suggested a manual installation, but it does not seem that a manual install would fix my situation.
Can anyone offer any advice. Any help would be appreciated.
Login
Donate to Zikula
Installation, Configuration, & Upgrades
::
Fatal Error-New Install-Ubuntu Linux
-
-
Do you have mysql support enabled in PHP?
--
David Pahl
Zikula Support Team -
-
Sorry people, I should have stated in my previous post that I checked permissions. As for the enabling of mysql in PHP, all of the text that I searched for pertaining to this issue dealt with PHP4. From what I understand with PHP5, it is enabled by default. I do have 3 php.ini in the /etc/php5 directory and I did check all three. I should note that nowhere did it state exactly "mysql=on"
/etc/php5/apache2
/etc/php5/cgi/
/etc/php5/cli
Now, after reading your posts, I did go ahead and check again and the config files do have the write permissions
Thanks for your replies....appreciated -
-
PHP:MySQL Functions-Manual
Installation on Linux Systems
...
PHP 5+
MySQL is not enabled by default, nor is the MySQL library bundled with PHP. Read this FAQ for details on why. Use the --with-mysql[=DIR] configure option to include MySQL support. You can download headers and libraries from MySQL.
http://www.php.net/mysql
--
David Pahl
Zikula Support Team -
Thanks for all of your replies. It's been a few days finding a solution and believe me, I did some searching to find a solution once you guys told me that MySQL is not enabled by default.
After researching some Ubuntu fourms, I found the quick solution to all my problems was to reconfigure my PHP configuration using
" sudo dpkg-reconfigure php5-mysql "
I hope this helps others in their quest to get their PostNuke running
http://www.Fuckya.Ca
