Re: php not starting on apache server (fecora core 1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

A few suggestions for httpd.conf

Make sure index.php is in the list of possible starting pages:

DirectoryIndex index.html index.htm default.htm index.php

and php is a known application type:

  AddType application/x-httpd-php .php .php3



Thank you for your answer,

unfortunately, my php.conf file already holds both lines:
AddType application/x-httpd-php .php .php3
DirectoryIndex index.php

as well as:
LoadModule php4_module modules/libphp4.so

A few more thoughts. When testing whether apache is correctly listening to port 80, I ask for http://localhost, Apache access log correctly records the transfer of data from server to client.
When feeding the web browser with a simple file such as:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<head></head>
<body><?php phpinfo(); ?></body>


the log file does not record anything, meaning that no transfer is carried out. Is this correct or not?

--
marco



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux