You are not logged in.

#1 2004-07-20 00:31:35

Olli
Member
Registered: 2004-04-01
Posts: 57

[request] PHP4 please

I know that all scripts SHOULD work with PHP5, but I have problems with some (not my own), could it be possible to keep a package for PHP4 for a while?


DIY: Doom-It-Yourself

Offline

#2 2004-07-20 04:14:56

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: [request] PHP4 please


Markku

Offline

#3 2004-07-20 04:23:34

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: [request] PHP4 please

you should also take a look into trying to make those scripts a bit more forward compatable. the longer you wait the greater the security risk or the more work it will be.


AKA uknowme

I am not your friend

Offline

#4 2004-07-20 10:36:06

Olli
Member
Registered: 2004-04-01
Posts: 57

Re: [request] PHP4 please

sarah31 wrote:

you should also take a look into trying to make those scripts a bit more forward compatable. the longer you wait the greater the security risk or the more work it will be.

phpBB for instance doesn't support php5 as of yet, and with some hacks I simply can't get the thing running. I'm aware of the 'security risks' but common be honest, for about 2-3 years php4 was good enough, why shouldn't it be good enough now?


DIY: Doom-It-Yourself

Offline

#5 2004-07-20 11:43:04

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [request] PHP4 please

Olli wrote:
sarah31 wrote:

you should also take a look into trying to make those scripts a bit more forward compatable. the longer you wait the greater the security risk or the more work it will be.

phpBB for instance doesn't support php5 as of yet, and with some hacks I simply can't get the thing running. I'm aware of the 'security risks' but common be honest, for about 2-3 years php4 was good enough, why shouldn't it be good enough now?

"good enough" can be defined very widely ;-)

PC-DOS 5.0 was "good enough" for a lot of people for a longtime, but things change :-)

fortunately all my php stuff was php5 compatible, so i'm happy, but i understand your trouble with external code that is not php5 compatible - so you definitely need a php4 compatibility pkg for the migration -> but remember to tell the author of the non-compatible code that it is not future-compatible


The impossible missions are the only ones which succeed.

Offline

#6 2004-07-20 12:13:23

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: [request] PHP4 please

Olli wrote:

phpBB for instance doesn't support php5 as of yet, and with some hacks I simply can't get the thing running.

Same phpSysInfo 2.2 doesn't work with php5... 2.3 is still cvs. If latest phpSysInfo is not compatible with newer php upgrades, this indicates there  should be one package of each..... same as there is kernel24 and kernel26. 
http://phpsysinfo.sourceforge.net/


Markku

Offline

#7 2004-07-20 17:16:42

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: [request] PHP4 please

i was not saying there should be no php4 package but the sone ryou are able to port your remaining scripts over the better as php4 will likely soon be extinct. at that time you could be more out of luck than you are now.


AKA uknowme

I am not your friend

Offline

#8 2004-07-20 18:39:06

Olli
Member
Registered: 2004-04-01
Posts: 57

Re: [request] PHP4 please

Thanks alot mate smile


DIY: Doom-It-Yourself

Offline

#9 2004-07-20 20:27:27

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: [request] PHP4 please

one other thing ... phpBB is up to 2.0.10 which i believe came out after php5 so perhaps they have fixed their code to be more compliant?


AKA uknowme

I am not your friend

Offline

#10 2004-07-20 21:24:06

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [request] PHP4 please

sarah31 wrote:

one other thing ... phpBB is up to 2.0.10 which i believe came out after php5 so perhaps they have fixed their code to be more compliant?

http://www.phpbb.com/support/documents. … ngelog#209

Added code to let phpBB work with PHP5 for those having register_long_arrays set to off (default settings) - running phpBB 2.0.x with PHP5 is not supported at http://www.phpbb.com.


The impossible missions are the only ones which succeed.

Offline

#11 2004-07-20 21:42:58

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: [request] PHP4 please

righto i didn't have time to do any checking.


AKA uknowme

I am not your friend

Offline

#12 2004-07-20 21:59:06

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [request] PHP4 please

sarah31 wrote:

righto i didn't have time to do any checking.

i updated phpbb to 2.0.10 and it seems to work for me locally - but i have a manipulated db, so it would be nice that somebody with a clean (original) phpbb install will check it against php5, just to make sure :-)


The impossible missions are the only ones which succeed.

Offline

#13 2004-07-20 22:17:58

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: [request] PHP4 please

pfft. not me i still use an earlier 4.3 version and an older apache too (obviously this is on my mac where i do all of my web coding).


AKA uknowme

I am not your friend

Offline

#14 2004-07-20 22:27:35

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [request] PHP4 please

sarah31 wrote:

pfft. not me i still use an earlier 4.3 version and an older apache too (obviously this is on my mac where i do all of my web coding).

no problem :-) as long as it is not php3, it is ok big_smile


The impossible missions are the only ones which succeed.

Offline

#15 2005-01-13 17:09:36

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [request] PHP4 please

* bumb

Ok, I still need a PHP4 package; and the link to the 4.3.7 @ amlug is dead. Would someone consider creating a PKGBUILD for php 4.3.10? I am running some applications that just won't work under PHP5 which are closed source as wel; so I can't do anything about that. Would the 4.3.?? version from CVS be a good startingpoint?

Offline

#16 2005-01-14 11:14:51

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [request] PHP4 please

justdoro wrote:

I have an experimental AL repo that contains PHP 4.3.10.

Add the following to /etc/pacman.conf as a repository listed before the [current] repository:

[justdoro]
server=http://www.justdoro.com/archlinux

After saving your changes, 'pacman -Sy php'.  (You might have to remove php5 if you've already installed it.)

Let me know how this works -- like I said, it's an experimental repo.

jd

PS: It's a slow link, so patience helps.

I have used your PKGBUILD and PHP.ini to succesfully create a package; thanks!

Offline

#17 2005-01-18 07:18:33

benoitc
Member
Registered: 2004-11-11
Posts: 62
Website

Re: [request] PHP4 please

Olli wrote:

phpBB for instance doesn't support php5 as of yet?

phpbb works well on php5 on arch. What is your pb exactly ? Maybe some mods you use ?

Offline

#18 2005-01-18 07:26:25

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [request] PHP4 please

there is also a flag in php.ini that "forces" more compatability with php4. I really don't see why someone would still require php4.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#19 2005-01-19 17:27:54

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [request] PHP4 please

cactus wrote:

there is also a flag in php.ini that "forces" more compatability with php4. I really don't see why someone would still require php4.

MediaWiki  (that is; the templateparser they use) still doesn't support PHP5. This will be fixed with the next release (1.5) which isn't yet stable

MyReact (forumsoftware) doesn't support PHP5 yet; and compability mode doesn't work either

Offline

Board footer

Powered by FluxBB