LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache2 with PHP woes (SUSE Server 8) (https://www.linuxquestions.org/questions/linux-software-2/apache2-with-php-woes-suse-server-8-a-176448/)

jfranks214 04-30-2004 04:25 PM

Apache2 with PHP woes (SUSE Server 8)
 
I'm helping one of the students at our school install and configure Apache with myPHP and mySQL on SUSE Standard Server 8.


We've been able to successfully configure compile and install Apache 2.0.49, but now we have an issue. apparently PHP needs to be configured and installed after the ./configure step for Apache, but before the make step. So we did this. Now it doesn't work correctly, when browsing the server we now see a page with "Parent directory" and nothing else. All of the default http doc's are in the httpd.docs directory, but they aren't showing up. We have another box running Apache2 (this one is Fedora Core 1) WITHOUT PHP, and it works ok, and when we compared the httpd.conf file from the two servers they seemed practically identical.

We're dilligently trying to work through this, but if anyone could point me in the right direction, I'd really appreciate it.

One other thing. The instruction set that we used for the installation was really written for Apache 1.x and (i forget exactly which) earlier version of PHP. I'm thinking that perhaps some changes have occured in the process, does anyone know? The Linux installation section of the PHP manual appears to be just a selection of posts from people with no real step by step...or really any general info at all (WTF?)


Anyway, any ideas will be appreciated.

Thanks!

Jonathan

david_ross 04-30-2004 04:40 PM

It sounds like your "DocumentRoot" is set wrong in httpd.conf.


All times are GMT -5. The time now is 12:23 AM.