LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-14-2010, 01:26 AM   #1
sw0rdz
LQ Newbie
 
Registered: Apr 2008
Posts: 18

Rep: Reputation: 0
SSL Support for PHP Curl


I have both PHP and Apache installed. I need to get SSL support for Curl. I'm hoping I can do this with out having to download php/apache and re-configuring it via that.
 
Old 03-14-2010, 01:45 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
what distro are you running ? most distros have curl configured with ssl support just install the package.
 
Old 03-14-2010, 01:52 AM   #3
sw0rdz
LQ Newbie
 
Registered: Apr 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by datopdog View Post
what distro are you running ? most distros have curl configured with ssl support just install the package.

Centos, which is fedora. I couldn't find a package for this, but one still could exists.
 
Old 03-14-2010, 03:03 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
on centos, curl is build in just run phpinfo(); you will see curl with ssl (openssl) support.
 
Old 03-14-2010, 03:09 AM   #5
sw0rdz
LQ Newbie
 
Registered: Apr 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Trying to install WHMCS, I get this error "» CURL .......... You must have CURL installed with SSL Support for WHMCS to function correctly".

php info print:
http://mattswebhosting.com/phpinfo.php
 
Old 03-14-2010, 04:56 AM   #6
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
That is because you build your own php instead of installing from yum you will need to rebuild with curl support
 
Old 03-14-2010, 03:14 PM   #7
sw0rdz
LQ Newbie
 
Registered: Apr 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by datopdog View Post
That is because you build your own php instead of installing from yum you will need to rebuild with curl support
Can you throw a bone on how to do this? Is it possible to do so w/o re-downloading php.
 
Old 03-15-2010, 01:40 AM   #8
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
you have to use the --with-curl option when you configure your php build, by the way why are you using a source build instead of using packages ?
 
Old 03-15-2010, 03:24 PM   #9
sw0rdz
LQ Newbie
 
Registered: Apr 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by datopdog View Post
you have to use the --with-curl option when you configure your php build, by the way why are you using a source build instead of using packages ?
I did install php via the package way (yum). Since I don't have the build directory, I'm wondering how to rebuild php.
 
Old 03-15-2010, 05:42 PM   #10
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
The php that is displaying that info page was clearly built from source. look at the configure lines.

Just download the same version of php and copy the configure options from the phpinfo page, add the curl option and build.
 
Old 03-15-2010, 11:19 PM   #11
sw0rdz
LQ Newbie
 
Registered: Apr 2008
Posts: 18

Original Poster
Rep: Reputation: 0
I re-downloaded php and I just need the entry to have curl support ssl.
 
  


Reply



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
PHP Pear Mail Packege - support security through SSL ? fatrandy13 Programming 3 08-23-2011 07:38 AM
Problem compiling centerim, needs curl with ssl support Josh000 Slackware 12 12-19-2009 12:09 AM
cURL FTP SSL oneilldavidj Linux - Newbie 2 11-04-2009 11:59 AM
stuck with php/curl and SSL certificates chr15t0 Programming 2 05-20-2005 06:10 AM
Problems compiling php with imap, ssl... support tveiga Linux - Software 1 01-16-2004 09:06 PM

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

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