PHP 5.2.12 and mycrypt

Community support for Plesk, CPanel, WebMin and others with insight from two of the founders of Plesk. Ask for help here! No question is too simple or complicated. :-)
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: PHP 5.2.12 and mycrypt

Unread post by KrazyBob »

I feel your pain Brother Faris!
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: PHP 5.2.12 and mycrypt

Unread post by KrazyBob »

So far I don't see a solution for sqlite and my client insists on 5.3 even with errors. Anything?
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: PHP 5.2.12 and mycrypt

Unread post by KrazyBob »

You can't run yum upgrade eon Plesk. You'll mangle it! Who left those instructions?
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: PHP 5.2.12 and mycrypt

Unread post by KrazyBob »

I TOLD YOU IT WOULD NOT WORK! Now here I am am , stuck over my head at 1am.

Code: Select all

--> Processing Conflict: php conflicts php-zend-optimizer
--> Finished Dependency Resolution
httpd-devel-2.2.3-65.el5.centos.i386 from updates has depsolving problems
  --> Missing Dependency: httpd = 2.2.3-65.el5.centos is needed by package httpd-devel-2.2.3-65.el5.centos.i386 (updates)
php-5.3.15-7.el5.art.x86_64 from atomic has depsolving problems
  --> php conflicts with php-zend-optimizer
Error: Missing Dependency: httpd = 2.2.3-65.el5.centos is needed by package httpd-devel-2.2.3-65.el5.centos.i386 (updates)
Error: php conflicts with php-zend-optimizer
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: PHP 5.2.12 and mycrypt

Unread post by breun »

PHP Zend Optimizer is indeed not compatible with PHP 5.3 and up. You'll need to remove the php-zend-optimizer package if you want to upgrade to PHP 5.3.
Lemonbit Internet Dedicated Server Management
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: PHP 5.2.12 and mycrypt

Unread post by KrazyBob »

I wish the directions I was sent to said that.

How do I remove Zend? Please? ionCube?

Do I run yum upgrade or yum upgrade php*
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: PHP 5.2.12 and mycrypt

Unread post by KrazyBob »

Code: Select all

--> Finished Dependency Resolution
httpd-devel-2.2.3-65.el5.centos.i386 from updates has depsolving problems
  --> Missing Dependency: httpd = 2.2.3-65.el5.centos is needed by package httpd-devel-2.2.3-65.el5.centos.i386 (updates)
Error: Missing Dependency: httpd = 2.2.3-65.el5.centos is needed by package httpd-devel-2.2.3-65.el5.centos.i386 (updates)
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: PHP 5.2.12 and mycrypt

Unread post by breun »

KrazyBob wrote:I wish the directions I was sent to said that.
The php package itself is telling you that. To me, that's even better.
KrazyBob wrote:How do I remove Zend? Please?
Just like any other package:

Code: Select all

yum remove php-zend-optimizer
KrazyBob wrote:ionCube?
What about it?
Do I run yum upgrade or yum upgrade php*
That depends on whether you want to install all available updates or only the packages that start with php.
Lemonbit Internet Dedicated Server Management
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: PHP 5.2.12 and mycrypt

Unread post by KrazyBob »

I didn't work. It just produces more errors that I have already posted. You assume I know as much as you and can interpret the errors. I cannot.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: PHP 5.2.12 and mycrypt

Unread post by breun »

KrazyBob wrote:

Code: Select all

--> Finished Dependency Resolution
httpd-devel-2.2.3-65.el5.centos.i386 from updates has depsolving problems
  --> Missing Dependency: httpd = 2.2.3-65.el5.centos is needed by package httpd-devel-2.2.3-65.el5.centos.i386 (updates)
Error: Missing Dependency: httpd = 2.2.3-65.el5.centos is needed by package httpd-devel-2.2.3-65.el5.centos.i386 (updates)
Looks like something is wrong with your repository configuration. What is the output of rpm -qa | grep ^httpd? And what are the contents of /etc/yum.repos.d/CentOS-Base.repo?
Lemonbit Internet Dedicated Server Management
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: PHP 5.2.12 and mycrypt

Unread post by breun »

KrazyBob wrote:I didn't work. It just produces more errors that I have already posted. You assume I know as much as you and can interpret the errors. I cannot.
This is the message telling you the php package is conflicting with the php-zend-optimizer package:

Code: Select all

Error: php conflicts with php-zend-optimizer
The httpd/httpd dependency error messages seem unrelated to the Zend Optimizer conflict.
Lemonbit Internet Dedicated Server Management
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: PHP 5.2.12 and mycrypt

Unread post by KrazyBob »

First Breun, Thank You! fore trying to help me. For me it is late at night and I am a rookie.

Yes, some of the error are unrelated. I question the wisdom of yum upgrade rather than yum upgrade php*

Code: Select all

-bash-3.2 clss02 # rpm -qa | grep ^httpd
httpd-devel-2.2.3-31.el5.centos.2
httpd-2.2.3-31.el5.centos.2
httpd-devel-2.2.3-31.el5.centos.2
I can fix most errors but not dependency errors. That's a week spot. Plus I was getting vquota errors and had to reboot the server. Thank you for hanging in here with me.

I was able to remove Zend with yum remove php-zend-optimizer but it left oher unrelated dependency errors. Not know where they are coming from I'm in the dark.

So I guess where I am at is that I need PHP 5.3 and Zend Guardian. I again questiom yum upgrade because that attempts everythibng and Plesk warns aainst such a command. They will condede that PHP is OK but they do have soecialized versions of code.

So here we are. What do I need to emerge on the other side with PHP 5.3 and no errors? Please?
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: PHP 5.2.12 and mycrypt

Unread post by breun »

KrazyBob wrote:

Code: Select all

-bash-3.2 clss02 # rpm -qa | grep ^httpd
httpd-devel-2.2.3-31.el5.centos.2
httpd-2.2.3-31.el5.centos.2
httpd-devel-2.2.3-31.el5.centos.2
The same version of httpd-devel twice? Hm, that looks odd. I'd start by removing httpd-devel and seeing if you can get rid of the double entry. You'll only need it when compiling stuff against Apache httpd, so you can always install it again if you need it. Getting rid of that double entry might fix your yum upgrade as well.

But you might still have a problem in your repository configuration (you might have some packages excluded). I can't tell, because you didn't post the contents of /etc/yum.repos.d/CentOS-Base.repo.
KrazyBob wrote:I was able to remove Zend with yum remove php-zend-optimizer but it left oher unrelated dependency errors. Not know where they are coming from I'm in the dark.
What dependency errors are you talking about exactly? The httpd ones?
KrazyBob wrote:So I guess where I am at is that I need PHP 5.3 and Zend Guardian.
I think you are referring to Zend Guard Loader? You only need to install Zend Guard Loader if your server needs to be able to run encoded (usually commercial, closed source) software that requires Zend Guard Loader to be decoded. Zend Optimizer had a similar function, but also acted as a PHP opcode cache, which is why most people installed it.

If your server is actually running software that was encoded for use with Zend Optimizer, then that software will no longer work. Since Zend Guard Loader is not backwards compatible any application which requires Zend Optimizer to run will need to be replaced by a version which can be decoded by Zend Guard Loader. If you have no such encoded applications on your server I suggest not installing Zend Guard Loader either, because it won't benefit you in any way.
KrazyBob wrote:I again questiom yum upgrade because that attempts everythibng and Plesk warns aainst such a command.
They do? Where did you find this? I have never heard of anything like that, and frankly it sounds like nonsense. You'll definitely want to keep your software updated to stay current with all of the latest bug and security fixes.
KrazyBob wrote:They will condede that PHP is OK but they do have soecialized versions of code.
I'm sorry, I don't really know what you're talking about.
Lemonbit Internet Dedicated Server Management
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: PHP 5.2.12 and mycrypt

Unread post by KrazyBob »

You have placed quotes in here from other threads and it makes this last message look strange. You have asked questions and then answered them incorrectly on your own. You asked me for

Code: Select all

-bash-3.2 clss02 # rpm -qa | grep ^httpd
httpd-devel-2.2.3-31.el5.centos.2
httpd-2.2.3-31.el5.centos.2
httpd-devel-2.2.3-31.el5.centos.2
and I gave you the output.

Rather than making me look like an idiot perhaps you could address this as I have said many times. I am a rookie doing his best. You make far too many assumptions. I am trying to change PHP to 5.3. I am not responsible for the errors that are output but I am responsible for correcting the errors.

Is there someone that can actually help me without cut and paste from other messages?

Respectfully,
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: PHP 5.2.12 and mycrypt

Unread post by breun »

KrazyBob wrote:You have placed quotes in here from other threads and it makes this last message look strange. You have asked questions and then answered them incorrectly on your own.
I have checked, but I don't know what quotes you are referring to exactly.
KrazyBob wrote:You asked me for

Code: Select all

-bash-3.2 clss02 # rpm -qa | grep ^httpd
httpd-devel-2.2.3-31.el5.centos.2
httpd-2.2.3-31.el5.centos.2
httpd-devel-2.2.3-31.el5.centos.2
and I gave you the output.
I know, and I responded to that. But I also asked for the contents of /etc/yum.repos.d/CentOS-Base.repo in that same message and you haven't posted that yet.
KrazyBob wrote:Rather than making me look like an idiot perhaps you could address this as I have said many times.
What do you want me to address exactly?
KrazyBob wrote:I am a rookie doing his best. You make far too many assumptions.
I am also doing my best. Do you really think I'm here to make other people seem like idiots? Come on, please... I have better things to do with time.
KrazyBob wrote:I am trying to change PHP to 5.3. I am not responsible for the errors that are output but I am responsible for correcting the errors.
All I'm doing is trying to help you correct them.
Lemonbit Internet Dedicated Server Management
Post Reply