LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2004, 04:25 PM   #1
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Rep: Reputation: 15
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
 
Old 04-30-2004, 04:40 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It sounds like your "DocumentRoot" is set wrong in httpd.conf.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 10.0, Apache2, MySQL, PHP ? petelogan SUSE / openSUSE 4 10-28-2005 10:14 AM
PHP, APACHE2 server error NoviceW Linux - General 2 05-22-2005 07:46 AM
Apache2, MySQL & PHP Web Server. FTP Needed! Bobson Linux - Networking 4 02-07-2005 04:25 PM
Solution to ALL MySQL, PHP, Apache2 problems in SuSE SuSE_fan Linux - Software 5 06-03-2004 08:07 AM
How to do a simple Apache2 server in SuSe 9.0? vdogvictor Linux - Newbie 4 03-24-2004 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration