thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Reiss <dre...@facebook.com>
Subject Re: php tutorial
Date Wed, 30 Sep 2009 03:25:03 GMT
> The README under /lib/php says that apc_fetch() and apc_store() are
> required:
> 
>> APC cache is used by the TSocketPool class. If you do not have APC
>> installed,
>> Thrift will fill in null stub function definitions.
>>
> 
> Does it affect the php client or just the server?
> Does it degrades the performance or prevent running at all?
It will only affect the client, and it will only affect it if you
use TSocketPool.  It should still work, but it won't be able to
track which servers are down.

> I've managed to run the php client against the erlang server
> but don't understand how to run the php client against the php server.
(from thrift/tutorial):
../compiler/cpp/thrift -r --gen php:server tutorial.thrift
cd php
./runserver.py &
./PhpClient.php --http

You will need to hack around THRIFT-592 until it is fixed.

--David

Mime
View raw message