This is a discussion on Apache 2.0.47 & PHP 4.3.4 within the Apache Web Server forums, part of the Web Server and Related Forums category; Hey All, I need a bit of help with getting these two to work together ... Im using Gentoo 2.4....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hey All,
I need a bit of help with getting these two to work together ... Im using Gentoo 2.4.20, I have just emerged Apache 2.0.47 and PHP 4.3.4 ... When i start the apache2 daemon everything is fine ... Except when i put a *.php file into /home/httpd/htdocs it just brings up the code ... Instead of displaying the actual site. I have read heaps of text that tell me to edit the httpd.conf file .. But when i search for httpd.conf i get /usr/portage/net-www/apache/files/2.0.40/httpd.conf /usr/portage/net-www/mini_httpd/files/mini_httpd.conf.sample /usr/portage/net-www/mini_httpd/files/mini_httpd.conf.sample-1.19 /usr/portage/net-www/mini_httpd/files/mini_httpd.confd /usr/portage/net-www/mini_httpd/files/mini_httpd.confd-1.19 None of which are actually loaded ... Apparently /etc/apache2/conf/apache2.conf is the file im ment to edit ... But im not sure what im ment to do :S Any help would be much appreciated. Peace |
|
|||
|
Den Tue, 06 Apr 2004 21:17:49 +1000. skrev North Shore Internet:
> Hey All, > > I need a bit of help with getting these two to work together ... Im using > Gentoo 2.4.20, I have just emerged Apache 2.0.47 and PHP 4.3.4 ... When i > start the apache2 daemon everything is fine ... Except when i put a *.php > file into /home/httpd/htdocs it just brings up the code ... Instead of <snip> try this link http://dan.drydog.com/apache2php.html |