Phpinfo()
Posted by: Sal (---.cust-adsl.tiscali.it)
Date: July 21, 2006 05:37PM

After installing wamp last version and during installation changing the document root to C:\Documents and Settings\Sal\Documenti\Apache htdocs, when i start localhost/phpinfp.php ( a file that contains only : <? phpinfo(); ?>winking smiley i see a blank page. Why? What can i do to fix this? Thanks

Options: ReplyQuote
Re: Phpinfo()
Posted by: CyberSpatium (67.170.181.---)
Date: July 21, 2006 06:33PM

you are using short asp style tags, change the first part of your code
<?

to
<?php

Options: ReplyQuote
Re: Phpinfo()
Posted by: tinte (---.pools.arcor-ip.net)
Date: July 25, 2006 07:17AM

I have also a problem with this simple file:
Starting localhost/phpinfo.php I just see a "The requested file was not found on this server"

Where is the document root?

I copied the phpinfo file to any folder (www, apache\bin, php,...) but i always see the same "not found page".
Can you help?



Post Edited (07-25-06 07:19)

Options: ReplyQuote
Re: Phpinfo()
Posted by: tinte (---.pools.arcor-ip.net)
Date: July 25, 2006 09:19AM

found my mistake:

the file was saved as phpinfo.php.txt. :-)
dowloaded a better editor than notepad and saved it as a php file.

Options: ReplyQuote


Sorry, only registered users may post in this forum.