Hello,
I have Apache 2.0.46 server on Redhat Linux 7.3 and PHP 4.3.2.I
have a written a PHP extension module. I have a entry in the php.ini as
extension=php_mymodule.so.
When I issue the following command :
apachectl restart
my php module gets unloaded but is not reloaded again and apache gives
core dump.
I verified this by putting logs in PHP_MINIT_FUNCTION and
PHP_MSHUTDOWN_FUNCTION.Following is the sequence :
1. apachectl start => PHP_MINIT_FUNCTION
2. apachectl stop => PHP_MSHUTDOWN_FUNCTION
3. apachectl start => PHP_MINIT_FUNCTION
4.apachectl restart => PHP_MSHUTDOWN_FUNCTION
in the 4th step it should print :
PHP_MSHUTDOWN_FUNCTION
PHP_MINIT_FUNCTION
but this is not happening.
After this is done Apache stopes listening.
What could be the problem?
Thanks and Regards
Ashish
---------------------------------
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster.