View previous topic :: View next topic |
Author |
Message |
chovy Guru
Joined: 03 Dec 2004 Posts: 453
|
Posted: Fri May 14, 2010 7:34 am Post subject: how to enable ZendOptimizer on gentoo? |
|
|
I have php5 + apache2 and installed ZendOptimizer -- I just need to figure out how to enable it.
There should be a "Zend Optimizer" section on phpinfo(); but I'm not seeing it. _________________ Woof, Woof! Add "[solved]" to the title! Woof, Woof! |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Fri May 28, 2010 10:06 am Post subject: |
|
|
Did you restart Apache after installing Zend?
what do you get from:
I think it should be listed there too? |
|
Back to top |
|
|
chovy Guru
Joined: 03 Dec 2004 Posts: 453
|
Posted: Fri May 28, 2010 4:26 pm Post subject: |
|
|
Code: | $ sudo php -v
Failed loading /usr/lib/php5/lib/php/extensions/no-debug-zts-20060613/ZendOptimizer.so: /usr/lib/php5/lib/php/extensions/no-debug-zts-20060613/ZendOptimizer.so: cannot open shared object file: No such file or directory
PHP 5.2.13-pl0-gentoo (cli) (built: May 13 2010 22:39:40)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
|
_________________ Woof, Woof! Add "[solved]" to the title! Woof, Woof! |
|
Back to top |
|
|
Shining Arcanine Veteran
Joined: 24 Sep 2009 Posts: 1110
|
Posted: Sat May 29, 2010 11:21 pm Post subject: |
|
|
It sounds like your php.ini file is misconfigured. You will need to edit to to point to the current location of the ZendOptimizer plugin. |
|
Back to top |
|
|
gr0x0rd Guru
Joined: 12 Aug 2006 Posts: 311
|
Posted: Sun Jun 12, 2011 6:10 am Post subject: |
|
|
Were you able to get Zend Optimizer working properly? I am running php-5.2.17. The extension shows up in phpinfo but only once- after the first php page has been parsed and output has been given to the browser, apache list a segmentation fault in its error log, and has to be restarted before any php pages work again. The command line seems to work fine.
If you managed to get it working, I'll try downgrading php to your version...
Cheers! _________________ ~g
emerge -FML... |
|
Back to top |
|
|
gr0x0rd Guru
Joined: 12 Aug 2006 Posts: 311
|
Posted: Sun Jun 12, 2011 8:36 pm Post subject: |
|
|
I was finally able to get ZendOptimizer working with the following configuration. It would not get along with php-5.2.17. It also complained about the latest version of the Zend framework in portage, so I had to go with a previous version.
dev-lang/php-5.2.14
dev-php/ZendFramework-1.10.7
ZendOptimizer-3.3.9
Good luck! _________________ ~g
emerge -FML... |
|
Back to top |
|
|
|