|
|
| Author |
Message |
< Yaws mailing list ~ Looking for complete solution for running PHP with FCGI |
| hiveminds |
Posted: Mon Feb 01, 2010 12:07 pm |
|
|
|
User
Joined: 15 Apr 2009
Posts: 12
Location: Sweden
|
Hi,
I am still some what of a newbie with Yaws so bear with me. I have
spent the last week or so hunting down every thread I could on using
PHP with FCGI. So far I have not seen anything definitive. In the
wiki there is of course solutions for Django and Rails but after much
experimentation I have not gotten FCGI to work using *.php files using
YAWS as the fcgi application server.
What I am thinking is that maybe an answer to how to do this was
provided but it never made it to an online forum or public email list.
I am running;
Windows Server 2003
Erlang 5.7.4
Yaws 1.87
Thanks for any help on this
PS. Hopefully I can get this going before I take the next best
solution which is to try and use IIS as the FCGI application server
while running YAWS as the HTTP facing server.
--
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 |
|
|
| Back to top |
|
| nesrait |
Posted: Mon Feb 01, 2010 3:17 pm |
|
|
|
User
Joined: 02 May 2009
Posts: 33
Location: Portugal
|
Hi Carl,
You need a wrapper for php-cgi that gets it running as a fcgi server.
This works: http://redmine.lighttpd.net/projects/spawn-fcgi/wiki
but you have to get the files modified for working on windows.
When you got those run it like this:
Quote: spawn-fcgi.exe -a 127.0.0.1 -p 3000 -f <path to php-cgi>
After that you just have to follow the same steps as described for django and rails.
Hope this helps.
Cheers,
Davide
Post received from mailinglist |
|
|
| Back to top |
|
| hiveminds |
Posted: Mon Feb 01, 2010 7:07 pm |
|
|
|
User
Joined: 15 Apr 2009
Posts: 12
Location: Sweden
|
Oh nice! No need for two servers which is what I was trying to avoid. Thanks!
/Carl
2010/2/1 Davide Marqu |
|
|
| Back to top |
|
| hiveminds |
Posted: Mon Feb 01, 2010 7:15 pm |
|
|
|
User
Joined: 15 Apr 2009
Posts: 12
Location: Sweden
|
There is a Windows version that compiles with minGW going to give it a try.
http://redmine.lighttpd.net/attachments/727/spawn-fcgi-win32.c
On Mon, Feb 1, 2010 at 8:06 PM, Carl McDade <carlmcdade@gmail.com> wrote:
> Oh nice! No need for two servers which is what I was trying to avoid. Thanks!
>
> /Carl
>
> 2010/2/1 Davide Marqu |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|