Доброе время суток!
Поставил Ubuntu Server 9.04 (amd64, на i386 версии та же ситуация) LAMP + Zend Optimizer, но в выводе php -m (и php -v) упоминания о загруженном Zend Optimizer отсутствуют как факт (хотя phpinfo(); их находит и показывает в браузере).# php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
date
dba
dom
exif
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
mime_magic
ncurses
openssl
pcntl
pcre
PDO
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib[Zend Modules]
# php -v
PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2009 14:35:05)
Copyright © 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright © 1998-2008 Zend TechnologiesPHP по-умолчанию с Suhosin Patch.
Как заставить работать Zend Optimizer?
Прописал Zend в php.ini которые расположены в папках:
/etc/php5/cli
/etc/php5/cgi
/etc/php5/apache2
в виде линков на /usr/local/Zend/etc/php.iniпосле этого:
Код:# php -v
PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 26 2009 22:16:23)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
# php-cgi -v
PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: Apr 26 2009 22:11:16)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
# php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
date
dba
dom
exif
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mime_magic
mysql
mysqli
ncurses
openssl
pcntl
pcre
PDO
pdo_mysql
posix
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend Optimizer
zip
zlib[Zend Modules]
Zend Extension Manager
Zend Optimizer
# php-cgi -m
[PHP Modules]
bcmath
bz2
calendar
cgi-fcgi
ctype
date
dba
dom
exif
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mime_magic
mysql
mysqli
openssl
pcre
PDO
pdo_mysql
posix
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend Optimizer
zip
zlib[Zend Modules]
Zend Extension Manager
Zend OptimizerSegmentation fault
Вылезло в php-cgi -m Segmentation fault...
После перезапаковки Zend Guard все кроме php-cgi заработало...
>[Zend Modules]
>Zend Extension Manager
>Zend Optimizer
>
>Segmentation fault
>
>Вылезло в php-cgi -m Segmentation fault...тут фикс
http://forums.zend.com/viewtopic.php?f=57&t=1242&sid=88bd4c8...