Apache + mod_perl + mod_php = can they compile??

Find out how to get that @*&^$&@ thing to compile!

Apache + mod_perl + mod_php = can they compile??

Postby HongPong » Sun Jun 23, 2002 12:20 am

I have been trying to get Apache, modperl and PHP to compile to make a super-webserver. However they seem to be unable to work together. I have tried the APXS/DSO approach and everything seems to come together but when I try sudo apachectl start I get the following:
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>dyld: /usr/sbin/httpd multiple definitions of symbol _dlclose
/usr/libexec/httpd/libperl.so definition of _dlclose
/usr/local/lib/libdl.dylib(dlopen.o) definition of _dlclose
/usr/sbin/apachectl start: httpd could not be started
</pre>[/quote] When I disable one module or the other in httpd.conf, it does actually start, which is cool::
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>[Sat Jun 22 19:05:52 2002] [notice] Apache/1.3.24 (Darwin) mod_perl/1.27 configured -- resuming normal operations
[Sat Jun 22 19:05:52 2002] [notice] Accept mutex: flock (Default: flock)
[Sat Jun 22 19:18:08 2002] [notice] caught SIGTERM, shutting down
[Sat Jun 22 19:18:10 2002] [notice] Apache/1.3.24 (Darwin) PHP/4.0.6 configured -- resuming normal operations
[Sat Jun 22 19:18:10 2002] [notice] Accept mutex: flock (Default: flock)
</pre>[/quote]
I ran into a lot of trouble with the latest PHP (4.2.1), so I went with 4.0.6, the same used in the package here. Mod_perl is 1.27, and Apache 1.3.24. I just want to know if its actually possible to make the dynamic linking work right. Possibly changing around the Apache DSO flags??
HongPong
 
Posts: 1
Joined: Sat Feb 02, 2002 8:00 pm
Location: St. Paul, MN

Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 28 guests

cron