php 5.3.3 and no Zend Optimizer

have same problem. Zend doesnt work after php from 5.2.14 to 5.3.3 updating. Does DA support Zend for 5.3.3?

Yes, it does. Use CustomBuild 1.2 (support should be backported to 1.1 soon too).
 
I not tested with RHEL
but reading zend forum i saw that ppl got error on centos:
Code:
ZendOptimizerPlus.so : undefined symbol: shm_open

I am getting this when I run php -i | grep extension_dir - has anyone found a resolution?

Thank you!
 
This worked fine for me as well:

PHP 5.3.5 (cli) (built: Mar 14 2011 14:26:06)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Optimizer+ v4.1, Copyright (c) 1999-2010, by Zend Technologies
 
Anyone running php 5.3 + Zend on a Freebsd 6.2 box?

I guess im not going to be able to install 5.3 + Zend on a Freebsd 6.2 box.

Problem is, when i follow the above installation i get a "cannot find lib6.so"

Adding compat6 doesnt work because thats for Freebsd 7.

So whats the solution?

php -v
PHP 5.3.8 (cli) (built: Nov 3 2011 02:18:05)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with the ionCube PHP Loader v4.0.10, Copyright (c) 2002-2011, by ionCube Ltd.
 
Excuse me, guys, but I need exact name of archive from custombuild to install ZendOptimizer for PHP 5.3 Freebsd manually. I wouldn't move to linux and I didn't have php5.2 any more on my servers.
 
Just compiled PHP 5.2 statically then load ZendOptimizer 5.2 FreeBSD into /usr/local/lib/php52.ini and assign CGI handler for user site

$ ll public_html/cgi-bin
total 6080
-rwx--x--x 1 --- --- 34 Nov 26 10:55 php
-rwx--x--x 1 --- --- 6150112 Nov 26 10:43 php-cgi
-rw-r--r-- 1 --- --- 46289 Nov 26 10:46 php52.ini

$ cat public_html/cgi-bin/php
#!/bin/sh
./php-cgi -c php52.ini

$ head -5 public_html/.htaccess
# PHP 5.2 as CGI with ZEND /hate you, Zend developers!/
# but if you want your site working, don't touch this
Action php-cgi-script /cgi-bin/php
AddHandler php-cgi-script .php

That's all I need for old paranoic user sites start working.

/FreeBSD 6.4-STABLE: Apache 2.2.23-MPM-ITK + php 5.3.18 DSO + php 5.2.17 CGI/
 
Last edited:
i manage to downlaod the file and upload to the path. after installed. zend is showing but seen like not working on my script.

[root@server3 custombuild]# php -v
PHP 5.3.20 (cli) (built: Jan 11 2013 07:23:48)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
with Zend Optimizer+ v4.1, Copyright (c) 1999-2010, by Zend Technologies
[root@server3 custombuild]#
 
It's also still showing php 5.3.20. I don't know if 2 versions should be visible or what.
Someone else has to help you with that, I never ran 2 versions of php at the same time.
 
Back
Top