[thelist] [long] PHP and Apache, each in a box. Possible?

Mike Migurski mike-evolt at teczno.com
Tue Jul 1 15:43:05 CDT 2003


>> Given that PHP is not network-aware service by itself, I do not see how
>> you can have Apache on one machine talk to PHP directly on another
>> machine.
>
>Given the number of socket_* functions listed -- start with:
>
>   <http://www.php.net/manual/en/function.socket-listen.php>
>
>:: it seems like you *could* write a PHP daemon process to run without
>Apache.
>
>No opinion on the wisdom of this :-)

I was looking at this option the other day, hoping to figure out some
crafty way to keep persistent objects in memory. I was advised that it
would be a bad idea, because php cannot be threaded, and therefore such a
scheme would not scale well.

Back to vanilla query-caching for me.

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html



More information about the thelist mailing list