I am attempting to build a dynaminc module loadable by apache 1.3.x. But once the (./configure, make, make install, cp php.ini-dist, configure httpd.conf) process is complete, I restart apache, and try to access a php page (<? phpinfo() ?>) and I am asked if I would like to download the page, which is not the expected or desired behavior. :/
Reading through the INSTALL file and the php.net FAQs, I did notice that there was a mention of copying the compiled httpd directly over the existing one. Would that not indicate a static module had been compiled? Else where it appears a libphp4.so is created and placed in the modules/ directory. When I attempt to put a LoadModule directive in my httpd.conf file to tell apache about the module, I get the following error from apachectl configtest: Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: API module structure `php4_module' in file /usr/local/apache/modules/libphp4.so is garbled - perhaps this is not an Apache module DSO? I read this one of two ways, a) 'php4_module' is not the correct way to refrence this module, or b) the libphp4.so module is corrupted, somehow. Is either one of these right? I've recompiled twice now, and still no luck. If I comment out the LoadModule directive, it starts, but my browser asks if I want to download the php page instead of displaying it. Has anyone encountered this before? Cary Mathews -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]