Bug #15073: Call to unsupported or undefined function mysql_pconnect
| From: | thommen at inf dot ethz dot ch | Date: | Wed, 16 Jan 2002 18:26:41 +0000 |
| Subject: | Bug #15073: Call to unsupported or undefined function mysql_pconnect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77281@lists.php.net to get a copy of this message | ||
From: thommen@inf.ethz.ch
Operating system: Solaris 2.6.1
PHP version: 4.0CVS-2002-01-16
PHP Bug Type: MySQL related
Bug description: Call to unsupported or undefined function mysql_pconnect
This concerns PHP 3.0.14, please continue to read nevertheless...
Hello,
since we currently cannot use PHP 4 (see Bug 15072), we have to work with
next newest version available to us: PHP 3.0.14.
PHP scripts are not executed:
---------------------
# /pub/php/3.0.14/bin help.php
X-Powered-By: PHP/3.0.14
Content-type: text/html
<br>
<b>Fatal error</b>: Call to unsupported or undefined function
mysql_pconnect() in <b>mysql.inc</b> on line <b>204</b><br>
#
According to online manual
(http://www.php.net/manual/en/function.mysql-pconnect.php) this command
should be supported for PHP <= 3.0.18.
PHP IS compiled with MySQL support and "Allow persistent links" is "yes"
accoring to phpinfo.php
PHP configuration:
-------------
./configure --with-apxs=/pub/apache/1.3.11-nosuexec/bin/apxs
--with-config-file-path=/pub/apache/1.3.11-nosuexec/etc
--with-zlib=/pub/zlib/1.1.1
--with-pgsql=/pub/postgresql/7.0.2
--with-mysql=/pub/mysql/3.22.32
There is no php.ini.
Server info (uname -a):
----------------
SunOS XXXX 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-4
Any help is great;y appreciated
Frank Thommen
----------
Frank Thommen, IT Support Group, D-INFK, ETH Zuerich
E-Mail: thommen@inf.ethz.ch; Tel: +41-1-63 27208 (Mon-Thu)
Web: http://www.isg.inf.ethz.ch
----------
--
Edit bug report at: http://bugs.php.net/?id=15073&edit=1