[PHP] one problem in php ext development

2012-02-20 Thread Rui Hu
hi, I want to development an extension which can do something by using HTTP request header. So how can php extension get those HTTP request headers? Thanks! Best regards, Rui Hu State Key Laboratory of

[PHP] Re: problems in extension development

2012-02-17 Thread Rui Hu
Besides, are there some APIs I can use if I want to set&get environment variables like DOCUMENT_ROOT in my extension(similar to sapi_cgienv_get/set). Thanks! 2012/2/17 Rui Hu > hi, > > I just started to write a simple PHP extension "hello", but encountered > some prob

[PHP] problems in extension development

2012-02-16 Thread Rui Hu
hpize 4. ./configure ; make ; 5. the I encountered error in make. I looked up in Makefile and found that $(PHP_MODULE) is null, which I think is the reason. Makefile is automatically generated by ./configure. What mistake did I make? How to fix it? Thanks! Vic Hu -- B

[PHP] questions about fastcgi

2011-12-19 Thread Rui Hu
tp://1000.xyz.com/test.php, error message pops out like: The requested URL /1000/cgi-bin/php.fcgi/1000/test.php was not found on this server. I don't know if this error results from fastcgi, is it the inappropriate config in fastcgi or inevitable problem by using