|
From: Andreas L. diginights.c. <an...@di...> - 2006-08-23 09:57:57
|
Hi Hans, Maybe this helps: I switched PHP Debug and eA Debug on. If i try to load php as zend_extension the effect keeps the same. php-cli detets eA, mod_php not. After that i tried to load as php_extension and the following line appears in PHP error.log: [23-Aug-2006 11:55:04] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/share/extensions/no-debug-non-zts-20050922/eaccelerator.so' - /usr/share/extensions/no-debug-non-zts-20050922/eaccelerator.so: undefined symbol: _zval_ptr_dtor in Unknown on line 0 eA Version used: eaccelerator-svn260 Thanks. andy Hans Rakers wrote: > Hi, > > Just a few pointers: > > -are you sure your php apache module uses the same php.ini file? > -are you sure your php versions match across the various packages (php,= =20 > php-dev, libapache2-mod-php5)? > -did you totally empty your cachedir? > -try compiling eaccelerator with --with-eaccelerator-debug, configure a= =20 > eaccelerator.log_file and set eaccelerator.debug to something like 15,=20 > and see if that gives you any pointers > -try configuring php to log all php errors (startup errors, script=20 > errors etc) to a file, by setting log_errors to on, and setting=20 > error_log to your log location e.g. /var/log/php/error.log and see if=20 > that gives you any pointers > > Please try/verify these steps and report back. > > Regards, > > > Hans Rakers > > > Andreas Lehr; diginights.com wrote: > =20 >> Hi there, >> >> We now have used PHP 5.0.x and eAccelerator 0.94.x for about 1 year, >> running different Versions of PHP, apache and eA. >> Now we tried using the latest Version 0.95-rc1 with PHP 5.1.5. But we=B4= re >> not able to get it running :( >> >> But its running with php-cli: >> php -v >> PHP 5.1.5 (cli) (built: Aug 21 2006 15:49:49) >> Copyright (c) 1997-2006 The PHP Group >> Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies >> with eAccelerator v0.9.5-rc1, Copyright (c) 2004-2006 eAccelerator= , >> by eAccelerator >> >> "php -m" anf "php -e" are showing the parameters of eA. >> [Zend Modules] >> eAccelerator >> >> But together with mod_php the extension seems not to be loaded. >> phpinfo() doesn=B4t show any eA parameters, and the "control.php" says >> that eA is not loaded :( >> Although phpinfo shows the same php build date as "php -e" does, that >> means that the correct and fresh build module is used. >> >> Used Versions: >> Debian, Kernel 2.6.14.2 >> PHP 5.1.5 >> Apache 2.0.59 >> eA 0.95-rc1 >> >> There are no errors in the apache error log. >> Tried to load eA as Zend Extension and as normal php extension. Nothin= g >> worked. >> I attached php.ini and php Configure Options. With these Options older >> Versions run fine. >> If you need more Information please let me know. >> >> Thank you very much. >> >> andy >> >> #### >> php.ini >> #### >> >> zend_extension=3D"/usr/share/extensions/no-debug-non-zts-20050922/eacc= elerator.so" >> eaccelerator.shm_size=3D"30" >> eaccelerator.cache_dir=3D"/tmp/eaccelerator" >> eaccelerator.enable=3D"1" >> eaccelerator.optimizer=3D"1" >> eaccelerator.check_mtime=3D"1" >> eaccelerator.debug=3D"0" >> eaccelerator.filter=3D"" >> eaccelerator.shm_max=3D"0" >> eaccelerator.shm_ttl=3D"0" >> eaccelerator.shm_prune_period=3D"0" >> eaccelerator.shm_only=3D"0" >> eaccelerator.compress=3D"1" >> eaccelerator.compress_level=3D"9" >> ;eaccelerator.allowed_admin_path=3D"" >> >> ##### >> php configure options >> ##### >> './configure' '--prefix=3D/usr/share' '--datadir=3D/usr/share/php' >> '--bindir=3D/usr/bin' '--libdir=3D/usr/share' '--with-config-file-path= =3D/etc' >> '--with-exec-dir=3D/usr/lib/php/bin' '--with-gd=3Dyes' >> '--enable-gd-native-ttf' '--enable-gd-imgstrttf' '--enable-gd-freetype= ' >> '--with-tiff-dir=3D/usr' '--with-jpeg-dir=3D/usr' '--with-png-dir=3D/u= sr' >> '--with-xpm-dir=3D/usr/X11R6' '--with-zlib=3Dyes' '--with-xml' '--with= -ttf' >> '--with-t1lib' '--with-mcal=3D/usr' '--with-imap-ssl=3Dyes' '--with-sa= blot' >> '--with-ftp' '--with-mcrypt' '--with-gettext' '--with-gd=3Dyes' >> '--enable-versioning' '--enable-yp' '--enable-bcmath' >> '--enable-trans-sid' '--enable-soap' '--enable-inline-optimization' >> '--enable-track-vars' '--enable-magic-quotes' '--enable-safe-mode' >> '--with-freetype-dir' '--enable-sockets' '--enable-sysvsem' >> '--enable-sysvshm' '--enable-shmop' '--enable-calendar' >> '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-exif' >> '--enable-ftp' '--enable-memory-limit' '--enable-wddx' >> '--enable-filepro' '--enable-ctype' '--disable-debug' >> '--enable-force-cgi-redirect' '--enable-discard-path' >> '--enable-sigchild' '--with-apxs2=3D/usr/local/apache2/bin/apxs' >> '--disable-cgi' '--enable-track-vars' '--enable-versioning' >> '--enable-sysvshm' '--enable-sysvsem' '--enable-sysvmsg' '--with-mysql= i' >> '--with-mysql=3D/usr/include/mysql' >> >> >> >> >> ----------------------------------------------------------------------= --- >> Using Tomcat but need to do more? Need to support web services, securi= ty? >> Get stuff done quickly with pre-integrated technology to make your job= easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Gero= nimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&da= t=3D121642 >> _______________________________________________ >> eAccelerator-developers mailing list >> eAc...@li... >> https://lists.sourceforge.net/lists/listinfo/eaccelerator-developers >> =20 >> =20 > > > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > eAccelerator-developers mailing list > eAc...@li... > https://lists.sourceforge.net/lists/listinfo/eaccelerator-developers > =20 --=20 Technik/Systemadministration http://diginights.com mail: an...@di... fon: 0174/1715753 Wir bringen die Nacht ins Netz! |