After further research, (reading the redhat php spec file completely) I discovered how they were making it, so that php binaries, and apache php module was working at the same time...
The rpm builds the cgi root, and installs it, and the builds the apache root, and installs that over the cgi installation, which overwrites some things, but fortunately(as the spec file documents) they are compatible... So, I simply went to the spec file, where it built the cgi tree, and --enable-pcntl \ and rpm -ba phpxxxxx.spec, and viola, pcntl support in the php binary! Hope this helps others.... Barry Smoke Project Leader Vispman.org -----Original Message----- From: Barry Smoke [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 1:07 PM To: [EMAIL PROTECTED] Subject: [PHP] --enabel-pnctl / php sockets I have recently discovered php's binary capabilities, and am using it to write a virtual isp management system, so that a php binary will listen to a port, and spit out an interface, such as webmin, etc...(http://vispman.org) This interface will be able to add virtual domains, restart dns, qmail, etc... I have seen a couple of other php binary projects(using php sockets), such as phserv, where an entire web server (like apache) has been written in nothing but php. I tried to install these, and they wouldn't run without php compiled with --enable-pcntl Now, it is my understanding that --enable-pcntl is for process control, and it only works if you are compiling php as a cgi module, and not as an apache add-on. (at least that is the error I got , when taking a redhat php rpm, and editing the spec file to include the --enable-pcntl) Is there any way to get that to compile, while maintaining all original functionality in the redhat php rpm? What I am really looking for here, is a php binary, that will spit out a web control interface(standard web page, with forms on the client side) That will listen on a non-apache port, and if a connections is detected, lock it in securely... But...still allow other connections, (like apache listens to minservers/maxservers....multiple sessions on one port) The idea being that one isp might have multiple admins/staff entering in domain information. Any help on this is much appreciated. Barry Smoke Project Leader Vispman.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php