openSUSE Forums > Pre-Release/Beta » What is the proper way to install php 5.2 in opensuse 11.2

Go Back   openSUSE Forums > Pre-Release/Beta
Forums FAQ Members List Search Today's Posts Mark Forums Read


Pre-Release/Beta Questions about pre-release versions of openSUSE Linux (software & hardware)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-Nov-2009, 18:08
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 2
Xuid hasn't been rated much yet
Default What is the proper way to install php 5.2 in opensuse 11.2

Hello,
I wonder if there is any way to have php 5.2 installed instead of php 5.3 in opensuse 11.2 Many currently running websites are not working with php 5.3 At this moment I am building website based on drupal6 and this is nightmare. Many modules and core functions are not working in the right way or pour out warnings errors etc.
Reply With Quote
  #2 (permalink)  
Old 06-Nov-2009, 18:27
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,218
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: What is the proper way to install php 5.2 in opensuse 11

Wouldn't it be better to apply the patches to drupal6 to make it compatible with 5.3?

PHP 5.3 Compatibility | drupal.org

You could I suppose build a set of 5.2 packages yourself, but it might be better to bite the bullet now and convert as PHP might stop supporting 5.2 with security fixes at some point, and what's more you would be responsible for keeping your 5.2 up to date instead of using openSUSE updates.
Reply With Quote
  #3 (permalink)  
Old 06-Nov-2009, 19:16
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 2
Xuid hasn't been rated much yet
Default Re: What is the proper way to install php 5.2 in opensuse 11

I never heard about paches to drupal to make it compatible with php 5.3. Thank you for your help
Reply With Quote
  #4 (permalink)  
Old 18-Nov-2009, 10:58
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 1
augustofagioli hasn't been rated much yet
Default Re: What is the proper way to install php 5.2 in opensuse 11

latest patch avaialble at PHP 5.3 Compatibility | drupal.org does not get rid of warnings.

Example: get a fresh new 5.20 drupal, apply patch above, simply save a node and you'll get:
Code:
 warning: date_default_timezone_set() expects exactly 1 parameter, 0 given in /srv/....../modules/node/node.module on line 2035.
I really think we should be able have previous php releases inside our opensuse 11.2 boxes.

Any suggestion to get php 5.2 on opensuse 11.2
thanks
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2