LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   web server dont start index.php (https://www.linuxquestions.org/questions/linux-software-2/web-server-dont-start-index-php-297459/)

Kanon 03-04-2005 01:31 AM

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!

Kanon 03-04-2005 01:46 AM

Ah! Found it.

Edit httpd.conf, search for "And for PHP 4.x use:"

Kanon 03-04-2005 01:51 AM

Hmm... thats not it... Still dont start index.php. ??

bathory 03-04-2005 02:14 AM

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

Kanon 03-04-2005 03:36 AM

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!!! :)


All times are GMT -5. The time now is 04:34 PM.