Package Details: spawn-fcgi-php 1.2-1

Git Clone URL: https://aur.archlinux.org/spawn-fcgi-php.git (read-only)
Package Base: spawn-fcgi-php
Description: Script to provide simple cgi-php support for nginx http daemon
Upstream URL: http://aur.archlinux.org/packages.php?ID=37439
Licenses: GPL
Submitter: dracorp
Maintainer: dracorp
Last Packager: dracorp
Votes: 13
Popularity: 0.000000
First Submitted: 2010-05-24 12:07
Last Updated: 2015-06-14 13:07

Required by (0)

Sources (7)

  • nginx.conf.example
  • public_html.conf.example
  • server.conf.example
  • spawn-fcgi-php.conf
  • spawn-fcgi-php.rc.d
  • spawn-fcgi-php.script
  • spawn-fcgi-php.service

Latest Comments

dracorp commented on 2012-10-24 12:55

Added support systemd.

dracorp commented on 2012-10-24 07:01

Ok

aaronfischer commented on 2012-10-20 16:59

Please make it systemd compatible.

dracorp commented on 2011-12-11 08:03

Thanks, fixed.

Anonymous comment on 2011-12-11 01:52

Patch to fix /etc/rc.d/functions error related to https://bugs.archlinux.org/task/27072:

Sat Dec 10 19:26:48 2011: :: Starting spawn-fcgi-php [BKGD] /etc/rc.d/functions: line 497: syntax error near unexpected token `<'
Sat Dec 10 19:26:48 2011: /etc/rc.d/functions: line 497: `

https://gist.github.com/1457599

or since it is a very simple fix:
--- spawn-fcgi-php 2011-12-10 20:26:18.165744968 -0500
+++ spawn-fcgi-php_patched 2011-12-10 20:26:07.275862508 -0500
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

dracorp commented on 2011-10-26 18:05

I rewrote script and configuration file. I'm waiting for suggestions and corrections. Sorry but my english isn't perfect.
I didn't test solution with socket but with multiport it works. Unfortunately i couldn't find in Archlinux function posix_getpwuid() for proper testing. On Debian it works.

alperkanat commented on 2010-09-25 22:03

It's better if you rename nginx.conf.example to php.conf.example or something alike and move it to /etc/nginx/conf (not /etc/nginx)

thanks!

dracorp commented on 2010-05-25 06:57

If you use a different location than the main such 'location /status', you need to make a symlink with the name of the location of the directory ".":
location /status {
alias /srv/http/other/directory;
include myphpsettings;
}
$ cd /srv/http/other/directory; ln -s . status
Then PHP will work at the new location.