FreeBSD 9.2 platform plus php5-5.4 plus Apache24 - need a rescue
belle at antennex.com
Wed Apr 22 17:47:55 UTC 2015
Before writing this, we have worked on several attempts for an install of php5-5.4 and apache24 for the past couple of weeks and no joy! Have searched google several times were one usually finds an answer.
We can install all of the usual modules we had for php5-5.4 under apache22 with apache24 but the php5 won't load them because it's want to stubbornly load from the wrong location like the following which contained none of the modules even tho we disabled ZTS. Time after time we tried with same results. Thus, we decided to enable ZTS and we got the directories below with the modules within as shown. However, it stuck out its tongue on apache loadup and said none of the mods were "registered."
The usual php/apache location for the mods is :
/usr/local/libexec/apache24/mod_xxx.so and not the
I believe we also saw a warning about use of a threaded apache which I understood is not used by default.
We have been using FBSD for 18 years and never any problem let alonbe a mysterious one like this! I say mysterious because we don't know how to fix this and time is of the essence because we must move our servers to another location and they contain an old Freebsd-7.2 (ouch!) So, we are trying to get our servers here locally configured and then transfer the old stuff to the new ones. This problem won't let us and we have a deadline creeping up.
One suggestion we found said:
Fixing ZTS In Brief :
# kldload dtraceall
# echo 'dtraceall_load="YES"' >> /boot/loader.conf
Reinstall lang/php5: #make install (or reinstall) clean
Didn't do anything for us.
Apache24 loads and can bring up php5-5.4.39 test page < ?php phpinfo(); ?> showing none of our desired modules.
root% /home/sageame#locate zts
Surely someone else out there has run into a similar problem. If so, we would be hugely appreciative!
Thanks in advance!
All the best, :-)
Nancy Belle, belle at antennex.com
More information about the freebsd-questions