814 posts
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 5-6 years
rvision_ says

I’ve recently got some hosting, and when I tried my php code, it didn’t work. I was using namespaces, a new feature of the php 5.3.0. The hosting server has older version – 5.2.x.

What php version do you have on your servers and is it important to you to have the latest version? What difference does it make? Should I insist to have new php installed or change my code?

3007 posts
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 200 and 499 users
+2 more
duotive says

hi. many hosting companies start with php 4, and not many users upgrade to 5. so you will have a lot of support requests. make it more compatible if you can. that’s my opinion.

559 posts Themes and Graphics
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Elite Author
  • Envato Studio (Microlancer) Beta Tester
  • Europe
  • Exclusive Author
+4 more
Bebel says

Don’t insist on php 5.3. Its almost a war against every host on the market. Some even have php4 – which I cannot understand, because PHP4 has no more support at all – even security holes are not fixed anymore. If the host still uses php4 I tell my client to switch the host or manually to php5 – many hosts give this option.

I agree, php 5.3 has maaany cool new features, such as namespacing, but, lets face it: If you get a newer php version than 4, you should be happy. :)

814 posts
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 5-6 years
rvision_ says

Thanks for replies guys

3219 posts
  • Sold between 5 000 and 10 000 dollars
  • United States
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
  • Exclusive Author
organicbee says
Don’t insist on php 5.3. Its almost a war against every host on the market. Some even have php4 – which I cannot understand, because PHP4 has no more support at all – even security holes are not fixed anymore. If the host still uses php4 I tell my client to switch the host or manually to php5 – many hosts give this option. I agree, php 5.3 has maaany cool new features, such as namespacing, but, lets face it: If you get a newer php version than 4, you should be happy. :)

wont be much of an issue with future wordpress releases(well php4 that is) http://wordpress.org/news/2010/07/eol-for-php4-and-mysql4/

by
by
by
by
by
by