LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-10-2007, 05:26 AM   #1
stranger_6_7
LQ Newbie
 
Registered: Nov 2006
Posts: 24

Rep: Reputation: 15
Recompile PHP with CURL


HI

I have rhel4 system with lamp installed.My application needs curl to be installed with php. I downloaded the curl package and installed it. When i type php -m i don't see the module existing. Can anyone tell how can i recompile php along with curl without disturbing httpd, mysql,ssl and other inte related files. Or what do i need to do?

Thanks for the help
Stranger
 
Old 01-11-2007, 12:14 AM   #2
edenCC
Member
 
Registered: May 2006
Location: Gz,China
Distribution: RH,FB
Posts: 196
Blog Entries: 1

Rep: Reputation: 32
you should recompile php from source with the option:
Code:
--with-curl[=DIR]       Include cURL support
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Curl under PHP ttxmika Slackware 11 05-31-2005 11:24 AM
PHP/cURL housemusic42 Linux - Networking 0 10-07-2004 02:45 PM
Curl and PHP...? hurieka Linux - Software 6 09-28-2004 11:14 PM
Compile PHP to use Curl pimp1911 Linux - Software 3 09-24-2004 08:56 AM
php and curl Risen Linux - Software 0 09-02-2003 03:41 PM


All times are GMT -5. The time now is 10:31 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