PHP 5.4.7 and Apache 2.2 Trouble under Windows XP

Posted by IssamTP on Server Fault See other posts from Server Fault or by IssamTP
Published on 2012-09-22T07:21:39Z Indexed on 2012/09/22 9:39 UTC
Read the original article Hit count: 236

Filed under:
|

I'm trying to setup a test enviroment on a virtual machine running Windows XP Home (totally updated), with Apache 2.2 and PHP 5.4.7.

I can load the PHP 5 module inside httpd.conf and if I don't rename php.ini-DEVELOPMENT (or -PRODUCTION) file to php.ini, the engine works fine.

This basic configuration doesn't have MySQL module loaded, so I have to rename rename the .ini-DEVELOPMENT into .ini and edit as follows:

; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
extension_dir = "C:/php/ext/"
...
extension=php_mysql.dll
extension=php_mysqli.dll

Restart Apache with no problems and... all I can get is a blank page. Where can I see some error or do you know where is the trouble?

Tell me if I need to post something else to give you more details.

© Server Fault or respective owner

Related posts about apache2

Related posts about php5