There has been a lot of Discussions about Enterprise PHP, specially after the release of PHP 5. PHP has a much better Object Model now, butt PHP is still NOT enterprise ready.
The first step toward enterprise is PHP's emancipation from Apache Web server. Since 4.1.0 Version, PHP supports sockets. Therefore PHP itself can serve HTTP Requests. Although PHP sockets are experimental, but it really rocks. I have written a simple IRC Sever in PHP using PHP sockets and it is up since about 70 days.
There are some greats apps using PHP Sockets. The best example I know is nanoweb. (Has anyone tested nanoweb under a heavy load?), but I miss some kind of "PHP-Container", like a servlet container, PHPlet is the first effort.
Until PHP is not able to have persistence between request, it hard to speak form Enterprise PHP. Persistence database connection and memory held session data beyond the hardware are the crucial disadvantages of PHP against Java.
memcached and Vulcan SRM are great efforts, but they are not the solution.
Hi.
What is wrong with Apache, exactly? It is stable, fast, mature, well understood, well supported and most of all -- it works.
FWIW, while I agree that sockets support in PHP is very handy, PHP is quite frankly too slow for even moderate loads. Its worse than that as on Windows the the sockets implementation really only works synchronously so something like webserving is a complete non-starter there.
While I don't disagree that sockets provide many new and exciting opportunityes for PHP, supplanting the webserver is not one of them in my humble opinion. It makes a nice toy, perhaps a handy in-a-pimch development environment and the possibility of writing "local browser apps".
If anything, I think PHP needs to integrate MORE with Apache. Why oh why is authentication typically handled at the PHP application layer and not at the server layer?