View Full Version : Develop a commercial product for PHP5 or PHP4?
As the topic title says, do you think a commercial product, like a CMS, would survive if it would not be compatible with PHP4?
There is no easy answer to this question, as it all depends on the services you wish to provide and whether your customers have their servers configured with PHP5 or PHP4.
Of course, the benefit of developing a product in PHP4 is obvious, as customers with PHP5 will be able to use the same product.
I would recommend that you read this article (http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/)and find out whether you would be missing added functionalities if you were to develop your product in PHP4.
Thanks for your reply, ess. I've been working with PHP5 for quite some time now, but only for my personal projects, so I know about all the cool stuff. But now that I'm working on something that I want to release in public, I'm wondering whether or not it's still necessary to make it backwards compatible with PHP4 (because of the large amount of people still using it) or not.
As you said, the advantage of the backwards compatibility is obvious. However, now that I've worked with PHP5 for a while, I know how great it is to use features like objects and exception, which are not available in PHP4. So for me it would be ideal to not have to think about making everything compatible with PHP4. Therefore I was wondering if it were possible to create a successful application that only works in PHP5, or is the PHP5 adoption still too low (I guess I should've been more clear in my first post about my real question)?
11-05-2006, 03:33 PM
You should make an estimate if PHP5 will be used by enough potential users by the time you finish developing your project.
Yes, the adoption of PHP5 is very slow. In fact, if you look at the major players in website hosting in the UK, you will find that they still have not upgraded to PHP5 yet.
I think that should be a good indicator as a lot of people would go for shared hosting.
Good luck Jero.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.