Apache ADVX & PHP w/ MySQL
I just installed Mandrake 10.1 Community, it went just fine.
Except that when connecting to my site I get this : Fatal error: Call to undefined function: mysql_connect() in /home/jean-michel/www/html/mymtm/install.php on line 26 I browsed thru available docs that says that Apache ADVX is Apache w/ PHP & MySQL. Except that MySQL is statically integrated in Apache & not using DSO. I installed MySQL-Administrator and it looks like MySQL is up and well How do I get PHP to recognise MySQL ? I am a newbie and don't feel like recompiling with different options |
Did you install Apache and PHP from source or via RPM? If the latter, you'll need to install the php-mysql RPM, but iof the former, you'll need to recompile PHP with MySQL support.
|
It has been installed during the Mandrake 10.1 distrib installation. So I believe that it is an RPM. More precisely the RPM for Apache ADVX that is an integrated Apache with PHP and MySQL.
See http://www.advx.org/ I feel extremely nervous at the idea of having to reinstall it ! I have a very limited knowledge of Linux |
Ok I just found the answer, thru whats displayed by phpinfo :
Extensions listed here are (or will be soon) available as external modules. To install one or all of these, use "urpmi" php-EXTENSION_NAME So I downloaded & installed php-mysql*.rpm And this problem IS SOLVED ! ! ! Thanks anyway to all for trying to help. |
All times are GMT -5. The time now is 05:16 AM. |