PHP not connecting to MySQL while installing PostNuke

Kimball Larsen yellowdog-general@lists.terrasoftsolutions.com
Fri Jun 28 07:36:02 2002


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 =3D /usr/lib/php4
>
> And
>
> extension =3D mysql.so
>
> I then restarted httpd.
>
> During the PostNuke install (done through PHP web pages) I get this err=
or:
>
> 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=
=2E
> Any ideas?
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general