By lar8856 on
I have both php5.2 and apache 2.0.59 working fiine on XP pro. I load the <? phpinfo(); ?> but it loads a blank web page. I'm not seeing the php info page. I'm stuck!
I have both php5.2 and apache 2.0.59 working fiine on XP pro. I load the <? phpinfo(); ?> but it loads a blank web page. I'm not seeing the php info page. I'm stuck!
Comments
Sounds like you don't have
Sounds like you don't have both php 5.2 and apache running fine, check your error logs. If you don't have error logs check your php.ini to make sure you have error reporting setup properly.
PHP Short_open_tag
Hi,
maybe it's just the "short_open_tag = On/Off" option. You will find this language option around line 128 in your php.ini file.
If "short_open_tag" is off <? phpinfo() ?> short open tags "<?" will not work and so the script does not work. There are two ways to solve this problem.
1. Switch the "short_open_tag" option "on"
2. Change your phpinfo script to
For the records, here is a note on short_open_tag from the php.ini:
So I quess it's better coding style to change your script. :)
With best regards
Mike