Page 1 of 1

zend installed but not working

Posted: Wed Mar 14, 2007 8:39 am
by potato
Hi,

i have a server where i have to install zend optimiser.
I downloaded it from the zend website, the latest version, compatible with php 5.2.1
i uploaded the tar.gz to the server with ftp, followed the install instructions, and restarted apache.
When i type php -v in ssh, i get following result:
PHP 5.2.1 (cli) (built: Mar 13 2007 21:26:44)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.2.4, Copyright (c) 1998-2007, by Zend Technologies
So everything looks fine, i think. But when i open the website http://www.iboost.nl, i see "zend optimiser not installed".
I readed in the manual of the script that i want to install that i have to install zend on server level, but i think i did that because i was logged in as root in ssh.
Somebody knows what i am doing wrong?
I already asked different supports, but none of them make a little bit wiser.

With friendly greetings,
tom

PS: its quite urgent, my website is down for almost 12 hours now! :(

Posted: Wed Mar 14, 2007 8:46 am
by Chris Corbyn
Did you restart apache?

Posted: Wed Mar 14, 2007 8:48 am
by Chris Corbyn
By the way, if your website has been down for so long I'd probably advise putting your unencrypted version back online asap while you fix the problem 8O

Posted: Wed Mar 14, 2007 8:58 am
by potato
First thanx for the anwser.

yes, i restarted apache twice.

And i cant put an unencrypted version online, it is the awbs hosting system, it doesnt work without.
It worked before, but yesterday i rebuilded apache with php 5.2.1, because a client asked me to.

Posted: Wed Mar 14, 2007 10:42 am
by Chris Corbyn
Does the zend optimizer require anything in php.ini? i.e., does the module have to be loaded?

Posted: Wed Mar 14, 2007 10:59 am
by nickvd
What does phpinfo() report?

Posted: Wed Mar 14, 2007 12:26 pm
by volka
Bevibed.be wrote:followed the install instructions
meaning you ran install.sh?

try

Code: Select all

<?php
$ini = get_cfg_var('cfg_file_path');
echo '<div>ini: ', $ini, "</div>\n";

$cfg = file($ini);
foreach($cfg as $c) {
	if ( false!==strpos($c, 'zend_extension') || false!==strpos($c, 'zend_optimizer') ) {
		echo '<div>config: ', $c, "</div>\n";
	}
}
but not with php -f filename but through your webserver; cli and webserver module might use different php.ini files.