Re: httpd not interpreting a php file

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

 



ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/$1
DirectoryIndex /index.php

I have in httpd.conf

But I guess not this is the problem as I have working php files.

- Gergely

On 25 October 2014 00:29, Jeffry Killen <jekillen@xxxxxxxxxxx> wrote:
> Another thing to look for in httpd.conf is a line that tells Apache
> what extensions to use to recognize php. This line may have been
> edited erroneously to remove or alter .php as an extension.
>
> If this is a new installation of Apache you will probably have to
> inspect the conf file for this.
>
> If this is an existing installation of Apache and it has been working
> as expected, it is very possible that someone edited the .conf file.
>
> You may have a security problem with your system. Mostly sudoers
> and Root (on Unix based systems, including Mac OSX) are the only
> accounts authorized to edit the .conf file. Someone un qualified may
> have gained access to the .conf file.
>
> On Oct 24, 2014, at 12:34 PM, Gergely Buday wrote:
>
>> Hi,
>>
>> I did tests and my Apache does interpret simple php files.
>>
>> I copied a directory structure from a working web server and my
>> login.php is not interpreted. Apache emits some source code from the
>> file.
>>
>> What could cause this?
>>
>> - Gergely
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux