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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 01:01:30 2024 UTC