Norman

Well-Known Member
Sep 20, 2004
88
0
156
I've searched around and see that people are having problems with php 5 and mysql..

However my problem doesn't fall into the MySQL bugs, as I still have our mySQL at 4.0 for right now, I've not decided to upgrade it yet

However, when I updated to php 5.1.4 last night, now ZEND isn't working for some things

My php -v shows it's installed..
[email protected] [~]# php -v
PHP 5.1.4 (cli) (built: May 23 2006 17:32:20)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.0.0, Copyright (c) 1998-2006, by Zend Technologies
I'm not sure if I'm missing something or not..
Thanks in advance.
 

rhenderson

Well-Known Member
Apr 21, 2005
785
1
166
Oklahoma
cPanel Access Level
Root Administrator
Norman said:
I've searched around and see that people are having problems with php 5 and mysql..

However my problem doesn't fall into the MySQL bugs, as I still have our mySQL at 4.0 for right now, I've not decided to upgrade it yet

However, when I updated to php 5.1.4 last night, now ZEND isn't working for some things

My php -v shows it's installed..


I'm not sure if I'm missing something or not..
Thanks in advance.

I have read in some other threads Zend 3.0 is causing problems and if it is causing you problems you should probably revert to 2.62. We editted the /scripts/installzendopt to the following:

Code:
#my $ver = '3.0.0';
my $ver = '2.6.2';
Hope that helps you.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
rhenderson said:
I have read in some other threads Zend 3.0 is causing problems and if it is causing you problems you should probably revert to 2.62. We editted the /scripts/installzendopt to the following:

Code:
#my $ver = '3.0.0';
my $ver = '2.6.2';
That's right. ZendOptimizer v3.x is not 100% compatible with Php yet. Remove v3.x and install the most stable release v2.6.2
 

Norman

Well-Known Member
Sep 20, 2004
88
0
156
Thanks guys.. to help the problem with users yesterday I just downgraded PHP but would like 5.1

I'll try that.. I appreciate the help
 

Norman

Well-Known Member
Sep 20, 2004
88
0
156
Okay I downgraded to 2.6.2 and still getting the same error, that PHP can't find zend..
http://www.myclubinfo.org/test/index.php

Is there another version I can downgrade that will be compatiable with 5.1.4 or do I have to go back to 5.0.5
 
Last edited:

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
Norman said:
Okay I downgraded to 2.6.2 and still getting the same error, that PHP can't find zend.. [/url]

Is there another version I can downgrade that will be compatiable with 5.1.4 or do I have to go back to 5.0.5
Zend v2.6.2 is pretty much compatible with Php 4.x.x and v5.x.x
Are there any error messages?
 

Norman

Well-Known Member
Sep 20, 2004
88
0
156
I did not.. and had to downgrade to get it to work (to 5.0.5) ..

I'm rebuiling now.. it will break a couple of hosted sites, but they know what's going on..
 

Norman

Well-Known Member
Sep 20, 2004
88
0
156
Okay so I got this figured out..

I now have php 5.1.4 and zend optimizer 3.0 working hand in hand with no problems

I had to re-compile apache (easyapache) with Versioning turned off..