#38954 [Opn->Bgs]: PHP cannot connect with MySQL/MySQLi
| From: | tony2001@php.net | Date: | Tue, 26 Sep 2006 07:09:11 +0000 |
| Subject: | #38954 [Opn->Bgs]: PHP cannot connect with MySQL/MySQLi | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102675@lists.php.net to get a copy of this message | ||
ID: 38954
Updated by: tony2001@php.net
Reported By: akaraethon at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: Windows Server 2003 32bit
PHP Version: 5.1.6
New Comment:
Still not PHP problem.
And I don't see any reasons to post parts of the docs here, it's not a
forum.
Previous Comments:
------------------------------------------------------------------------
[2006-09-26 01:31:44] akaraethon at gmail dot com
Ok, are you not READING what I write? In my very first post I said I
have enabled the DLL file, but PHP will not connect. so why don't we do
this, instead of just changing this to bogus (again) lets figure out
whats going on, and see if we cant come toan agreement as to the
status, if you think its bogus then tell me what to do.
------------------------------------------------------------------------
[2006-09-25 22:55:25] bjori@php.net
www.php.net/mysql
"MySQL is no longer enabled by default, so the
php_mysql.dll DLL must be enabled"...
------------------------------------------------------------------------
[2006-09-25 22:48:05] akaraethon at gmail dot com
Well then where is the problem comming from? I HAVE followed ALL the
instructions for setup on IIS and MySQL is running fine, so if this
isnt a bug then why is it happening?
------------------------------------------------------------------------
[2006-09-25 20:57:24] tony2001@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. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2006-09-25 17:46:08] akaraethon at gmail dot com
Description:
------------
I have PHP running on Win server ent. ed. 2k3, IIS is my webserver with
MySQL as my DB engine, MySQL runs fine, but for some reason PHP cannot
connect. I used the PHP.ini-Recomended file, enabled php_mysql.dll, and
set up the other basics (webserver root, etc). PHP runs fine, IIS serves
pages fine, but any attempt to connect to mysql fails with the error
"Fatal error: Call to undefined function mysql_connect() in
C:\Inetpub\wwwroot\Dragon-Radio\test.php on line 5" I have checked,
double checked, tripple checked, and done a complete erase and
reinstall of PHP and MySQL, all files are in the correct places, but
php just will not connect...
Reproduce code:
---------------
URL to page that exemplifies error http://dragon-radio.selfip.net
Expected result:
----------------
PHP should not tell me there is an error
Actual result:
--------------
Fatal error: Call to undefined function mysql_connect() in
C:\Inetpub\wwwroot\Dragon-Radio\test.php on line 5
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38954&edit=1