Ik heb zojuist op me routertje hier thuis apache 2.0.28 geinstalleerd, dit ging goed, draait al. Toen wilde ik ook PHP op 2.0.28 hebben draaien, ik dus compileren :
Ging ook nog helemaal goed. Uiteraard de httpd.conf aangepast aan PHP. En toen kwam het : het starten van apache :
Regeltje 198 is de volgende regel :
libphp4.so staat daar wel :
Ik kan alleen niet bedenken waar undefined symbol: ap_block_alarms staat en wat ik eraan kan doen.
Iemand een idee ?
code:
1
2
| ./configure --with-apxs=/etc/apache2/bin/apxs --with-ftp --with-xml --enable-magic-quotes --with-gd --with-zlib-dir=/usr/lib --with-png-dir=/usr/lib --with-jpeg-dir=/usr/local/lib/ --with-regex=system --enable-safe-mode |
Ging ook nog helemaal goed. Uiteraard de httpd.conf aangepast aan PHP. En toen kwam het : het starten van apache :
code:
1
2
3
4
| [root@localhost conf]# /etc/apache2/bin/apachectl start Syntax error on line 198 of /etc/apache2/conf/httpd.conf: Cannot load /etc/apache2/modules/libphp4.so into server: /etc/apache2/modules/libphp4.so: undefined symbol: ap_block_alarms /etc/apache2/bin/apachectl start: httpd could not be started |
Regeltje 198 is de volgende regel :
code:
1
| LoadModule php4_module modules/libphp4.so |
libphp4.so staat daar wel :
code:
1
2
3
4
5
| [root@localhost conf]# locate libphp4.so /install/php-4.1.1/libs/libphp4.so /install/php-4.1.1/.libs/libphp4.so /etc/apache2/modules/libphp4.so /usr/local/apache/libexec/libphp4.so |
Ik kan alleen niet bedenken waar undefined symbol: ap_block_alarms staat en wat ik eraan kan doen.
Iemand een idee ?