Page 1 of 1

Newbie Question: Using PHP in Linux

Posted: Fri Sep 05, 2003 6:25 pm
by friend_al_23
I just installed RedHat Linux. After creating a simple page with the phpinfo(); in it, how do I view it? Do I also go to http://localhost just like windows? Do I have to put the file somewhere else?

Totally newbie question. Never used Linux before.

Posted: Fri Sep 05, 2003 10:24 pm
by sigix
you place you dynamice pages in
/var/www/html/htdocs
depends which directory is declared in httpd.conf for DOCUMENT_ROOT
run apache mysql

yes http://localhost/..........

Posted: Sat Sep 06, 2003 11:28 pm
by swirlee
sigix wrote:you place you dynamice pages in
/var/www/html/htdocs


Often this is in ~/public_html/ instead, such that each user can have their own space.