Re: Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6
| From: | Justin Patrin | Date: | Thu, 12 Aug 2004 19:59:44 +0000 |
| Subject: | Re: Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193636@lists.php.net to get a copy of this message | ||
On Thu, 12 Aug 2004 15:38:45 -0400, Eric L. Sammons <esammons@vt.edu> wrote:
> I have done phpinfo and I see --with-mysql=shared,/usr
>
That doesn't really matter. Is there a mysql section in the phpinfo()?
It should have information similar to this:
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 4.0.15a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql//include/mysql
MYSQL_LIBS -L/usr/local/mysql//lib/mysql -lmysqlclient
If not, the mysql extension isn't being registered.
> >===== Original Message From Jay Blanchard
> <jay.blanchard@niicommunications.com> =====
>
>
> >[snip]
> >did this, all answers came back stating to install php-mysql package.
> >Already
> >have that installed. Some have stated they recompiled php, I really
> >would
> >like to avoid doing that so I don't affect my Red Hat support
> >agreements.
> >[/snip]
> >
> >have you done phpinfo() to see if it really compiled?
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--