--enabel-pnctl / php sockets

From: Date: Mon, 06 May 2002 18:06:30 +0000
Subject: --enabel-pnctl / php sockets
Groups: php.general 
Request: Send a blank email to php-general+get-96291@lists.php.net to get a copy of this message
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

« previous php.general (#96291) next »