Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2004
    Posts
    1,007

    php 5 and mysql 5 vs 4

    Hello,

    Can anyone please tell me how much boost in performance i can expect if i upgrade from php 4 to php 5 and from mysql 4 to mysql 5 ?
    Anyone have any numbers ?
    Best Regards,
    Namesniper

  2. #2
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    3,785
    Yeah number for that sort of thing would be really tough.

    I my memory serves me correct one of the main performance increases is in the object orriented realm of things. So if you make use of objects and such moving to php5 you'll see an increase in performance for code that make use of them.
    Tony B. - Chief Executive Officer
    Hawk Host Inc. Proudly serving websites since 2004
    Quality Shared and Cloud Hosting
    PHP 5.2.x - PHP 8.1.X Support!

  3. #3
    You won't experience a huge boost. I don't have the numbers, but I've used php4 / 5 and mysql 4 / 5. Didn't notice any kind of lesser load or increased / decreased performance. You'd benefit more if you installed memcache and used it in your php apps.
    Dyslexics Have More Fnu

  4. #4
    Join Date
    Mar 2004
    Posts
    1,007
    I was thinking about installing eaccelerator and optimizing mysql a bit.
    Anyone got more numbers ?
    Best Regards,
    Namesniper

  5. #5
    Join Date
    Jul 2003
    Location
    Kuwait
    Posts
    5,104
    Numbers will depend on what kind of application you are planning to port or write. Just arbitrarily throwing numbers around is not going to be useful.

    Any measurable increase in performance will be visible in large applications -- and only if you already have an established baseline to compare to (otherwise, how would you know what to attribute the perceived increase in performance?)

  6. #6
    Join Date
    Mar 2004
    Posts
    1,007
    Mainly i am runing a big forum and TOP websites script.
    During peak hours my memory usage is almost full and CPU idle is just a few percents.
    Best Regards,
    Namesniper

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •