From: <php...@li...> - 2010-08-05 14:06:22
|
On Thu, Aug 5, 2010 at 5:56 PM, <php...@li... > wrote: > > listening port of any started php-fpm pool only. I tried to make PHP-FPM > to > > listen to the default 9667, and the use_fast_cgi to disable autostart > (used > > "no") but it still doesn't work. > > "no" disables fastcgi altogether. Please set it to On. > > > > I assume a started php-fpm is a fcgi server. and I want to make > JavaBridge > > use the fcgi server that i have started manually without trying to spawn > any > > fcgi connection/process. does it make sense? > > Yes, definitely. If you use PHP/Java Bridge version 6.2.1, remove > php-cgi and then ask for some PHP page, the bridge will return an > error message asking you to start a fastcgi server process. > > > > do you know if php-fpm is a > > kind of fcgi server that JavaBridge may support? > > Certainly. Just start it and configure the bridge to connect to its > TCP port (Unix) or NamedPipe file (Windows). Or let the bridge decide > which port or file to use and start the fastcgi process afterwards. > .. > > > > Regards, > Jost Bökemeier > > thanks for your help. I'm about to get it work now. :-) one of the things I did it wrong before is I have configured the php-fpm pool with a chroot jail. the root path is changed by the chroot that JavaBridge has no knowledge about. regards, mingfai |