GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   how do I recompile PHP to include cURL? (https://gfy.com/showthread.php?t=697843)

Mr Pheer 01-21-2007 05:17 AM

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?

WiredGuy 01-21-2007 05:31 AM

Taken a look at this yet?
http://curl.haxx.se/libcurl/php/
WG

Mr Pheer 01-21-2007 05:38 AM

yes I've looked at that... its only semi-informative

AntiChrist 01-21-2007 05:43 AM

Quote:

Originally Posted by Mr Pheer (Post 11764371)
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

Mr Pheer 01-21-2007 05:51 AM

Quote:

Originally Posted by AntiChrist (Post 11764436)
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?

borked 01-21-2007 06:59 AM

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


edgeprod 01-21-2007 07:46 AM

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. :)

Mr Pheer 01-21-2007 01:07 PM

Quote:

Originally Posted by edgeprod (Post 11764683)
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.

edgeprod 01-21-2007 01:16 PM

Quote:

Originally Posted by Mr Pheer (Post 11765748)
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?

Mr Pheer 01-21-2007 01:40 PM

looks like i got lucky and actually found a server tech on sunday

disregard, got the guy fixing it

edgeprod 01-21-2007 01:52 PM

Quote:

Originally Posted by Mr Pheer (Post 11765866)
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! :thumbsup

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.

candyflip 01-21-2007 02:22 PM

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. :1orglaugh

Mr Pheer 01-21-2007 02:54 PM

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 01-21-2007 03:01 PM

god damn... that shit was easy to setup on a machine with everything working

edgeprod 01-21-2007 03:08 PM

Quote:

Originally Posted by candyflip (Post 11766070)
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. :1orglaugh

LOL!!!! I remember that!!! :)

Quote:

Originally Posted by Mr Pheer (Post 11766259)
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.

:thumbsup

hostcentrex 01-21-2007 04:11 PM

Quote:

Originally Posted by borked (Post 11764597)
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! :pimp

SmokeyTheBear 01-21-2007 06:19 PM

Quote:

Originally Posted by Mr Pheer (Post 11766259)
god damn... that shit was easy to setup on a machine with everything working

:thumbsup :thumbsup

Sambo 01-21-2007 06:25 PM

This is why I HAVE TO have CPanel WHM - it makes stuff like this ez.....

edgeprod 01-21-2007 07:23 PM

Quote:

Originally Posted by Sambo (Post 11767119)
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. :2 cents:

Sambo 01-21-2007 07:38 PM

Quote:

Originally Posted by edgeprod (Post 11767365)
Weird. For me, it's usually CPanel and things like it that fuck shit like this up in the first place. :2 cents:

Ok - lets just say it take me longer to kill a server with WHM than it does with SSH - :upsidedow

borked 01-22-2007 12:00 AM

Quote:

Originally Posted by hostcentrex (Post 11766563)
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! :pimp

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 :thumbsup


All times are GMT -7. The time now is 07:35 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123