php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24190 Fatal error: Call to undefined function: mysql_pconnect()
Submitted: 2003-06-15 08:47 UTC Modified: 2003-06-15 09:36 UTC
From: oishyasan at netscape dot net Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.3.2 OS: RedHat Linux 7.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: oishyasan at netscape dot net
New email:
PHP Version: OS:

 

 [2003-06-15 08:47 UTC] oishyasan at netscape dot net
Description:
------------
Hi, I had problems with base dirs issues in the previous php version, so I upgraded. So far, that seems to have been sorted out nicely. But, I can't use my apps as a new problem exists with all my apps - Fatal error: Call to undefined function: mysql_pconnect().

I have checked EVERYWHERE about this - I have tried the latest mysql, but no change. I thought it may be the config in my php - but as you can see from the phpinfo address attached, it "appears" to include mysql - however I did see in the ./configure stage that it didn't pick up on the socket location.

http://www.salubriousvision.com/info.php

You can see the error at this page - which worked fine until this version was installed.

http://www.dreamcounselling.com/Default.php

I have installed the php-mysql rpms that as provided by RedHat

Reproduce code:
---------------
Fatal error: Call to undefined function: mysql_pconnect() 

Expected result:
----------------
I expected the code to connect to the mysql DB as per normal.

Actual result:
--------------
Can not access mysql with any code -connect or pconnect

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-15 09:36 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You compiled mysql as a shared extension, but you didn't load it. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 14:01:28 2024 UTC