Hi all,
I was wondering if someone could help me with this.
I'm on an RH9 box with Apache 2.0 installed and running. I get the default index.html page when I connect from other workstations but I'm trying to access a PHP page that I created.
I've downloaded and configured PHP 4.3.4 to be compiled with Apache but if I do an apachectl -l, I get the following:
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
So I'm assuming that PHP is still not compiled with Apache 2.0. I've made the necessary changes to my httpd.conf file and have made sure that libphp4.so is in my modules directory. I've restarted the web server but still cannot access a php file that I created and placed in my Document Root.
I think I've added the correct extensions in my Directory Index:
DirectoryIndex index.html index.html.var index.php index.php3 index.php4
but I could be wrong.
I've also added the following to my php.ini file:
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = On
doc_root = /usr/local/apache2/htdocs
extension_dir = /usr/local/apache2/modules
I don't know what I'm doing wrong here. Is it a problem with permissions when making changes to the httpd.conf file?
Thanks in advance for any advice!
I was wondering if someone could help me with this.
I'm on an RH9 box with Apache 2.0 installed and running. I get the default index.html page when I connect from other workstations but I'm trying to access a PHP page that I created.
I've downloaded and configured PHP 4.3.4 to be compiled with Apache but if I do an apachectl -l, I get the following:
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
So I'm assuming that PHP is still not compiled with Apache 2.0. I've made the necessary changes to my httpd.conf file and have made sure that libphp4.so is in my modules directory. I've restarted the web server but still cannot access a php file that I created and placed in my Document Root.
I think I've added the correct extensions in my Directory Index:
DirectoryIndex index.html index.html.var index.php index.php3 index.php4
but I could be wrong.
I've also added the following to my php.ini file:
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = On
doc_root = /usr/local/apache2/htdocs
extension_dir = /usr/local/apache2/modules
I don't know what I'm doing wrong here. Is it a problem with permissions when making changes to the httpd.conf file?
Thanks in advance for any advice!