| 
	
 | 
 Posted by Joshie Surber on 09/09/06 21:21 
Open your /etc/httpd/httpd.conf, grep for php, and uncomment the lines 
LoadModule and AddModule for PHP. It sounds like this should fix it. 
Also, make sure you are using http://localhost and not file://localhost 
-- file:// URLs are not parsed. 
 
Frel wrote: 
> I had a look at the stantonfinley fedora core 5 instructions and robooted 
> but to no avail. 
> PHP scripts work fine from var/www/html whether the suffix is .php or .htm 
> but not from localhost. 
> 
> I did what is suggested from this point and rebooted but no bloody luck. 
> If someone could throw an clue this way it'd be appreciated and thanked in 
> advance. 
> 
> http://www.stanton-finley.net/fedora_core_5_installation_notes.html 
> 
> <quote> 
> If you wish to enable support to serve web pages from user's home 
> directories as well comment (add a "#" in front of) "UserDir disable" so 
> that it reads "#UserDir disable" and uncomment "#UserDir public_html" so 
> that it reads "UserDir public_html". Then uncomment and edit the control 
> access stanza for user directories below it so that it looks something 
> like this: <Directory /home/*/public_html> 
>     AllowOverride Options FileInfo AuthConfig Limit Options Indexes 
>     Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews <Limit 
>     GET POST OPTIONS> 
>         Order allow,deny 
>         Allow from all 
>     </Limit> 
>     <LimitExcept GET POST OPTIONS> 
>         Order deny,allow 
>         Allow from all 
>     </LimitExcept> 
> </Directory> 
>  
>  
> [..]
 
  
Navigation:
[Reply to this message] 
 |