Jump to content

Cannot load libphp5.so: undefined symbol: _zend_list_delete


Recommended Posts

I recently upgraded my MySQL to 5.0.19 and wanted to configure them in php.

i intaled from rpm :

MySQL-client-standard-5.0.19-0
MySQL-devel-standard-5.0.19-0
MySQL-server-standard-5.0.19-0
MySQL-shared-compat-5.0.19-0

then i tried to get them to work with php-5.1.1 so i did a

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pear --with-mcrypt --with-mysql
make
make install

but whe i tried to start php i got the folowing error :

Syntax error on line 233 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: _zend_list_delete

can anybodey thell me what i have done rong or what do i have to do to fix this???
Link to comment
Share on other sites

  • 4 weeks later...
hi.
there may be some problem with the path to libc and other libs on your system.
per default php5 s configure script uses /usr/local/lib.
you might want to add some --libdir=/usr/lib to your ./configure
like
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pear --with-mcrypt --with-mysql --libdir=/usr/lib

to be sure it uses the new path do some
make clean
make distclean
before recompiling.

if /usr/lib doesent work you may look for your systems default library direcotry :)


[!--quoteo(post=363267:date=Apr 10 2006, 06:31 PM:name=gopporo)--][div class=\'quotetop\']QUOTE(gopporo @ Apr 10 2006, 06:31 PM) [snapback]363267[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I recently upgraded my MySQL to 5.0.19 and wanted to configure them in php.

i intaled from rpm :

MySQL-client-standard-5.0.19-0
MySQL-devel-standard-5.0.19-0
MySQL-server-standard-5.0.19-0
MySQL-shared-compat-5.0.19-0

then i tried to get them to work with php-5.1.1 so i did a

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pear --with-mcrypt --with-mysql
make
make install

but whe i tried to start php i got the folowing error :

Syntax error on line 233 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: _zend_list_delete

can anybodey thell me what i have done rong or what do i have to do to fix this???
[/quote]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.