php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thommen at inf dot ethz dot ch
New email:
PHP Version: OS:

 

 [2002-01-16 13:26 UTC] thommen at inf dot ethz dot 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
----------

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-16 13:40 UTC] hholzgra@php.net
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 http://www.inf.ethz.ch/~thommen/external/php/phpinfo.html.

frank
 [2002-06-16 08:16 UTC] sander@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC