Results 1 to 1 of 1
I am a newbie but I don't think this is a newbie problem. I seem to know what I am doing and I have come to a huge bump in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-30-2006 #1
- Join Date
- Aug 2006
- Goose Creek, SC
Cannot load PHP5 with Apache2
./apachectl -k restart
Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: zend_register_list_destructors_ex
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php
./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-sockets --with-config-file-path=/usr/local/lib --enable-ftp --with-zlib --with-openssl --enable-exif --with-gd --enable-memory-limit --with-libxml --with-pic --with-jpeg --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-trans-sid --enable-bcmath --with-bz2 --enable-gd-native-ttf
Sorry, this is long but I am trying to provide as much information as possible. I have tried to Google the solution for hours now and I come up with nothing.
Thank you for any help,
I actually just ran 'make clean ' on php-5.1.6. Then I installed php-5.1.4 and it seems to work now. I guess 5.1.6 is bugged. Unforntunatly, I am still having problems parsing xml dom functions. I installed libxml2-2.6.26 before installing php and I added the --with-libxml argument to the php ./configure command. This is so aggrivating. Any advice on this would be great too.