Re: Error with PHP: undefined function: mysql_connect()

2005-11-28 Thread Ciprian Constantinescu
This solution is valid, but not advisable. If you run your server in a production environment, you shouldn't allow the dl function, as your users could activate any extension > Or better, add that extension runtime because otherwise it will just consume > computer resources, and maybe not every PH

Re: Error with PHP: undefined function: mysql_connect()

2005-11-28 Thread Octavian Rasnita
From: "Ciprian Constantinescu" <[EMAIL PROTECTED]> > In PHP 4.1 you have to include the mysql.so extension. To do so, you have to > modify php.ini, extensions section > Or better, add that extension runtime because otherwise it will just consume computer resources, and maybe not every PHP program

Re: Error with PHP: undefined function: mysql_connect()

2005-11-28 Thread Ciprian Constantinescu
In PHP 4.1 you have to include the mysql.so extension. To do so, you have to modify php.ini, extensions section "sheeri kritzer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Sounds like the binary you used did not have PHP compiled with the MySQL libraries. If you make a phpinfo()

Re: Error with PHP: undefined function: mysql_connect()

2005-11-28 Thread sheeri kritzer
Sounds like the binary you used did not have PHP compiled with the MySQL libraries. If you make a phpinfo() page, does the "Configure Command" section show a --with-mysql parameter? -Sheeri On 11/24/05, Sanjay Arora <[EMAIL PROTECTED]> wrote: > Please help. Newbie running Centos 4.2 with mySQL &

Re: Error with PHP: undefined function: mysql_connect()

2005-11-24 Thread Gleb Paharenko
Hello. >From my experience on RH based systems you should install appropriative rpm (it is php-mysql-5.0.4-10.4 in Fedora, for example). Sanjay Arora wrote: > Please help. Newbie running Centos 4.2 with mySQL & PHP (binary RPM > install) as per versions given below. Getting error in ve

Error with PHP: undefined function: mysql_connect()

2005-11-24 Thread Sanjay Arora
Please help. Newbie running Centos 4.2 with mySQL & PHP (binary RPM install) as per versions given below. Getting error in vegadns package (DJB TinyDNS GUI) : Fatal error: Call to undefined function: mysql_connect() in /home.www/html/vegadns/src/connect.php Some diagnostics I ran for info on vers