httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maila Fatticcioni <>
Subject Re: [users@httpd] PHP and Apache 2.0.54 on Linux (Fedora Core 3)
Date Mon, 18 Apr 2005 10:28:17 GMT
Hash: SHA1

I think you have already checked the permition rights of the directory
and files, so do you check the DirectoryIndex option? You should have
index.php there.

Besides check if the php files you used had the short tag <? instead of
<?php. If so, check in the /etc/php.ini file. You must have the that
option enabled: short_open_tag = On


Christopher Malton wrote:
> To all,
> 	I have a small problem with Apache on Linux (Fedora Core 3). The
> Apache apache2.conf file has the right directives for PHP (I think) but all
> it will do is output the PHP source code when I go to a .php file.
> The config statements are as follows:
> AddType application/x-httpd-php .php
> AddHandler application/x-httpd-php "/usr/bin/php"
> This should make any .php file be executed by /usr/bin/php
> The results that I get however are as follows:
> ----------------------------------------------------------------------------
> -------------------------------------------Forbidden
> You don't have permission to access / on
> this server.
> Additionally, a 404 Not Found error was encountered while trying to use an
> ErrorDocument to handle the request.
> ----------------------------------------------------------------------------
> -------------------------------------------
> What I think is the permissions are not set properly.
> Please help me!
> Chris

Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message