If you have PHP 4.0 and Apache running in RedHat 7.0, you can propably
solve this problem immediately, but all advices are needed.

I have a beginner's problem, which is related to RedHat's unordinary way
to implemt Apache and PHP. I received detailed instructions how to install
both Apache and PHP, but the problem occurred when I tried to start Apache
and make a simple PHP script to work in my Linux computer.

First I was unable to locate 'apachectl' program to start apache. Then I
finally found from RedHat 7.0 reference guide that Apache can be started
by typing: './httpd start' which is located at '/etc/rc.d/init.d/'
directory.

The result is OK and when I type './httpd status', I receive a message
"... server is running ...".

However, my simple PHP script:

<?php
phpinfo();
?>

is not interpreted at all. Also the test cgi program of Apache is not
interpreted (I do not have any idea how that is implemented). I think
I installed PHP 4.0 and configured Apache's configuration file properly,
but is there anyway to verify that? Should I do also something else like
move the PHP script into a specified directory? How can I verify that
Apache is properly installed?

Regards, Sami

-------------------------------------------------------------------------
            Sami Maisniemi              tel:    +358 9 4580 854          
   Helsinki University of Technology    mobile: +358 40 7499 088        
     Department of Electrical and       email:  [EMAIL PROTECTED]
      Communication Engineering                 [EMAIL PROTECTED]
-------------------------------------------------------------------------



-- 
PHP General 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]

Reply via email to