Re: BUG #12258: run php file - Mailing list pgsql-bugs

From Mark Kirkwood
Subject Re: BUG #12258: run php file
Date
Msg-id 5491ECFC.5080308@catalyst.net.nz
Whole thread Raw
In response to BUG #12258: run php file  (benoit@borsandco.com)
List pgsql-bugs
On 18/12/14 00:42, benoit@borsandco.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      12258
> Logged by:          benoit
> Email address:      benoit@borsandco.com
> PostgreSQL version: 9.1.0
> Operating system:   debian wheezy
> Description:
>
> the result of my form, instead display or record the data i would, Iceweasel
> ask me if i want save the file 'result.php', or open it with bluefish.
> I think transfer php is allowed by apache2, and it is not the fault of
> Bluefish, and after stood Iceweasel. ???
> Thanks very much. 'Xuse my spanish cow english language...
>
>

Sounds like your php module is missing or not enabled correctly. See
http://php.net/manual/en/install.unix.apache2.php .

After checking this you can test it with a simple file containing only
the phpinfo() call. See http://php.net/manual/en/function.phpinfo.php .

Note that this bug does not seem to be related to Postgresql at all.

regards

Mark

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #12259: Bug in restore Serial definition
Next
From: Jan Hink
Date:
Subject: Create into temp table as select doesn set "found"