Just to check the obvious
A: You have restarted Apache?
B: Where did you store phpinfo.php?
C: You have set "short_open_tag = On" in php.ini?
/Johan
Michael wrote:
>
> Please help
>
> I am having some serious problems. I have used a text editor to write the
> following code and saved it with a .php extension
>
> <? phpinfo(); ?>
>
> I saved this in the htdocs directory.
>
> I then went into my IE5 browser and typed http://localhost/phpinfo.php
>
> What I saw was the above code in my browser <? phpinfo() ; ?>
>
> I also viewed the source and saw the following <? phpinfo() ; ?>
>
> My httpd.conf file has been changed in the following places
>
> ServerAdmin [EMAIL PROTECTED]
> ServerName localhost
> ScriptAlias /php4/ "C:/php4/"
> AddType application/x-httpd-php .phtml .php
> AddType application/x-httpd-php-source .phps
> Action application/x-httpd-php /php4/php.exe
>
> php4 is in my c drive and I know this to be the correct path
>
> I have not listed all the httpd.conf file as nothing else was changed.
>
> All the text files have been saved as .php I renamed the php.ini-dst to
> php.ini and moved this file to the C:\Windows directory where my .ini files
> reside and I then put the php4ts.dll in my c:\windows\system\ directory. I
> did not move the msvcrt.dll file over as I already had a copy of it there.
>
> Maybe by looking at what I have typed in you will find an error somewhere.
>
> Regards
>
> Krysia
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]