You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by Curt Arnold <ca...@apache.org> on 2007/07/17 16:15:32 UTC

server example

In build.xml, I've suppressed running src/examples/php/server.php  
since it requires 2 files (Net/Server.php and Net/Server/Handler.php)  
that I could not locate.  I do not know if these are files that  
should have been committed when the examples were added or if they  
are some well-known files and there is a missing component or the  
include paths are not set properly. 

Re: server example

Posted by Knut Urdalen <kn...@php.no>.
Curt Arnold wrote:
> In build.xml, I've suppressed running src/examples/php/server.php 
> since it requires 2 files (Net/Server.php and Net/Server/Handler.php) 
> that I could not locate.  I do not know if these are files that should 
> have been committed when the examples were added or if they are some 
> well-known files and there is a missing component or the include paths 
> are not set properly.
Ah, this example make use of PEAR::Net_Server [1]. It's some code I 
produced together with my article for php|architect.

It's simply installed with "pear install --alldeps pear/Net_Server". I 
could maybe add a guard there to check if the package is available 
instead it that's ok?

Knut

[1] http://pear.php.net/package/Net_Server