Re:Installation of PHP and Apache in RedHat 7.0
| From: | Sami Kristeri Maisniemi | Date: | Tue, 06 Feb 2001 10:58:24 +0000 |
| Subject: | Re:Installation of PHP and Apache in RedHat 7.0 | ||
| References: | 1 | Groups: | php.general php.install |
| Request: | Send a blank email to php-general+get-38370@lists.php.net to get a copy of this message | ||
On Mon, 5 Feb 2001, John Hinsley wrote:
> you need to put the php scripts (as something.php) in your doc root
> (probably /usr/local/httpd/htdocs) and call them by
> http://localhost/something.php.
That is also quite weird, but I am not able to locate directory
'/usr/local/httpd/htdocs'. Actually there is no directory called 'htdocs'
at all in my computer. It seems that RedHat 7.0 uses a little bit
different method.
> If this doesn't work, take a peek at your Apache documentation and check
> out your /etc/httpd/httpd.conf file.
Good point. Maybe I can locate the root directory from the configuration
file.
> It might help to do a diff between the one you have and mine (attached)
> to look for any references to php which you don't have.
I try, thanks for advices.
Regards, Sami
-------------------------------------------------------------------------
Sami Maisniemi tel: +358 9 4580 854
Helsinki University of Technology mobile: +358 40 7499 088
Department of Electrical and email: smaisnie@cc.hut.fi
Communication Engineering sami.maisniemi@nokia.com
-------------------------------------------------------------------------