LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2014, 10:23 AM   #1
opencag
LQ Newbie
 
Registered: Nov 2014
Posts: 27

Rep: Reputation: Disabled
Installing library in phpfarm ?


I have two versions of php running on my server.

I would like to install the php-curl library in the old version of php. How do I ?
 
Old 11-23-2014, 11:53 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Example :

Download the required package , php5-curl
. http://packages.ubuntu.com/precise/php5-curl
. http://packages.ubuntu.com/precise-updates/php5-curl

Unpack with $ ar -x <package>.deb ,
.. and use the ~762B control file :
Edit line 1, Package: php5-curl , to a new name e.g.:
Package: compat-php5-curl

... And build a new package "compat-php5-curl" :
See post #3 here http://www.linuxquestions.org/questi...at-4175423669/
→ $ dpkg-deb -b packagename packagename_version_architecture.deb

-
 
Old 11-23-2014, 04:00 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
well if you do not inform us as to WHAT OPERATING SYSTEM you are using
there is not much we can do

-- generic redhat
Code:
yum install php-curl
 
  


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
Installing pcre-6* library miscel Linux - Server 1 04-25-2010 12:06 AM
Error while installing a library khalidorama Linux - Software 1 02-09-2008 11:09 PM
installing this graphics library knossoss Linux - Newbie 3 12-29-2004 01:27 AM
Help installing a library tunedLow Linux - Newbie 2 02-11-2002 10:04 AM
HELP!: installing Allegro library playmesumch00ns Linux - General 0 06-14-2001 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:31 AM.

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