how to link httpd and php
Posted: Tue Apr 21, 2009 12:28 pm
hi friends
i am a new new new person in PHP language.
Couple of days back my .friend taught me how to config the php with httpd(Apache)
i am working on RHEL 5.1 and
my PHP is php 5.1.6-5.el5
and httpd 2.2.3-6.el5
what he did he just installed the rpms.
after that.
He created a file in /root named test.php
and write this coding
<?php
phpinfo ();
?>
and he opened this page in firefox and this page opened showing the database of PHP
i tried the same thing
but getting errors
like
page not found
what the reason behind it
i know its a stupid question still please answer it
i have restarted the httpd services too.
i am a new new new person in PHP language.
Couple of days back my .friend taught me how to config the php with httpd(Apache)
i am working on RHEL 5.1 and
my PHP is php 5.1.6-5.el5
and httpd 2.2.3-6.el5
what he did he just installed the rpms.
after that.
He created a file in /root named test.php
and write this coding
<?php
phpinfo ();
?>
and he opened this page in firefox and this page opened showing the database of PHP
i tried the same thing
but getting errors
like
page not found
what the reason behind it
i know its a stupid question still please answer it
i have restarted the httpd services too.