A working mod_proxy_fcgi + php-fpm httpd.conf file anyone?

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

 



Hi,

Does anyone have a working mod_proxy_fcgi plus php-fpm configuration
that they can share?  I'm in desperate need of some documentation on
mod_proxy_cgi.

I've got Apache 2.4 configured using...

<IfModule mod_proxy_fcgi.c>
 ProxyPass / fcgi://localhost:9000/
</IfModule>

And php-fpm listening on port 9000.

I don't have further cgi configuration options in my httpd.conf.  Do I
need others?  What should my AddHandler be for instance?

php-fpm seems go get the request but but debug messages show...

[...] WARNING:..., fpm_stdio_child_said(), line 166: [pool www] child
18270 said into stderr: "DEBUG: main(), line 1816: Primary script
unknown"

...every time I access my domain root.  And the browser displays just
one line...
"File not found."

I'd just like a simple PHP script to execute or at least be able to
view a static text file.  But I got the "File not found" error no
matter what I try.

Any help would be greatly appreciated.

Regards,
Ralph

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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