Moving into Apache

The PHP5 move also meant many hosts also upgraded to a fresh apache – 2.0.62? Now, many .htaccess rewrite rules failed to work and one of the main reasons that I could learn was that the previous rewrite engine was very forgiving with the regex rules and this new one hits right back at you!

RewriteCond %{HTTP_HOST} !^www.foodomain.com$
# was okay with the previous one but now you better have it as
RewriteCond %{HTTP_HOST} !^www\.foodomain\.com$

Does that ring a bell?

Moving to PHP5

World’s saying bye to PHP4 which had kept us busy for more than 3 years now. Some of the moves were forced even as early as one year ago. But yes, who likes more work!

zend.ze1_compatibility_mode – On

#.htaccess way
php_value zend.ze1_compatibility_mode “On”

might as well do the trick for most of us. But yes, the effort of writing things from scratch sometimes leaves a great cleaner stuff and less patchy stuff.

So dear fellow geeks, all the best in moving to PHP5