We're getting ready to overhaul an existing site on our dedicated server. Our programmer would like to use Symfony as a PHP framework. What are your thoughts regarding symfony as a PHP Framework? Also, we would need to upgrade to PHP5 and I'm wondering how many scripts would "break"? or need to be upgraded. We run some simple custom scripts with mail functions, simple mysql queries, etc, in addition to: PHPBB Coppermine Wordpress Kayako Supportsuite ArticleMS Gallery (photo gallery) OSCommerce Any experiences with upgrades to PHP5 that people would like to share? Is this no big deal, or something that needs to be planned very carefully? Just wondering! --Mark
some oo code will break with php5, not if it was written in the last year most probably, but some could, I'd be more concerned with upgrading the mysql engine than php, in my experience it's normally a pretty smooth transition....
Thanks, Joe. Sorry to be such a dufus, but we're currently running MySQL 4.1.20 - does upgrading to PHP5 also require an upgrade to MySQL? --Mark
No it does not, it's common place to do so but not a prerequisite of php5 installation. It's common because it's normally when you buy a new machine that you'll upgrade and while it's empty it won't do anything any harm. If the machine has sites using it's sql server then the mysql install will alter the database schemas accordingly but it's impossible to change them back down again to mysql4 without picking through it yourself. I'd stick with 4 for now, theres not many people designing MySQL5 reliant schemas yet anyway. Your'e on a cpanel / whm server right ?
yeah I'd stick with just the php upgrade, its like i sed the new features in mysql5 arent really widely known about yet nevermind used at all, and most authors will bear in mind that for big hosting companies with 100's of servers in clusters it will be a nightmare to upgrade mysql on..... If you get any error messages from apache / php afterwards post em here, I'll lay money I seem em before ....