httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark McCulligh <mmccu...@visualtech.ca>
Subject Re: [users@httpd] Blank page with Apache and PHP running
Date Wed, 23 May 2007 17:28:36 GMT

> Hi!
>
> I set up my Apache 2.2.4 and PHP-5.2.2 on MS Vista. Wrote a test file 
> with just one php statement. i.e. <? phpinfo(); ?> is written in 
>   
Should be <?php phpinfo(); ?>, not <?.  <? is a short form that is no 
longer supported by default, unless you enable it in the php.ini file. 
It conflicts with xml syntax.

Also when testing your php code, make sure to enable display error 
messages in the php.ini, so you can see your php code errors.
> test.php file. Later went to my web browser and wrote 
> http://localhost/test.php and a blank page came up. It seems that my web 
> server and php engine is working cause when I start the web server I got 
> something like "Apache/2.2.4(Win32)PHP/5.2.2". Why I get a blank page 
> and not the system information that the php engine provides?
> Is anybody out there that can help me out?
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>
>   


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message