Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: Francisco on December 15, 2004, 05:52:56 PM

Title: SMF doesn't work with PHP 4.3.10 ?
Post by: Francisco on December 15, 2004, 05:52:56 PM
 Just wondering... My vBulletin and SMF broke after I compiled the new PHP, I had to go back to PHP 4.3.9

Thanks
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Ben_S on December 15, 2004, 06:09:48 PM
Imagine you did something wrong then, there shouldn't be any big changes that would stop it working, it even works with php 5.x and that is a large change. If your vB stopped working then I imagine it's deffo a php config error, any error messages?
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Francisco on December 15, 2004, 06:48:46 PM
Quote from: Ben_S on December 15, 2004, 06:09:48 PM
Imagine you did something wrong then, there shouldn't be any big changes that would stop it working, it even works with php 5.x and that is a large change. If your vB stopped working then I imagine it's deffo a php config error, any error messages?

Here's an interesting thread on the vB forums you should read. I'm not the only one.
http://www.vbulletin.com/forum/showthread.php?p=778458

Cheers
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Ben_S on December 15, 2004, 07:50:26 PM
Interesting, did you get any error messages?

Will do some tests here and let you know how I get on.
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: [Unknown] on December 15, 2004, 08:00:30 PM
Holy junk, the PHP Development Team need to consider just going on with 4.4.x :P.  I can't believe there's already a 4.3.10.

I'll try to do some testing myself; the foreach speedups could have caused a problem.

-[Unknown]
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Ben_S on December 15, 2004, 08:09:29 PM
Confirmed, will not run on php 4.3.10, just gives a blank screen, no error message.

View source only shows

Quote<html><body></body></html>
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: rhodges on December 15, 2004, 10:14:29 PM
Well, I also upgraded from 4.3.9 to 4.3.10.  I made only a slight change to the PHP configuration, adding the --with-mysql=/mysql-path (my 4.3.9 was just using the php mysql library).  I did the usual "make" and "make install" (as root).

And reloading my forum in my browser failed.  Hmmm...

Well, it seems that apache died when I installed PHP 4.3.10.  After restarting apache, everything works perfectly now.

So in my case, PHP 4.3.10 works perfectly with SMF 1.0 preview with almost no effort at all (maybe five minutes maximum).  For what it's worth  :)
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Ben_S on December 16, 2004, 06:45:06 AM
Apache was deffinatly up here, was viewing a phpinfo page.

The thread on the vB board says it's caused by an old Zend optimizer, I'm using php accelerator, so I suppose it may be thats not compatable with the changes made :'(.
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: cleavers1066 on December 16, 2004, 04:36:13 PM
Our host has just upgraded to 4.3.10 due to a serious security issue and we've lost all contact with SMF, others on our hosts support forums are complaining about IPB and b2evolution, so its not just SMF.

It looks like a php problem.
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: [Unknown] on December 16, 2004, 04:39:41 PM
Can I see a phpinfo.php for you, then?  I might be able to pick out what's causing the problems.

-[Unknown]
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: cleavers1066 on December 16, 2004, 04:42:52 PM
Not sure where to look for that [Unknown], but our host is aware and is looking into the problem at the moment and will hopefully sort us out.

Let me know where to get phpinfo.php from and i'll post it so you can at least see what the issue is.
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: [Unknown] on December 16, 2004, 04:44:43 PM
Oh, sorry... I forget to give the link sometimes, I'm afraid.

What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)

-[Unknown]
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: cleavers1066 on December 16, 2004, 04:50:32 PM
Here yo go (http://www.talkincity.com/phpinfo.php)
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: cleavers1066 on December 16, 2004, 05:00:10 PM
Some suggestion on our support forum that its to do with the Zend optimizer.

Our host says they are backtracking to php 4.3.9 and then upgrading the zend stuf and then re-installing 4.3.10 after testing.

Hope thats useful but means nowt to me ;)
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Ben_S on December 16, 2004, 07:03:54 PM
Quote from: Ben_S on December 16, 2004, 06:45:06 AMZend optimizer.
Quote from: cleavers1066 on December 16, 2004, 05:00:10 PM
Some suggestion on our support forum that its to do with the Zend optimizer.

You might want to tell your host to look at the bug tracker a php.net more often before upgrades as it's documented there.

Not sure what the serious security issue is as from what I can tell, there isn't one.
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: [Unknown] on December 16, 2004, 07:32:06 PM
http://bugs.php.net/bug.php?id=30914
http://bugs.php.net/bug.php?id=31108

-[Unknown]
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Ben_S on December 18, 2004, 11:48:37 AM
Quote from: Ben_S on December 16, 2004, 06:45:06 AM
I'm using php accelerator, so I suppose it may be thats not compatable with the changes made :'(.

An update to that, seems to work fine if you clear the cache dir.
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: [Unknown] on December 18, 2004, 06:32:59 PM
I borked this site yesterday for a couple hours, finally ended up fixing it by upgrading PHP to 4.3.10 and then also MMCache (which is what's used here...) - sigh.  But, this site's running 4.3.10 now.

-[Unknown]
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: balamm on December 20, 2004, 08:32:16 PM
No longer impressed with SMF developers or management.
POST DELETED!
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Ben_S on December 20, 2004, 08:38:24 PM
Works fine with PHP 5.
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Jerry on December 20, 2004, 08:39:50 PM
My sites were hosted on a server with php5 for ages, worked fine balamm ;)
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: balamm on December 20, 2004, 08:47:52 PM
No longer impressed with SMF developers or management.
POST DELETED!
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: AchoHosting on December 22, 2004, 08:58:55 AM
SMF works with PHP 4.3.10  you just need to upgrade ZEND to version 2.5.7


ZEND is incompatible (v2.5.5) with PHP 4.3.10

refer to the following post
http://www.simplemachines.org/community/index.php?topic=22047.0
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: tjay on December 22, 2004, 10:38:25 AM
That was the same problem with some Mambo installs.
I dont think it is a SMF, Mambo, or any other scripts failure. If the host updates zend as stated it goes very smooth.
If they dont, it all tumbles down
Title: Re: SMF doesn't work with PHP 4.3.10 ?
Post by: Oldiesmann on December 22, 2004, 02:37:03 PM
My host just upgraded their main server to PHP 4.3.10 (I'm on a different server), and a lot of people had problems because they thought they had upgraded Zend but apparently they didn't, so I'm glad to know that my host isn't the only one running into that issue (I didn't even know there was a PHP 4.3.10 until someone said something to me about it...). It's getting so confusing now that the development has taken two different paths (PHP 4.3.x and PHP 5)...