Cannot load /usr/lib/apache/libphp5.so with php 5.4.16

dmacleo

Verified User
Joined
Jun 21, 2012
Messages
631
did not see this with php 5.4.15
error after ./build php run using mod_php and modruid
Starting httpd: httpd: Syntax error on line 38 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined symbol: OnUpdateLong

there a way to restrict to 5.4.15?
did try ./build php n and ./build rewite_confs too
 
Did you remember to run ./build update before ./build rewrite_confs ? I running custombuild 2.0 and php 5.4.16 as mod_php and mod_ruid2 on 4 servers, and I do not have any problems like that.
 
heres how I worked around it
set php1 to mod_php
php2 to whatever
modruid2 to no

build clean, build update, build apache then build php n
then I could set to modruid2 yes and build apache and build php n again and it seems ok.

and yes I did run build update prior also.
 
Back
Top