Take the 2-minute tour ×

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/"

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.

share|improve this question
add comment

1 Answer

To figure out what is problem search for error_reporting and display_errors config directives in your php.ini file.

error_reporting  =  E_ALL

; server, your database schema or other information.
display_errors = On

; sequence are not displayed.  It's strongly recommended to keep
; display_startup_errors off, except for when debugging.
display_startup_errors = On

; error displaying on production web sites.
log_errors = On

Also please check apache log files.

share|improve this answer
add comment

Your Answer


