Re: PHP-CGI with Apache-2.4.37

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

 



Hi Eric,

Now with script alias, I am getting error [Fri Mar 08 12:56:13.771703 2019] [cgi:error] [pid 1862271014:tid 579777016812208132] [client 15.213.82.149:52137] malformed header from script 'first.php': Bad header: <b>Security Alert!</b> The PHP

 
Wherease script is working fine when running it thorough terminal.
Do you have any idea how to solve this?

Thanks
Hemant


On Fri, Mar 8, 2019 at 5:48 PM Eric Covener <covener@xxxxxxxxx> wrote:
On Fri, Mar 8, 2019 at 6:38 AM Hemant Chaudhary
<hemantdude.chaudhary@xxxxxxxxx> wrote:
>
> Hi All,
>
> I want to use my php scripts using mod-cgi.
>
> httpd.conf
> AddHandler application/x-httpd-php7 php
>  AddHandler application/x-httpd-php7 .php

This is mod_php configuration, you want to configure mod_cgi directly
(ScriptAlias)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux