LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-17-2015, 05:19 AM   #1
chicken76
Member
 
Registered: Mar 2009
Distribution: Slackware
Posts: 121

Rep: Reputation: 2
Could the PHP package from -current work on 14.1?


I wonder if anyone tried it and broke something?
 
Old 09-17-2015, 08:00 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,239

Rep: Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932Reputation: 4932
I don't know anyone who has tried, but it's easy enough to download it, install it (using upgradepkg), and see if it works. If it doesn't, just "upgrade" it back to the package from 14.1.

If it doesn't work, you can just grab the source from -current and then just compile it yourself. Then it is based on the libraries on 14.1 rather than -current.
 
Old 09-17-2015, 09:05 AM   #3
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243Reputation: 1243
Quote:
Originally Posted by chicken76 View Post
I wonder if anyone tried it and broke something?
PHP package have a lot of dependencies, some of them being MysQL, OpenSSL, ICU, etc...

I'm afraid that you should upgrade also its dependencies, who have dependencies, who have dependencies, etc...

So, for a properly working PHP, you'll probably arrive at half upgrading to Slackware-current, resulting a system with questionable stability.

I suggest you to try to build PHP package from its (package) sources and see if it works, or do full upgrade to -current.
 
Old 09-17-2015, 06:31 PM   #4
ljb643
Member
 
Registered: Nov 2003
Posts: 448

Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
PHP package have a lot of dependencies...
So, for a properly working PHP, you'll probably arrive at half upgrading to Slackware-current, resulting a system with questionable stability...
I regularly build all PHP current releases (at this time 5.5.29, 5.6.13, and 7.0RC2) on Slackware 14.1 (not 'current'), with no problems and no need to upgrade additional packages. Although I don't include a lot of extensions, I think PHP and its build process are pretty good at working with various dependency versions.

(Aside, I assume what started this thread is the fact that PHP 5.4.x included in Slackware 14.1 is now officially "end of life" as of a few days ago, and will likely not even get security patches.)

Edit: Sorry, I just realized you are talking about using the pre-compiled package from Slackware-current, not building from source. Never mind.

Last edited by ljb643; 09-17-2015 at 06:33 PM.
 
Old 09-17-2015, 07:12 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,671

Rep: Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316Reputation: 4316
Let me add to the voices recommending that you just build the current package from source on your 14.1 system.

Just download a -current mirror's source/n/php directory and run the php.SlackBuild file in it.

I'm actually 90 percent sure that the -current package will work fine in 14.1, but building it yourself makes it certain.
 
Old 09-18-2015, 01:28 AM   #6
chicken76
Member
 
Registered: Mar 2009
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 2
Thanks guys, I shall do as you suggested in case the 5.4 in 14.1 is not new enough for this site I'm trying to accomodate on one of my machines.
 
  


Reply


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
Missing Dependency: php-common = 5.1.6-27.el5_7.4 is needed by package php-gd-5.1.6-2 paul1107 Linux - Server 2 01-25-2012 03:29 AM
request shipping php-fpm with php in -current repo cowyn Slackware 1 04-03-2011 05:29 PM
PHP5 Upgrade Error: Missing Dependency: php = 4.3.x is needed by package php-pear vsystems Linux - Server 1 05-02-2007 07:17 AM
Lucid Fried Eggs PHP/MySQL package won't work jariep Linux - Software 1 01-14-2005 03:02 PM
Updating php 4.3.1 from tar and keeping current php configuration with mandrake 9.1 mrjeep Linux - General 0 04-02-2003 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:14 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration