Had a fun day with PHP 5 today
Posted: Mon Jan 08, 2007 12:37 am
CentOS 4.4 64 Bit on my new dual dual core Xeon box.
So I discover I've got PHP 4.3.9, and our old machine is 4.4.2 .. I see that 4.x series is discontinued by Scott.
I'm having problems with people using phpBB and avatars, like, 25 forums worth. I check, apache.psacln owner, 777 chmod, and tmp dir inside of avatars dir for safe mode... seems fine.
So I play and play and play and play, and decide that I'm going to upgrade to 5.0.4. I grab the RPM's from centosplus, I force --nodeps erase on the php-d??xml rpm, and install 5.0.4.
Of course the first thing that breaks is the library, no problem, swap in the rpmnew ini and we're good. Set a few configs while we're there, safe-exec directories and what not.
Then horde breaks! Seems to be a memory issue, so I bump the script memory from 8MB to 20MB, and horde comes back to life. Seems odd it wanted to use almost 10 MB to launch after login.
Still avatars don't work... so I play around somemore, and discover, now, for whatever reason, the proper ownership has to be back! On the old box I had to have it owned by apache and 777, now, it HAS to be properowner.psacln and 777 and then it works. Like it should.
Very odd. So 6 hours later, I'm on 5.0.4 and as far as I can see, running fine. I did the long_registers = 1 in the ini so that phpBB will function OK, and my one big client who custom scripts everything says aside from some undefined variables, he's ok.
Phew.
Do I DARE touch MySQL 5?
PS Coppermine gallery seems to still function OK too.
So I discover I've got PHP 4.3.9, and our old machine is 4.4.2 .. I see that 4.x series is discontinued by Scott.
I'm having problems with people using phpBB and avatars, like, 25 forums worth. I check, apache.psacln owner, 777 chmod, and tmp dir inside of avatars dir for safe mode... seems fine.
So I play and play and play and play, and decide that I'm going to upgrade to 5.0.4. I grab the RPM's from centosplus, I force --nodeps erase on the php-d??xml rpm, and install 5.0.4.
Of course the first thing that breaks is the library, no problem, swap in the rpmnew ini and we're good. Set a few configs while we're there, safe-exec directories and what not.
Then horde breaks! Seems to be a memory issue, so I bump the script memory from 8MB to 20MB, and horde comes back to life. Seems odd it wanted to use almost 10 MB to launch after login.
Still avatars don't work... so I play around somemore, and discover, now, for whatever reason, the proper ownership has to be back! On the old box I had to have it owned by apache and 777, now, it HAS to be properowner.psacln and 777 and then it works. Like it should.
Very odd. So 6 hours later, I'm on 5.0.4 and as far as I can see, running fine. I did the long_registers = 1 in the ini so that phpBB will function OK, and my one big client who custom scripts everything says aside from some undefined variables, he's ok.
Phew.
Do I DARE touch MySQL 5?
PS Coppermine gallery seems to still function OK too.