Considering Symfony and PHP5 - Opinions Wanted

Discussion in 'PHP' started by elklabone, Feb 6, 2007.

  1. #1
    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
     
    elklabone, Feb 6, 2007 IP
  2. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #2
    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....
     
    krakjoe, Feb 6, 2007 IP
  3. elklabone

    elklabone Peon

    Messages:
    242
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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
     
    elklabone, Feb 6, 2007 IP
  4. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #4
    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 ?
     
    krakjoe, Feb 7, 2007 IP
    elklabone likes this.
  5. elklabone

    elklabone Peon

    Messages:
    242
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Plesk 8.1 ..........
     
    elklabone, Feb 7, 2007 IP
  6. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #6
    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 ....
     
    krakjoe, Feb 7, 2007 IP