Page 1 of 1

Newbie needs help to start up

Posted: Thu May 22, 2003 8:58 am
by jessicatran
Hi, I'm a totally newbie to PHP, I follow installation steps from "Sams Teach Yourself PHP, MySQL, and Apache" and I got stuck at the very first php test: (:cry: )
When I try to run the phpinfo.php file:

<?php phpinfo(); ?>

on web browser:
http://localhost/phpinfo.php
it returns the page error:
"The page cannot be found..."

although http://localhost/ shows Apache installation success and I did put the .php file in htdocs dir.
What should I do? Any help or guide to previous posts that have similar issue is most appreciated. I'm exhausted searching the right one. Thanks alot.

Posted: Thu May 22, 2003 7:38 pm
by jessicatran
Oh never mind. When I copy one .php file from the examples folder, it shows the result. :) .
So my problem is I don't know how to save a file as a .php file even though I try to make its tag contain .php.
How can I have an option to make a file as a .php file? Is there any php editor?
Thanks for any help.

Posted: Thu May 22, 2003 8:57 pm
by Eugene
Under win you could use phpEdit at http://www.phpedit.net

dont know about linux

Posted: Fri May 23, 2003 2:10 am
by twigletmac
There's lots of PHP editors:
viewtopic.php?t=6288

Mac