#47338 [NoF->Bgs]: connect mysql when using apache sucks..
ID: 47338
Updated by: johannes@php.net
Reported By: weimade at yahoo dot com dot cn
-Status: No Feedback
+Status: Bogus
Bug Type: Apache2 related
Operating System: window xp sp3
PHP Version: 5.2CVS-2009-02-08 (CVS)
Assigned To: pajoye
New Comment:
User error -> closing bug
Previous Comments:
------------------------------------------------------------------------
[2009-02-16 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-02-09 11:41:59] weimade at yahoo dot com dot cn
i fixed it...
it was all my fault.the database file encounter an error..
so when do an query..it is broken down..
my mistake so.so..sorry
------------------------------------------------------------------------
[2009-02-08 14:33:53] pajoye@php.net
I suppose you have installed mysql 5.1 as well?
------------------------------------------------------------------------
[2009-02-08 14:27:07] weimade at yahoo dot com dot cn
iam sorry,i made a mistake..
Expected result:
----------------
nothing;just a blank page..
Actual result:
--------------
Connected successfully
change to
Expected result:
----------------
Connected successfully
Actual result:
--------------
nothing;just a blank page..
------------------------------------------------------------------------
[2009-02-08 14:25:04] weimade at yahoo dot com dot cn
Description:
------------
apache_2.2.11-win32-x86-no_ssl.msi
php-5.2.8-win32-installer.msi
when i use them to build the lamp..
s.php is
is run ok by php s.php
but it broken down when i request http://site/s.php
Reproduce code:
---------------
<?php
$link = mysql_connect('localhost', 'root', 'chenwei');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
Expected result:
----------------
nothing;just a blank page..
Actual result:
--------------
Connected successfully
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47338&edit=1
Thread (5 messages)