|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
This is probably a very stupid question but I'm so new to FreeBSD that I'll have to ask anyway
I've been trying to have Apache 1.3.29-modssl, php4, mod_mp3 and MySQL running on my system. Managed to use the ports, upgrade, compile, install, everything. Everything works fine but, after I compiled mod_php4 Apache doesn't start and gives me this message: [warn] Loaded DSO libexec/apache/libperl.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) [warn] Loaded DSO libexec/apache/libphp3.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) I figured I'd have to recompile it but I'm not sure how it's done. Tried placing that parameter in the Makefile in this line: CFLAGS+= -DSNMP -DUSE_DB -DEAPI -DSNMP_CONFIG_H -DHARD_VIRTUAL_HOST_MAX=1000 \ -DSNMPLOCALONLY and doing a make deinstall, make, make install. Same result. Since I obviously can't figure out how to recompile without the use of ports can someone help me out here? ![]() Thanks a million in advance, |
|
#2
|
||||
|
||||
|
try compiling /usr/ports/lang/php4 instead, it will provide the CLI along with mod_php
__________________
John5788 EMail: john5788@x5788.net URL: http://www.x5788.net AIM: John57881, John57883 ICQ: 74077537 MSN: John@5788.zzn.com YIM: John5788 |
|
#3
|
|||
|
|||
|
Hi John,
I've just tried that. Same result ![]() How can I force apache to recompile with that parameter? Thank you for the help! Fabiano. |
|
#4
|
||||
|
||||
|
Try doing this:
make clean CLEANDEPENDS=YES make -DEAPI make install
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#5
|
|||
|
|||
|
Should I recompile PHP as well?
|
|
#6
|
|||
|
|||
|
Just did it. Same result. A friend of mine is trying to compile Apache 1.3.31 and PHP on his FreeBSD and try to just copy it over as it seems to work fine on his system. Thanks for your suggestion though.
Fabiano. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > trying to recompile Apache in FreeBSD 4.9 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|