Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » Apache + mod_perl + mod_php = can they compile??

UBBFriend: Email this page to someone!    
Author Topic: Apache + mod_perl + mod_php = can they compile??
HongPong
Junior Member
Member # 312

posted June 22, 2002 05:20 PM      Profile for HongPong   Email HongPong   Send New Private Message      Edit/Delete Post  Reply With Quote 
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:
code:
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

When I disable one module or the other in httpd.conf, it does actually start, which is cool::
code:
[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)


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??

Posts: 1 | From: St. Paul, MN | Registered: Feb 2002  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2