initial commit
[m6w6/m6w6.github.io] / _posts / 2007-04-01-upgrading-to-52.md
1 ---
2 title: Upgrading to 5.2
3 author: m6w6
4 tags:
5 - PHP
6 ---
7
8 So I finally came around to upgrade to PHP 5.2 (I was running 4.4 on the
9 production server until now). I know, what a shame! :)
10
11 Anyway the only issue I really had, in spite testing the code really well over
12 time, was with class_exists() and millions of warnings becaus of a missing
13 __autoload(). I blame the people who introduced the second parameter to
14 class_exists() **and** changing the default behaviour at the very same moment.
15 Actually, it was an annoying but rather easy to fix compatibility brake.
16
17 APC in conjunction with PHP-5.2 seems to work very well either, it even feels
18 a lot less memory exhaustive than running APC+PHP-4.
19
20 Ah yes, just on a side note, I also upgraded to Apache-2.2 in the same run.
21 Somehow I now have a warm and fuzzy feeling running this up-to-date software,
22 it really was already like a brinck in my stomach. Anyway, what's left is to
23 migrate from the Apache module to the FastCGI SAPI and switching to the worker
24 MPM... but I'm done already.
25