#37952 [Opn->Bgs]: MySQL Extension not working with php5apache2.dll
| From: | tony2001@php.net | Date: | Wed, 28 Jun 2006 22:02:46 +0000 |
| Subject: | #37952 [Opn->Bgs]: MySQL Extension not working with php5apache2.dll | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98923@lists.php.net to get a copy of this message | ||
ID: 37952
Updated by: tony2001@php.net
Reported By: matt at criticalcode dot com
-Status: Open
+Status: Bogus
Bug Type: Apache2 related
Operating System: Windows XP Build 2600
PHP Version: 5CVS-2006-06-28 (snap)
New Comment:
http://php.net/mysql
"MySQL is no longer enabled by default, so the php_mysql.dll DLL must
be enabled inside of php.ini. Also, PHP needs access to the MySQL
client library. A file named libmysql.dll is included in the Windows
PHP distribution and in order for PHP to talk to MySQL this file needs
to be available to the Windows systems PATH. See the FAQ titled "How do
I add my PHP directory to the PATH on Windows" for information on how to
do this. Although copying libmysql.dll to the Windows system directory
also works (because the system directory is by default in the system's
PATH), it's not recommended."
Previous Comments:
------------------------------------------------------------------------
[2006-06-28 21:25:35] matt at criticalcode dot com
Description:
------------
Install Apache 2.0.58 >
Unpack and put php5.2.0-dev snap into c:/php
Follow install instructions on php.net/install
Using php5apache2.dll, I can see the php.ini path in Apache is
c:\WINDOWS, I rename php.ini-recommended, restart apache2, server will
not process php files.
Use php.ini-dist, PHP as CGI (see install guide), everythign works
fine. So basically, you cannot use MySQL and php5apache2.dll together.
I tested all the variances of thise setup. But I'm keeping it short
here. Also tested on Apache 2.0.55 - same results
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37952&edit=1