Re: Blank page with Apache and PHP running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx







---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux