Advertisement:

Author Topic: php5 compatible?  (Read 10029 times)

winnet

  • Guest
php5 compatible?
« on: March 29, 2005, 12:10:47 AM »
is smf forum php5 compatible?

I ask this becouse my hosting is planing to switch to php5 somewhere in summer in about 3, 4 month
if not, it will be in this amount of time?

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: php5 compatible?
« Reply #1 on: March 29, 2005, 12:27:30 AM »
Of course!  SMF is fully compatible with PHP 5, and indeed I test and develop it locally using PHP 5 ;).

-[Unknown]

Offline Lazy

  • Semi-Newbie
  • *
  • Posts: 41
  • Gender: Male
Re: php5 compatible?
« Reply #2 on: March 29, 2005, 05:39:49 AM »
do you feel some changes from using smf on php4 to php5? hm, i mean, does it run "smoother" (right word?)

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: php5 compatible?
« Reply #3 on: March 29, 2005, 05:41:48 AM »
PHP 5 is, in my experience, faster than PHP 4 - if that's what your asking.  Which, in turn, means that SMF - in my experience - runs faster on PHP 5 than on 4.

-[Unknown]

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,727
  • xxx
Re: php5 compatible?
« Reply #4 on: March 29, 2005, 05:42:50 AM »
My experience was the other way round, I upgraded to PHP5 then went back to PHP4x.
Liverpool FC Forum with 14 million+ posts.

Offline Lazy

  • Semi-Newbie
  • *
  • Posts: 41
  • Gender: Male
Re: php5 compatible?
« Reply #5 on: March 29, 2005, 05:44:15 AM »
i think depends on server, php.ini, zend, eaccelerator etc... that you both got different opinions?

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,727
  • xxx
Re: php5 compatible?
« Reply #6 on: March 29, 2005, 05:49:01 AM »
http://www.simplemachines.org/community/index.php?topic=23463.msg186946#msg186946

Never tested PHP5 with eaccelerator as I couldn't get it to run without segfaulting, although even with the segfaults it was fairly quick.
Liverpool FC Forum with 14 million+ posts.