|
From: Hans R. <ha...@pa...> - 2006-08-22 20:33:19
|
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, php-dev, libapache2-mod-php5)? -did you totally empty your cachedir? -try compiling eaccelerator with --with-eaccelerator-debug, configure a eaccelerator.log_file and set eaccelerator.debug to something like 15, and see if that gives you any pointers -try configuring php to log all php errors (startup errors, script errors etc) to a file, by setting log_errors to on, and setting error_log to your log location e.g. /var/log/php/error.log and see if that gives you any pointers Please try/verify these steps and report back. Regards, Hans Rakers Andreas Lehr; diginights.com wrote: > 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´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´t 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. Nothing > 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="/usr/share/extensions/no-debug-non-zts-20050922/eaccelerator.so" > eaccelerator.shm_size="30" > eaccelerator.cache_dir="/tmp/eaccelerator" > eaccelerator.enable="1" > eaccelerator.optimizer="1" > eaccelerator.check_mtime="1" > eaccelerator.debug="0" > eaccelerator.filter="" > eaccelerator.shm_max="0" > eaccelerator.shm_ttl="0" > eaccelerator.shm_prune_period="0" > eaccelerator.shm_only="0" > eaccelerator.compress="1" > eaccelerator.compress_level="9" > ;eaccelerator.allowed_admin_path="" > > ##### > php configure options > ##### > './configure' '--prefix=/usr/share' '--datadir=/usr/share/php' > '--bindir=/usr/bin' '--libdir=/usr/share' '--with-config-file-path=/etc' > '--with-exec-dir=/usr/lib/php/bin' '--with-gd=yes' > '--enable-gd-native-ttf' '--enable-gd-imgstrttf' '--enable-gd-freetype' > '--with-tiff-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' > '--with-xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-xml' '--with-ttf' > '--with-t1lib' '--with-mcal=/usr' '--with-imap-ssl=yes' '--with-sablot' > '--with-ftp' '--with-mcrypt' '--with-gettext' '--with-gd=yes' > '--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=/usr/local/apache2/bin/apxs' > '--disable-cgi' '--enable-track-vars' '--enable-versioning' > '--enable-sysvshm' '--enable-sysvsem' '--enable-sysvmsg' '--with-mysqli' > '--with-mysql=/usr/include/mysql' > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > 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 Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > eAccelerator-developers mailing list > eAc...@li... > https://lists.sourceforge.net/lists/listinfo/eaccelerator-developers > |