Opened 7 years ago

Closed 7 years ago

#122 closed defect (invalid)

Xcache not loaded with php 5.2.4

Reported by: axel Owned by: moo
Priority: major Milestone: 1.2.2
Component: cacher Version: 1.2.1
Keywords: Cc: asauerhoefer@…
Application: PHP Version: 5.2.4
Other Exts: SAPI: apache2handler
Probability: Blocked By:
Blocking:

Description (last modified by moo)

Hi @all,

today i upgraded my php version from 5.2.3 to 5.2.4. Xcache workes fine with 5.2.3 as zend_extension_ts but with 5.2.4 the extension wouldn't be loaded.

Host: Linux h1318780.stratoserver.net 2.6.9-023stab043.1-smp #1 SMP Mon Mar 5 16:38:22 MSK 2007 i686 GNU/Linux

OS: Debian 3.1 ( Sarge )

Php is compieled from source with following configure:

Configure Command =>  './configure'  '--prefix=/usr/local/php-5.2.4-suhosin' '--with-apxs2=/usr/local/apache2-worker/bin/apxs' '--with-openssl' '--with-zlib' '--enable-bcmath' '--with-curl' '--enable-exif' '
--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--enable-mbstring' '--with-mcrypt' '--with-mhash' '--with-mime-magic' '--with-mysql=/usr/local/mysql-5.0.4-client' '--with-mysqli=/usr/local/mysql-5.0.4/bi
n/mysql_config' '--enable-pcntl' '--disable-pdo' '--enable-soap' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-tidy' '--with-xsl' '--enable-zip' '--without-pear' '--with-zend-vm=GOTO' '--w
ith-tsrm-pthreads' '--with-pic' '--with-gettext' '--with-imap' '--with-kerberos' '--with-imap-ssl'

Change History (5)

comment:1 Changed 7 years ago by moo

  • Description modified (diff)

did you recompile XCache? ever time you upgrade php, you should recompile XCache

comment:2 Changed 7 years ago by axel

  • pending changed from 1 to 0

Hi,

yes of course i recompiled xcache like this:

make distclean
make
make install

best regards,
axel

comment:3 Changed 7 years ago by moo

"won't work" or "won't load" is useless. can u pls try to run php-cgi -v or php-cli -v (php -v) and see what's going on? (suppose you have load xcache for cgi or cli in php.ini)

or "/usr/bin/httpd -X", any error/warnning is important

comment:4 Changed 7 years ago by axel

Hi,

thank you for the help :) I found the problem, there was a broken symlink to php.ini.

best regards,
axel

Please close this ticket.

comment:5 Changed 7 years ago by moo

  • Resolution set to invalid
  • Status changed from new to closed

thanks. nice to see it works for you

Note: See TracTickets for help on using tickets.