Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to enable ZendOptimizer on gentoo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
chovy
Guru
Guru


Joined: 03 Dec 2004
Posts: 453

PostPosted: Fri May 14, 2010 7:34 am    Post subject: how to enable ZendOptimizer on gentoo? Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Fri May 28, 2010 10:06 am    Post subject: Reply with quote

Did you restart Apache after installing Zend?

what do you get from:

Code:
# php -v


I think it should be listed there too?
Back to top
View user's profile Send private message
chovy
Guru
Guru


Joined: 03 Dec 2004
Posts: 453

PostPosted: Fri May 28, 2010 4:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat May 29, 2010 11:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
gr0x0rd
Guru
Guru


Joined: 12 Aug 2006
Posts: 311

PostPosted: Sun Jun 12, 2011 6:10 am    Post subject: Reply with quote

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
View user's profile Send private message
gr0x0rd
Guru
Guru


Joined: 12 Aug 2006
Posts: 311

PostPosted: Sun Jun 12, 2011 8:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum