View Poll Results: Are you running PHP 5 yet? If you have issues with PHP 5 or questions, please reply.

Voters
61. You may not vote on this poll
  • I am already on PHP 5

    45 73.77%
  • I am not on PHP 5 yet, but I support the move

    7 11.48%
  • I am not on PHP 5 yet, and need help to get there

    5 8.20%
  • I am not on PHP 5 yet, and I am not sure if I should switch

    2 3.28%
  • I have restrictions that force me to stay on PHP 4

    2 3.28%
Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: PHP 5 for Sugar 5? Speak Now....

  1. #1
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default PHP 5 for Sugar 5? Speak Now....

    It is time for Sugar to take advantage of everything PHP 5 has to offer. My plan is to require PHP 5 starting with Sugar 5 next year. I’d like to get your feedback on this plan.

    I have been watching the evolution of PHP 5 over the past three years. Sugar has been supporting PHP 5 for almost as long. Generally, I have been quite impressed. PHP 5 has proven to be scalable, stable, and well thought-out.

    There are some major advantages to requiring PHP 5 as the minimum PHP version for Sugar that would greatly benefit you, the users of Sugar around the world. Some of these advantages include:
    • Better support for Object Oriented programming.
    • Allowing us to build more clearly defined APIs
    • Better performance
    • Eliminating some code that is required to support both PHP 4 and PHP 5.
    • Easier integration with external Web Services (native SOAP API) and XML manipulation
    • Ability to leverage the latest in third party components (new logger infrastructures, more data layers, newer code snippets, ...)


    I am seeing that almost all hosting providers now provide support for PHP 4 and PHP 5. Most Linux packages now provide support for PHP 5 in their update managers. PHP 5 has been available for download for several years. PHP 5.1 is holding up well in all of our high-intensity load testing. PHP 5.2 has just been released and is shaping up to be a really stable and well-performing version.

    At this point, it is my belief that most people have access to PHP 5, could switch to it, or could selectively convert their Sugar servers over to PHP 5.

    However, I am very sensitive to making any changes to the minimum requirements for Sugar. Before making PHP 5 a minimum requirement for Sugar 5.0, I wanted to get your thoughts on this. Please respond to the poll and optionally post your thoughts.

    Thanks,
    Jacob
    Last edited by Jacob; 2006-11-21 at 04:08 PM.

  2. #2
    longreach Guest

    Default Re: PHP 5 for Sugar 5? Speak Now....

    Works for us - we already have the bulk of our clients on PHP 5.x.

  3. #3
    chrisky is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Trondheim, Norway
    Posts
    293

    Smile Re: PHP 5 for Sugar 5? Speak Now....

    PHP 5 - two thumbs up!

    Can I ask 'Why wait till Sugar 5?' lol

    Hey if need be, Sugar could always include a short 'how-to on upgrading PHP' in the Sugar installation documentation..

    Go with the majority and ignore the minority..

  4. #4
    tdp
    tdp is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    74

    Default Re: PHP 5 for Sugar 5? Speak Now....

    Heck, even Slackware is distributing PHP 5 these days. If a Linux distro that conservative is moving, I see no reason why Sugar shouldn't.
    Todd Pihl

    Human Worklfows LLC
    Rockville, Maryland USA

    Slackware 11.0 running kernel 2.6.17.6
    MySQL 5.0.24a
    PHP 5.1.6
    Apache 1.3.37

  5. #5
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: PHP 5 for Sugar 5? Speak Now....

    It seems that a lot of the ISP's here in Germany still have only PHP Version 4.x rather than PHP5 installed on their Mangaged servers.
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  6. #6
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: PHP 5 for Sugar 5? Speak Now....

    For Debian stable release PHP5 should be available beginning of next year. So I guess it's okay to have PHP5 as a requirement for Sugar 5.0
    Cheers Pascal
    Simplicity GmbH

  7. #7
    lvangool is offline Sugar Community Member
    Join Date
    Jul 2006
    Location
    Near Rotterdam, Holland
    Posts
    280

    Default Re: PHP 5 for Sugar 5? Speak Now....

    I think you shouldn't hold back Sugar by maintaining compatability with PHP 4. Not if PHP5 is a real improvement to Sugar (which you state).

  8. #8
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: PHP 5 for Sugar 5? Speak Now....

    I fully support the move to PHP 5. which also provides reflection in objects which is very good for bean development and OO programming.

    While you are at it you might want to make the jump to MySQL 5 which supports views and triggers and procedural language for offloading PHP from preforming SQL work that can be handled by Views and Triggers much more effeciently than they can be handled in php. For example updating a table to trigger an audit trail event and logging. The views can provide pre defined relational views of many tables that looks like a single table making it a simple sql Query which is more efficent that join queries and can be filtered by where clauses to shorten the veiw queried.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  9. #9
    Scott_Savage is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    Sydney, Australia
    Posts
    193

    Default Re: PHP 5 for Sugar 5? Speak Now....

    The latest versions of PHP 5 (5.2.1 in particular) GREATLY improve the stability of PHP on Windows Servers. I am running Sugar 4 on PHP 5 and feel that it far exceeds the stability and performance of PHP4. Definitely make the move and simplify development (and hosting) as much as possible please...
    Web Server: IIS 6, Win2k3
    PHP: 5.2.5
    MySQL: 5.0.27-community-nt
    Sugar: 4.5.0j Open Source
    Website: www.scottsavage.net

  10. #10
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default Re: PHP 5 for Sugar 5? Speak Now....

    PHP 5.2.1 and above are highly recommended if you are running on the Windows stack.

    PHP 5.2.2 now has a built in JSON encoder that handles UTF8 and high-ASCII data. We are going to build a test into the code to determine if the algorithm is working correctly and adapt the system appropriately.

    We are building more and more components that are PHP5 native.

    Jacob

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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