Bug #15073 Updated: Call to unsupported or undefined function mysql_pconnect
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 12:16:15 +0000 |
| Subject: | Bug #15073 Updated: Call to unsupported or undefined function mysql_pconnect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10571@lists.php.net to get a copy of this message | ||
ID: 15073
Updated by: sander@php.net
Reported By: thommen@inf.ethz.ch
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Solaris 2.6.1
PHP Version: 3.0.14
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-01-16 14:03:18] thommen@inf.ethz.ch
I have checked phpinfo and everything seems ok according to it. There
is a copy at
http://www.inf.ethz.ch/~thommen/external/php/phpinfo.html.
frank
------------------------------------------------------------------------
[2002-01-16 13:40:32] hholzgra@php.net
have you checked configure output and phpinfo()
to make sure mysql support realy got compiled in?
------------------------------------------------------------------------
[2002-01-16 13:26:40] thommen@inf.ethz.ch
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 this bug report at http://bugs.php.net/?id=15073&edit=1