Re: [PHP-DEV] "php -f" can work!but not with apache

2002-03-26 Thread gxlzlu
First of all , thanks for your help! I am a beginer to the Linux and PHP. All the steps I have done is as follow: ./ext_skel --extname=mymodule --proto=myfunc (here I got a template of module) vi config.m4 ( I just delete three of "dnl") vi mymodule.c ( I just edit my func,that func just return

Re: [PHP-DEV] "php -f" can work!but not with apache

2002-03-26 Thread Rasmus Lerdorf
Is your module under the ext/ directory in the PHP source tree? I would assume so from your configure flags. In that case, did you run ./buildconf in the top PHP directory to make sure your configure flag was added? ie. If you type: ./configure --help is your flag listed? And, are you sure you

[PHP-DEV] "php -f" can work!but not with apache

2002-03-26 Thread gxlzlu
I have built my extention for php4. There is not any error during compiling. PHP4 can work when I use "php -f test.php". So I try to install it to my Redhat7.2 system with apache.All my operation is followed: (after compile the php4) ./killall httpd ./configure --enable-mymodule --with-apax=/usr/