zend installed but not working

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
potato
Forum Contributor
Posts: 192
Joined: Tue Mar 16, 2004 8:30 am
Location: my lovely trailer, next to the big tree

zend installed but not working

Post 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! :(
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Did you restart apache?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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
User avatar
potato
Forum Contributor
Posts: 192
Joined: Tue Mar 16, 2004 8:30 am
Location: my lovely trailer, next to the big tree

Post 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.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Does the zend optimizer require anything in php.ini? i.e., does the module have to be loaded?
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

What does phpinfo() report?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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.
Post Reply