Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  PHP CGI not working

hiveminds
Posted: Sat Jan 30, 2010 1:57 pm Reply with quote
User Joined: 15 Apr 2009 Posts: 12 Location: Sweden
Using Yaws 1.87, Windows XP, PHP 5.31 does not work as explained in
the docs. Following the instructions for using php-cgi.exe lead to an
error:

CGI failure: {exit_status,-1}

placing the same script containing only phpinfo() in the cgi-bin
causes and endless try to load the file in the browser. There are no
errors showen in the logs either. So either CGI is broken or it no
longer talks to PHP

--
Carl McDade
Web programmer

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
View user's profile Send private message Visit poster's website
nesrait
Posted: Sat Jan 30, 2010 2:10 pm Reply with quote
User Joined: 02 May 2009 Posts: 33 Location: Portugal
Hi there,

Setting "cgi.force_redirect = 0" on your php.ini file should get you going.

Cheers,
Davide

On Sat, Jan 30, 2010 at 1:31 PM, Carl McDade <carlmcdade@gmail.com (carlmcdade@gmail.com)> wrote:
Quote:
Using Yaws 1.87, Windows XP, PHP 5.31 does not work as explained in
the docs. Following the instructions for using php-cgi.exe lead to an
error:

CGI failure: {exit_status,-1}

placing the same script containing only phpinfo() in the cgi-bin
causes and endless try to load the file in the browser. There are no
errors showen in the logs either. So either CGI is broken or it no
longer talks to PHP

--
Carl McDade
Web programmer

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net (erlyaws-list@lists.sourceforge.net)
https://lists.sourceforge.net/lists/listinfo/erlyaws-list



Post received from mailinglist
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum