LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-26-2013, 06:12 AM   #1
rouvas
Member
 
Registered: Aug 2006
Location: Greece
Distribution: Slackware.12.2
Posts: 83
Blog Entries: 2

Rep: Reputation: 6
Looking for PHP.5.2.12 for Slackware.12.2


Does anyone know how to find PHP.5.2.12 released for Slackware.12.2 ?

I recently upgraded to PHP.5.3.23 as pacthes lists, only to find out that it breaks a number of PHP software installed on my machine. So, I'm looking for a way to revert to the old version.
 
Old 04-26-2013, 09:31 AM   #2
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware
Posts: 125

Rep: Reputation: 11
You shoud to build them from sources. Use the php-5.2.13 from Slackware-13.1: ftp://slackware.osuosl.org/pub/slack.../source/n/php/. Remember that you should be modify SlackBuild to appropriate version of php and package type - Slackware 13.0 and higher uses the xz compression for packages and these compression does not supported by Slackware-12.2. Enjoy.

Last edited by yars; 04-26-2013 at 09:35 AM.
 
Old 04-26-2013, 03:27 PM   #3
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,953

Rep: Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727
Reinstall the PHP packages from here, no need to rebuild...

ftp://ftp.slackware.com/pub/slackwar...2.8-i486-1.tgz

[EDIT]OOPS - I see this is 5.2.8, you will need to build 5.2.12 as mentioned above.[/EDIT]

Last edited by astrogeek; 04-26-2013 at 03:31 PM.
 
Old 04-26-2013, 03:36 PM   #4
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,953

Rep: Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727Reputation: 727
Quote:
Originally Posted by yars View Post
Slackware 13.0 and higher uses the xz compression for packages and these compression does not supported by Slackware-12.2. Enjoy.
You can easily rebuild the tar package using the original slackbuild from the source tree.

I have upgraded Slackware 12.1 to tar 1.26 without problem.

Just be sure to upgradepkg and do not uninstall/reinstall!

That makes everything work with the new package formats and saves some frustrations as long as you keep the older Slackware versions going!

Last edited by astrogeek; 04-26-2013 at 03:38 PM.
 
Old 04-27-2013, 01:06 AM   #5
rouvas
Member
 
Registered: Aug 2006
Location: Greece
Distribution: Slackware.12.2
Posts: 83
Blog Entries: 2

Original Poster
Rep: Reputation: 6
@yars: I didn't think of using the SlackBuild from subsequent releases. That might work. Thanks.
 
Old 04-27-2013, 06:43 AM   #6
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware
Posts: 125

Rep: Reputation: 11
Quote:
Originally Posted by astrogeek View Post
You can easily rebuild the tar package using the original slackbuild from the source tree.
In addition, according to UPGRADE.TXT in the Slackware 13.0 file tree, you may just upgrade pkgtools, tar and install xz packages directly, without rebuilding (if the dependencies are is met) and it makes installing/reinstalling/upgrading/removing the txz packages without any problems. But it possibly if you use Slackware 12.2, not 12.1, else you should be rebuilt these packages before.

Last edited by yars; 04-27-2013 at 10:00 AM.
 
  


Reply

Tags
php5, slackware 12.2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PHP Data/Timezone Problems, Slackware 14.0, php-5.4.7-x86_64-1 tronayne Slackware 3 10-24-2012 10:25 AM
Slackware 13 and PHP MeXaHuK Slackware 3 01-03-2010 01:01 PM
PHP on Slackware 13 64 bobb.harley Linux - Server 1 01-02-2010 04:34 AM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM


All times are GMT -5. The time now is 10:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration