LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-04-2005, 02:31 AM   #1
Kanon
Member
 
Registered: Sep 2004
Location: Norge
Distribution: Debian
Posts: 116

Rep: Reputation: 15
web server dont start index.php


I got a index.html file with some info on it that passes you on to the forum, whitch is index.php. But it dont start it....

I know I read about it....somewhere.... But now I cant remember.
So if any one has any suggestions Im listening!

My system:

Debian
Apache 1.3
PHP4

Tnx, ppl!

Last edited by Kanon; 03-04-2005 at 02:33 AM.
 
Old 03-04-2005, 02:46 AM   #2
Kanon
Member
 
Registered: Sep 2004
Location: Norge
Distribution: Debian
Posts: 116

Original Poster
Rep: Reputation: 15
Ah! Found it.

Edit httpd.conf, search for "And for PHP 4.x use:"
 
Old 03-04-2005, 02:51 AM   #3
Kanon
Member
 
Registered: Sep 2004
Location: Norge
Distribution: Debian
Posts: 116

Original Poster
Rep: Reputation: 15
Hmm... thats not it... Still dont start index.php. ??
 
Old 03-04-2005, 03:14 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,581

Rep: Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799
Quote:
whitch is index.php. But it dont start it.
What you mean by that? Apache shows the php code of the page, it prompts you to save the file or gives an error.
Until you tell us what error you get and how you install php support in apache try to add this:
Code:
AddType application/x-httpd-php .php
if not exists and this:
DirectoryIndex index.html index.php
to your httpd.conf, to see if that helps.

Regards

Last edited by bathory; 03-04-2005 at 03:16 AM.
 
Old 03-04-2005, 04:36 AM   #5
Kanon
Member
 
Registered: Sep 2004
Location: Norge
Distribution: Debian
Posts: 116

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bathory
Until you tell us what error you get and how you install php support in apache try to add this:
Code:
DirectoryIndex index.html index.php
to your httpd.conf, to see if that helps.

Regards
Yes! Thas just what I was missing!

Thanks a million!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
PHP configuration with apache web server vikrambhimbar Linux - Software 4 12-17-2005 05:04 AM
setting up a php web server mrobertson Programming 4 06-02-2005 02:29 PM
How do I start apache web server? JockVSJock Slackware 25 05-15-2005 01:22 PM
Receiving Emails through web server? (PHP) gothgeek84 Programming 12 01-16-2005 04:02 PM
Apache php index.php problem neurotic Linux - Software 3 11-18-2003 07:02 PM

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

All times are GMT -5. The time now is 05:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration