php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2396 MySQL commands not accepted
Submitted: 1999-09-28 10:14 UTC Modified: 1999-09-28 10:32 UTC
From: janwillem at emerald dot nl Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.12 OS: Win98
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: janwillem at emerald dot nl
New email:
PHP Version: OS:

 

 [1999-09-28 10:14 UTC] janwillem at emerald dot nl
best person, if I use a HTML file like this :

<?

Include("db.php");
 	
?><html>
<? 
	$temp = mysql_pconnect("DynaSys");
	echo $temp;
?>
<HEADER>
<BODY>
</BODY>
</HEADER>
</HTML>

Then the system returns this message :

Fatal error: Call to unsupported or undefined function mysql_pconnect() in c:\apache\htdocs\sql.html on line 7

I can't get MySQL configured in Apache and Php, Php works with an MS Access Database.

Please can you help me.

Best wishes,

jan Willem Eshuis


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-28 10:32 UTC] rasmus at cvs dot php dot net
You need to enable MySQL support in your php3.ini file.  And, mysql_pconnect() doesn't make any sense
on a Windows platform anyway.  You can't get persistent connections from the CGI version of PHP and
for PHP 3, you are stuck using the CGI version on Windows.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC