|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
I recently installed Apache 2 (2.0.49) and PHP 4 (4.3.7) from the Ports Collection...but when I tried to start Apache up I get an error.
It says: apachectl start Syntax error on line 284 of /usr/local/etc/apache2/httpd.conf: Cannot load /usr/local/libexec/apache2/libphp4.so into server: /usr/local/libexec/apache2/libphp4.so: Undefined symbol "__gmpz_cdiv_qr_ui" In the config file: LoadModule rewrite_module libexec/apache2/mod_rewrite.so LoadModule php4_module libexec/apache2/libphp4.so It looks perfectly fine to me but do you know why won't it start up? Thanks! ![]() |
|
#2
|
|||
|
|||
|
Have you installed mod_php, or did you compile php support statically into Apache?
|
|
#3
|
|||
|
|||
|
Quote:
I installed mod_php4 from /usr/ports/www/mod_php4 from a freshly updated Ports Collection. |
|
#4
|
|||
|
|||
|
Quote:
Hi all! Applefans, we have the same problem. Did you solved this "quest", and how. We are going crazy. Thanks in advance. |
|
#5
|
|||
|
|||
|
which modules are compiled into your Apache?
apachectl -l if mod_so is not compiled in, you cannot use dynamically loaded modules... -Steven |
|
#6
|
|||
|
|||
|
also, what did you coplie into mod_php? I recently found out the Oracle support for the mod_php port is broken and had to recomplie it without Oracle support.
|
|
#7
|
|||
|
|||
|
quick fix
This problem is caused by compiling in GMP support. If you do not need double precision math support (as some of my users need...), then you can turn it off, and php (and this way Apache) works fine. If you need it, then cvsup every day, and watch if port lang/php4 or math/libgmp4 is changed.
|
|
#8
|
|||
|
|||
|
Ooops, I did not mention, that you have to recompile lang/php4 without gmp support...
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Apache 2 and PHP Startup Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|