PHP not connecting to MySQL while installing PostNuke

Marcelo Pena yellowdog-general@lists.terrasoftsolutions.com
Sat Jun 29 02:20:00 2002


Yes, I restarted Apache, and even the whole computer. Still didn't work.

M

On 28/6/02 11:34 PM, "Kimball Larsen" <quangdog@mac.com> wrote:

> after you added those lines to your php.ini file, did you restart apache?
> 
> sudo apachectl restart
> 
> -Kimball Larsen
> 
> On Thursday 27 June 2002 09:32, Marcelo Pena wrote:
>> Hi
>> 
>> I've installed a fresh install of Yeoow Dog Linux 2.2 and I'm trying to
>> install PostNuke on it. Apache and PHP seem to be working OK. I've been
>> through the list archives and added this to /etc/php.ini
>> 
>> extension_dir = /usr/lib/php4
>> 
>> And
>> 
>> extension = mysql.so
>> 
>> I then restarted httpd.
>> 
>> During the PostNuke install (done through PHP web pages) I get this error:
>> 
>> Fatal error: Call to undefined function: mysql_pconnect() in
>> /var/www/html/pn_714/html/install/newinstall.php on line 36
>> 
>> Line 36 of the file quoted above looks like this:
>>         mysql_pconnect($dbhost, $dbuname, $dbpass);
>> 
>> I don't know enough to know if this is a PHP problem or a MySQL problem.
>> Any ideas?