PDA

View Full Version : I have problem with Zend Optimizer



hama
05-19-2008, 07:50 AM
I would like to have latest php.ini and
Can you give me he correct path of Zend Optimizer that has been working

I install script , they said they want Zend Optimizer but i can't install

I see phpinfo.php on my root(hostmonster) no zend optimizer same picture above(other host)

I get this error in error log

[19-May-2008 07:01:50] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0 [19-May-2008 07:01:55] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0

So I changed Zend Optimizer path in php.ini file same in this topic http://hostmonsterforum.com/showthread.php?t=455&highlight=zend+optimizer
and

http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=127

but I still get

[19-May-2008 07:01:55] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0

hama
05-19-2008, 08:57 PM
do hostmonster have Zend Optimzer 3.x and above

hama
05-20-2008, 07:51 PM
Any HM Man here?
this forum is for hostmonster customer,right? or I am wrong?

Anybody can help me?

I just wonder does hostmonster really have Zend Optimzer?
or they just lie they have bla bla..

becuase I see nothing about Zend Optimizer in phpinfo.php
and all of my site get this error


[19-May-2008 07:01:50] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0 [19-May-2008 07:01:55] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0AGAIN... all my site

So I change php.ini file to


[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so that describe here

http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=127

but i still get this error


[19-May-2008 07:01:50] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0 [19-May-2008 07:01:55] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0So I wornder does HOSTMONSTER REALLY HAVE ZEND OPTIMIZER????

I know you have ZEND Engine BUT I wonder you have Zend Optimizer or not? And If you have Zend Optimizer ,What version of Zenoptimer you have???

The Script require Zend Optimizer Version 3 and above BUT other people (on other HOST) have only Version 2.5 and they can run script

1. Do you have Zend Optimizer?
- If you have Zend Optimizer why I get this error on all my site


[19-May-2008 07:01:50] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0 [19-May-2008 07:01:55] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 02. If you have Zend Optimizer, What Version you have?
- Becuase OTHER HOST have only version 2.5 and they can run but you cannot that mean you have very low version of Zend Optimzer OR actually you DO NOT have (see no.1)

3. Why you give php.ini with wrong path to everybody
- Why when I( and Other Customer) create Subdomain or Add new domain I will get default php.ini with WRONG PATH OF ZEND

this is default php.ini that server give me


[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

But Helpdesk (http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=127) say the correct path is


[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so Which one CORRECT?
- If you have chagned zend path same as helpdesk say Why you do not update default php.ini in server Beause now everbody that create subdomain or add domain they will get php.ini with wrong ZEND path, So what? they have to find the truth and change it by themselve?, If you change it in main server,It's easier?

And why I change Zend path in php.ini same helpdesk say that correct I still get this error.. ????



[19-May-2008 07:01:50] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0 [19-May-2008 07:01:55] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0So............................................... ........

BUT ALL THE THINGS I STILL WONDER DOES HOSTMONSTER REALLY HAVE ZEND OPTIMIZER OR NOT?

r2b2
05-20-2008, 07:57 PM
This is a user-to-user forum and not monitored by Hostmonster support. I would suggest that you are best raising this question with Hostmonster support via LiveChat or a support ticket.

hama
05-21-2008, 03:43 AM
Oh thanks

I asked them lastnight and they said you should see
http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=127

so I follow the instruction but I still get error them I come to post here.

shadmego
05-21-2008, 06:30 AM
You can try two things to get rid of this error:

1. Turn of FastCGI in your CPanel area.

To do this, log into CPanel, find and click on PHP Config in Software/Services and then select the PHP5 (FastCGI).

2. Make a copy of php.ini and place it in EVERY directory where php scripts are running.

To make a copy of your php.ini file for every directory in your account, follow the instructions on this (http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=248) page.

Please note that you SHOULD NOT do both options. Choose one or the other.

~regards

hama
05-21-2008, 09:06 PM
Thank

I'll try

hama
05-24-2008, 07:26 PM
To others who have zend optimizer problem and search to find here

the problem is you follow the wrong advice.. so

DO NOT follow this topic (below link) http://hostmonsterforum.com/showthread.php?t=455&highlight=zend+optimizer
and DO NOT follow description in helpdesk because..

This zend path is wrong
you will get this when you add domain or subdomain

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

This zend path is wrong also
you will get this from HelpDesk (http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=127)

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

The Correctzend path is

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3

zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

You can get correct zend path in Control Panel > PHP config > Install Default php.ini

this Default php.ini is all correct php.ini after you get it you can edit and use it as your php.ini

bigsend
07-20-2008, 02:25 AM
To others who have zend optimizer problem and search to find here

the problem is you follow the wrong advice.. so

DO NOT follow this topic (below link) http://hostmonsterforum.com/showthread.php?t=455&highlight=zend+optimizer
and DO NOT follow description in helpdesk because..

This zend path is wrong
you will get this when you add domain or subdomain

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

This zend path is wrong also
you will get this from HelpDesk (http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=127)

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

The Correctzend path is

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3

zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

You can get correct zend path in Control Panel > PHP config > Install Default php.ini

this Default php.ini is all correct php.ini after you get it you can edit and use it as your php.ini

Hey, thanks a LOT for sharing this!!!

eugenio
09-24-2008, 01:41 AM
[/color]The Correctzend path is

[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3

zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

You can get correct zend path in Control Panel > PHP config > Install Default php.ini

this Default php.ini is all correct php.ini after you get it you can edit and use it as your php.ini


I've did what you suggest, but I still get

[Wed Sep 24 01:34:14 2008] [error] [client 123.4.70.118] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals, referer: http://www.gougouzhizuozu.com/viewthread.php?tid=4227&extra=page%3D1[Wed Sep 24 01:34:14 2008] [error] [client 66.249.70.73] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals
[Wed Sep 24 01:34:14 2008] [error] [client 74.6.8.92] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals
[Wed Sep 24 01:34:14 2008] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.[Wed Sep 24 01:34:15 2008] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed Sep 24 01:34:15 2008] [error] [client 220.181.61.197] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals
[Wed Sep 24 01:34:15 2008] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed Sep 24 01:34:15 2008] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed Sep 24 01:34:15 2008] [error] [client 143.238.113.229] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals, referer: http://arcticantics.com/ducky.php
[Wed Sep 24 01:34:15 2008] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed Sep 24 01:34:16 2008] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed Sep 24 01:34:16 2008] [error] [client 123.4.70.118] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals, referer: http://www.gougouzhizuozu.com/viewthread.php?tid=4227&extra=page%3D1
[Wed Sep 24 01:34:16 2008] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed Sep 24 01:34:16 2008] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Wed Sep 24 01:34:16 2008] [error] [client 124.115.0.156] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals, referer: http://www.barcodebbs.net/thread-54866-1-1.html

:eek:

ANYBODY HELP ME???

THANK YOU :)

Wernerjb
10-03-2008, 11:16 AM
Did you ever resolve the problem? I'm just getting ready to install ZendOptimizer in HM and wanted to check what is going on before attempting this installtion.

rjones
02-03-2009, 09:26 PM
Here is a quick post to help all of you having this problem. I kept getting this same error message and for 2-3 days I was obsessed with trying to fix the problem. I was trying to access the administrators area of a PHP script (the back end). The front end seemed to be loading appropriately. I tried all the changes to my php.ini file recommended here, in particular setting the register_globals to on and changing the Zend optimizer section in the php.ini file as recommended above (I tried both changes recommended in this tread). In the end, none of these changes fixed my problem. Here is the simple solution that fixed my problem. I went to the siteadmin folder in my program and performed a chmod from 777 to 755. Those last two numbers created a security issue that prevented the back end of the PHP script from working correctly and thus it did not load giving me the following error in my error log: Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so

I hope this post helps other people save time!

conjamuk
02-03-2009, 10:56 PM
Thanks this fixed my problems. http://www.1-imageshack.us/images/images/s8d7f98ds7fd8f7d8

cfeedback
02-06-2009, 01:55 AM
I would appreciate any help with this as well...I run a very basic site with a few simple html files and a phpBB3 forum with about 30-40 users. Whatever Zend Optimizer is, I'm not knowingly trying to use it. My server error log is filled with dozens of errors per minute related to this, such as:



[Fri Feb 06 01:46:27 2009] [error] [client 87.118.126.206] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals, referer: http://comunidadeseducao.com/modules.php?name=Forums
[Fri Feb 06 01:46:28 2009] [error] [client 91.121.71.155] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals [Fri Feb 06 01:46:29 2009] [error] [client 87.118.126.206] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals, referer: http://comunidadeseducao.com/modules.php?name=Forums
[Fri Feb 06 01:46:31 2009] [error] [client 87.118.126.206] Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals, referer: http://comunidadeseducao.com/modules.php?name=Forums&file=viewforum&f=4

I have no clue what any of these referrers are (there's always a ton more than in the example listed above), we are a small baseball sim league. Thanks in advance for any help!

zking
02-12-2009, 04:46 PM
Same problem here. I've got an error log with several of these every minute.

Failed loading /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer/php-5.2.x/ZendOptimizer.so: undefined symbol: compiler_globals

I tried the default php.ini thing and still get these.