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....."
how could I do now???? Please help me!!!!
Thanks!!!!