"php -f" can work!but not with apache

From: Date: Wed, 27 Mar 2002 01:59:36 +0000
Subject: "php -f" can work!but not with apache
Groups: php.dev 
Request: Send a blank email to php-dev+get-81845@lists.php.net to get a copy of this message
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/sbin/apxs --with-config-file- path=/etc ./make ./make install cp php.ini-dist /etc/php.ini (start apache again) The test.php file likes this: <?php echo my_func() ?> the func "my_func" only return "hello world". but when I access it by IE(another pc),I got "fatel error: undefined func....." And I use "phpinfo()" to test. I found the new version has been installed but not support my module. And the configure section show it has "enable" my module. Why???? Thanx!

« previous php.dev (#81845) next »