php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11029 mysql_connect doesn't work
Submitted: 2001-05-22 15:32 UTC Modified: 2001-05-22 20:01 UTC
From: sconst at k dot ro Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.0.4pl1 OS: Linux
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sconst at k dot ro
New email:
PHP Version: OS:

 

 [2001-05-22 15:32 UTC] sconst at k dot ro
<?php
echo "Test";
$conn=mysql_connect("localhost","root","pa")
   or die("df");
...
?>
it works if I executed but if I use libphp4 it said that mysql_connect is undefined function

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-22 15:41 UTC] derick@php.net
If it gives you an undefined function, you don't have a PHP version with MySQL support.
This looks strange as every PHP has support for MySQl. Can you post an url to your phpinfo() output?
And where did you get PHP from?

Derick
 [2001-05-22 20:01 UTC] sniper@php.net
There's is not bug in PHP regarding this. 
For install/configure support please email to this mailing list:

php-install@lists.php.net

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 23:01:30 2024 UTC