Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-21-2007, 05:17 AM   #1
Mr Pheer
So Fucking Banned
 
Industry Role:
Join Date: Dec 2002
Posts: 21,582
how do I recompile PHP to include cURL?

I've already installed cURL on my freebsd server, but now i need to recompile php to include it... fuck

how do I do that?
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 05:31 AM   #2
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,494
Taken a look at this yet?
http://curl.haxx.se/libcurl/php/
WG
__________________
I play with Google.
WiredGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 05:38 AM   #3
Mr Pheer
So Fucking Banned
 
Industry Role:
Join Date: Dec 2002
Posts: 21,582
yes I've looked at that... its only semi-informative
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 05:43 AM   #4
AntiChrist
Registered User
 
AntiChrist's Avatar
 
Join Date: Nov 2005
Posts: 83
Quote:
Originally Posted by Mr Pheer View Post
I've already installed cURL on my freebsd server, but now i need to recompile php to include it... fuck

how do I do that?

in the php-sourcedir type: ./configure --help

should be something like ./configure --enable-curl

then if no errors occur: make
then : make install (as root)


This is on linux, not sure about freebsd

Last edited by AntiChrist; 01-21-2007 at 05:46 AM..
AntiChrist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 05:51 AM   #5
Mr Pheer
So Fucking Banned
 
Industry Role:
Join Date: Dec 2002
Posts: 21,582
Quote:
Originally Posted by AntiChrist View Post
in the php-sourcedir type: ./configure --help

should be something like ./configure --enable-curl

then if no errors occur: make
then : make install (as root)


This is on linux, not sure about freebsd
but do i have to also type the other stuff when i first compiled it? like include apache, gd, ssl, mysql, all that crap?
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 06:59 AM   #6
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
it's --with-curl
everything all on one line - you can break the lines up with a backslash. eg

Code:
./configure --enable-dom \
--enable-versioning \
--with-cli \
--disable-cgi \
--with-layout=GNU \
--with-config-file-scan-dir=/usr/local/etc/php \
--disable-all \
--enable-libxml \
--with-libxml-dir=/usr/local \
--enable-reflection \
--enable-spl \
--program-prefix="" \
--with-apxs2=/usr/local/sbin/apxs \
--prefix=/usr \
--with-xml \
--enable-bcmath \
--enable-calendar \
--with-curl \
--enable-exif \
--enable-ftp \
--with-gd \
--with-jpeg-dir=/usr/local \
--with-xpm-dir=/usr/X11R6 \
--with-gettext \
--with-imap \
--with-imap-ssl \
--with-mcrypt \
--with-mhash \
--enable-magic-quotes \
--with-mysqli=/usr/local/bin/mysql_config \
--with-mysql=/usr/local \
--with-openssl \
--enable-discard-path \
--with-png-dir=/usr/local \
--with-pear \
--enable-sockets \
--enable-track-vars \
--with-ttf \
--with-freetype-dir=/usr/local \
--enable-gd-native-ttf \
--with-xmlrpc \
--with-zip \
--with-zlib \
--with-pcre-regex \
--enable-xml \
--with-regex=php \
--with-zend-vm=CALL \
--prefix=/usr/local
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 07:46 AM   #7
edgeprod
Permanently Gone
 
Industry Role:
Join Date: Mar 2004
Posts: 10,019
Hey, I saw that you accidentally submitted an Autoblogger Pro support ticket with this question, too. I think you meant to submit it to your hosting provider.

Have them hit me up if they have any questions, but I doubt they will. Good luck to you, man, and let me know if I can help in any way.
edgeprod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 01:07 PM   #8
Mr Pheer
So Fucking Banned
 
Industry Role:
Join Date: Dec 2002
Posts: 21,582
Quote:
Originally Posted by edgeprod View Post
Hey, I saw that you accidentally submitted an Autoblogger Pro support ticket with this question, too. I think you meant to submit it to your hosting provider.

Have them hit me up if they have any questions, but I doubt they will. Good luck to you, man, and let me know if I can help in any way.
It was no accident. I dont really get hosting support with this server. I cant install ABP without this, which is the reason I'm trying to do it in the first place.
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 01:16 PM   #9
edgeprod
Permanently Gone
 
Industry Role:
Join Date: Mar 2004
Posts: 10,019
Quote:
Originally Posted by Mr Pheer View Post
It was no accident. I dont really get hosting support with this server. I cant install ABP without this, which is the reason I'm trying to do it in the first place.
Ah, okay, my mistake! I couldn't image why someone would be contacting us about support for their server. Sorry to hear that your host doesn't support your server configuration, that must be frustrating.

We'll help you for free as much as we possibly can, just because we're slick like that, but it will be outside of the actual support for Autoblogger itself, as server upgrades and software configuration obviously isn't part of that.

How are things coming along, with getting PHP to see that cURL is installed? Did you follow the suggestions in this thread so far?
edgeprod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 01:40 PM   #10
Mr Pheer
So Fucking Banned
 
Industry Role:
Join Date: Dec 2002
Posts: 21,582
looks like i got lucky and actually found a server tech on sunday

disregard, got the guy fixing it
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 01:52 PM   #11
edgeprod
Permanently Gone
 
Industry Role:
Join Date: Mar 2004
Posts: 10,019
Quote:
Originally Posted by Mr Pheer View Post
looks like i got lucky and actually found a server tech on sunday

disregard, got the guy fixing it
Okay, I just replied to your ticket anyway.

If he can't get it solved, let's try getting on the phone to see what we can find. I'll give you as much of my personal time as you need, with the understanding that it's not an "Autoblogger/Relink" thing -- as we'd ask that customer's servers comply with at least the minimum requirements ... but my PERSONAL time, I'm more than happy to give you whenever any of our customers need it!

Let me know what happens .. I have dinner with the girlfriend's parents, but I can stay home to help if you need me to.
edgeprod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 02:22 PM   #12
candyflip
Carpe Visio
 
candyflip's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,067
I didn't even have to open the thread to know what you needed it for.

I had to do the same thing a few weeks back. My girlfriend figured it out.
__________________

Spend you some brain.
Email Me
candyflip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 02:54 PM   #13
Mr Pheer
So Fucking Banned
 
Industry Role:
Join Date: Dec 2002
Posts: 21,582
I moved it to a differnt server, one of my gotwebhost machines

I have 5 servers
1 with Hosting Company A
2 with Hosting Company B
2 with Got Web Host

the gotwebhost machines are pretty much setup with everything I needed from the start, I should have checked them first.
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 03:01 PM   #14
Mr Pheer
So Fucking Banned
 
Industry Role:
Join Date: Dec 2002
Posts: 21,582
god damn... that shit was easy to setup on a machine with everything working
Mr Pheer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 03:08 PM   #15
edgeprod
Permanently Gone
 
Industry Role:
Join Date: Mar 2004
Posts: 10,019
Quote:
Originally Posted by candyflip View Post
I didn't even have to open the thread to know what you needed it for.

I had to do the same thing a few weeks back. My girlfriend figured it out.
LOL!!!! I remember that!!!

Quote:
Originally Posted by Mr Pheer View Post
god damn... that shit was easy to setup on a machine with everything working
Thanks -- I wrote the installer to work very easily on machines that are either pre-vetted to work (i.e., comply with all requirements) or are simply installed/configured well. It's a fairly slick process, I think you'll find, throughout not only the install, but also the actual functionality. I would definitely recommend the README and INSTALL documents, which we'll likely be updating soon to pack them with more information.

edgeprod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 04:11 PM   #16
hostcentrex
Confirmed User
 
hostcentrex's Avatar
 
Industry Role:
Join Date: Aug 2005
Posts: 482
Quote:
Originally Posted by borked View Post
it's --with-curl
everything all on one line - you can break the lines up with a backslash. eg

Code:
./configure --enable-dom \
--enable-versioning \
--with-cli \
--disable-cgi \
--with-layout=GNU \
--with-config-file-scan-dir=/usr/local/etc/php \
--disable-all \
--enable-libxml \
--with-libxml-dir=/usr/local \
--enable-reflection \
--enable-spl \
--program-prefix="" \
--with-apxs2=/usr/local/sbin/apxs \
--prefix=/usr \
--with-xml \
--enable-bcmath \
--enable-calendar \
--with-curl \
--enable-exif \
--enable-ftp \
--with-gd \
--with-jpeg-dir=/usr/local \
--with-xpm-dir=/usr/X11R6 \
--with-gettext \
--with-imap \
--with-imap-ssl \
--with-mcrypt \
--with-mhash \
--enable-magic-quotes \
--with-mysqli=/usr/local/bin/mysql_config \
--with-mysql=/usr/local \
--with-openssl \
--enable-discard-path \
--with-png-dir=/usr/local \
--with-pear \
--enable-sockets \
--enable-track-vars \
--with-ttf \
--with-freetype-dir=/usr/local \
--enable-gd-native-ttf \
--with-xmlrpc \
--with-zip \
--with-zlib \
--with-pcre-regex \
--enable-xml \
--with-regex=php \
--with-zend-vm=CALL \
--prefix=/usr/local
When I do my PHP installation to make it easier I do everything in a little shell script. If you want, hit me up on ICQ I will help you out. Not looking for anything in return. Just helping a brother out!
__________________
RackEngine LTD -- www.rackengine.com
[email protected]
Colocation Starting at just $79.00/monthly with your first 2 months free!
ICQ: 612250276
hostcentrex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 06:19 PM   #17
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Mr Pheer View Post
god damn... that shit was easy to setup on a machine with everything working
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 06:25 PM   #18
Sambo
So Fucking Banned
 
Join Date: Mar 2004
Posts: 1,187
This is why I HAVE TO have CPanel WHM - it makes stuff like this ez.....
Sambo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 07:23 PM   #19
edgeprod
Permanently Gone
 
Industry Role:
Join Date: Mar 2004
Posts: 10,019
Quote:
Originally Posted by Sambo View Post
This is why I HAVE TO have CPanel WHM - it makes stuff like this ez.....
Weird. For me, it's usually CPanel and things like it that fuck shit like this up in the first place.
edgeprod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2007, 07:38 PM   #20
Sambo
So Fucking Banned
 
Join Date: Mar 2004
Posts: 1,187
Quote:
Originally Posted by edgeprod View Post
Weird. For me, it's usually CPanel and things like it that fuck shit like this up in the first place.
Ok - lets just say it take me longer to kill a server with WHM than it does with SSH -
Sambo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2007, 12:00 AM   #21
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by hostcentrex View Post
When I do my PHP installation to make it easier I do everything in a little shell script. If you want, hit me up on ICQ I will help you out. Not looking for anything in return. Just helping a brother out!
Great stuff, but I install from FreeBSD ports - so I keep all my options in a flatfile. Only ever needed it to go from php4->5.

Great idea though because it's oh so easy to forget an option and have to recompile and install again if it's not available as an extension
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.