|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15073 Call to unsupported or undefined function mysql_pconnect
Submitted: 2002-01-16 13:26 UTC Modified: 2002-06-16 08:16 UTC
From: thommen at inf dot ethz dot ch Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 3.0.14 OS: Solaris 2.6.1
Private report: No CVE-ID: None
 [2002-01-16 13:26 UTC] thommen at inf dot ethz dot ch
This concerns PHP 3.0.14, please continue to read nevertheless...


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

<b>Fatal error</b>:  Call to unsupported or undefined function mysql_pconnect() in <b></b> on line <b>204</b><br>

According to online manual ( 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

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:; Tel: +41-1-63 27208 (Mon-Thu)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-16 13:40 UTC]
have you checked configure output and phpinfo()
to make sure mysql support realy got compiled in?
 [2002-01-16 14:03 UTC] thommen at inf dot ethz dot ch
I have checked phpinfo and everything seems ok according to it.  There is a copy at

 [2002-06-16 08:16 UTC]
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

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.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 19:01:28 2024 UTC