Tagged Questions
0
votes
1answer
27 views
Limiting IP choice from CURLOPT_INTERFACE
I have a server with 6 ip addresses added via cPanel. I'm having troubles limiting the IP address my clients can use as an outgoing IP address in their PHP script. Some of them are running proxies and ...
0
votes
0answers
29 views
WAMP server won't load php_curl extension [closed]
php_curl is enabled as a PHP extension in WAMPs menu.
When I view the php.ini file for WAMP curl is uncommented. eg
;extension=php_bz2.dll
extension=php_curl.dll
And yet phpinfo() makes no ...
-1
votes
1answer
55 views
enabling the php curl ext in php.ini causes subsequent localhost php requests to error [closed]
When I enable extension=php_curl.dll in my php.ini, the following causes problems.
request a php page that uses the curl extension (such a request is aborted and fails)
request any other php page ...
0
votes
2answers
107 views
CURL in PHP chroot'ed environment
How can I find out what files or sockets are needed by Curl when running in a chroot'ed PHP environment on Mac OSX?
I recently secured my website by chrooting PHP but now every call to Amazon S3 ...
0
votes
1answer
97 views
PHP curl showing wrong version
Hi I have been trying to get Curl with SSL support on CentOS 5.9 server . I have in the process updated php to 5.4.11 using the remi repo. The system is running plesk and when I do I look at phpinfo() ...
0
votes
1answer
173 views
cURL looking for CA in the wrong place
On Redhat Linux, in a PHP script I am setting cURL options as such:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, True);
curl_setopt($ch, CURLOPT_CAINFO, '/home/andrew/share/cacert.pem');
Yet I am ...
1
vote
1answer
426 views
Using curl -s in *nix command line not working for some reason
I am trying to install composer (though to be honest I really have no idea how it fully works and documentation seems to be quite poor) on my MediaTemple DV machine. I am using their instructions
...
-1
votes
1answer
162 views
Iptables blocks outgoing HTTP connection
I've setup IPTables with the following script... however, I cannot get outgoing HTTP queries to work (I've tried using lynx & curl).
Background - server is hosted remotely (and I'm connecting via ...
0
votes
1answer
235 views
AWS PHP Curl with SSL
I'm trying to install the Amazon Web Services PHP SDK on my Ubuntu LAMP server. Whenever I run the compatibly check everything but cURL comes back okay. The issue I'm having is that it's reporting I ...
0
votes
1answer
143 views
Post compiled php 5.4 curl installation
I recently compiled php 5.4 from source. I have Centos 6. I used this configuration:
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
# make
# make install
# cp php.ini-dist ...
-1
votes
2answers
794 views
What is the correct dependency rpm for libcurl.so.3
So I have a failed dependency and I am having trouble downloading the correct rpm. The error is libcurl.so.3()(64bit) is needed. I have Centos 6 and I have looking in this site for the correct rpm. ...
-1
votes
1answer
136 views
Can't install cURL with PHP 5.1.13 [closed]
I have just installed WAMP with php 5.1.13
I have a 64 bit Windows 7 OS.
I have activated the php extention php_curl in WAMP.
But when I do phpinfo() it's not appearing. What can I do ?
0
votes
1answer
113 views
PHP Script Issue While Running
I have the following PHP script for in-app purchase verification for an iPhone app. However, the script (from chrismaddern) runs effectively on localhost (mac) and does not run or give any output on ...
1
vote
1answer
235 views
how to monitor cURL calls
I have a PHP based CMS which makes requests to service provider (a java based ECM(enterprise content management) currently located in the same server as my PHP) and inserts the response to mysql.
...
1
vote
1answer
200 views
getaddrinfo(3) failed
I'm trying to connect to a webservice using a PHP wrapper (which is using curl under the covers).
On my local linux machine running PHP 5.3 it works perfectly. However, when I move to a remote server ...
0
votes
0answers
249 views
How to get Curl Working on my server
I followed the instructions here to install curl in my server but it is without open ssl. I did it through SSH, i got the root access. I restarted my apache after the installation but i can't get ...
0
votes
1answer
232 views
How to upgrade php curl on Ubuntu 10.04
I have a web service on 64bit AWS/ubuntu 10.04 machine. Current php ver PHP Version 5.3.2-1ubuntu4.15. Current curl ver: 7.19.7
This Curl version has a memory leak and I need to upgrade to V 7.25.0
...
2
votes
1answer
388 views
file_get_contents url wrappers work on cli but not cgi
I have a big problem. I have just upgraded to a new dedicated server running Plesk 10, and Ubuntu 11.04 and my scripts can't run file_get_contents or curl to external urls in cgi mode. ...
1
vote
0answers
1k views
CURL ERROR: Recv failure: Connection reset by peer - PHP Curl
I've posted a question yesterday on stackoverflow here but think this might be server related. I'm connecting using the PHP curl functionality to a server that then generates a PDF file and sends it ...
1
vote
1answer
401 views
Allow outgoing connections for cURL on LAMP stack
I've been trying to setup a LAMP stack to use as a web development server and it's proving to be very frustrating for a novice like myself.
On a Fedora 16 machine, I've got Apache, MySQL, PHP, cURL, ...
0
votes
1answer
452 views
PHP, Apache and curl: Differences between Windows and Linux?
I'm trying to run my php App on Ubuntu Server 11.10. This App works fine under Apache + PHP in windows. I have other applications that I can simply copy&paste between the 2 OS and they work on ...
0
votes
2answers
298 views
Does PHP script itself count as a process?
My server has a limited number of concurrent processes (20) it can handle. To make sure I don't exceed I need to understand:
When a user is waiting for a PHP script to finish loading, does the ...
0
votes
1answer
417 views
curl installation and upgrade
On a centos 5.7 machine we had curl 7.15 installed . We also have PHP installed in it as some of the PHP libraries are linked to curl.
We wanted to upgrade curl to 7.19 but yum update was failing . ...
3
votes
1answer
150 views
Problems restarting Apache - Curl related
I'm having a problem compiling LAMP, I have everything compiled and working, but when I try to restart apache I get the following error:
seg fault or similar nasty error detected in the parent ...
0
votes
2answers
1k views
Enabling CURL on Ubuntu 11.10
I have installed curl:
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
and I have updated my php.ini file to include(I also tried .so):
extension=php_curl.dll
To test if curl is ...
0
votes
1answer
166 views
PHP CURL Enable Linux
I have some php scripts that I've been running on an Apache server on a windows machine. These scripts use curl which isn't enabled by default in php. For windows enabling it was as easy and ...
0
votes
1answer
157 views
cURL on Linux not compiled, although installed,why?
the phpinfo() shows
but when i install zencart on my vps hosting. it shows
why? how to correct it?
1
vote
1answer
706 views
How do you enable SSL for PHP cURL on Linux?
That's all there is to my question: how do you enable SSL for PHP cURL on Linux (specifically Ubuntu)? I'm not finding the answer by Googling it.
0
votes
1answer
957 views
Curl POST - 411 Length Required
We have a RestFUL API we build in PHP. If we make the request:
curl -u api-key:api-passphrase https://api.domain.com/v1/product -X POST
We get back:
411 - Length Required
Though if we simply add ...
0
votes
4answers
1k views
Install PHP 5.1.2, Requires: libcurl.so.3()(64bit) error
I'm trying to install php 5.1.2 on a CentOS 6 server (for grandfathering in old websites).
I downloaded an RPM file ( php-5.1.2-5.x86_64.rpm ), but when I use:
yum install php-5.1.2-5.x86_64.rpm
I ...
2
votes
1answer
2k views
How to log outgoing http requests from PHP + cURL?
I have a PHP script set up that makes cURL requests whenever an action is performed on a site. The problem is that the information is being POSTed twice whenever the action is run.
I need to work ...
2
votes
1answer
79 views
Editing hosts file of my Mediatemple DV container
I have a PHP script in a Mediatemple (dv) server that uses cURL to post data to a remote website. This remote website also resides in a (dv) server and doesn't have a domain name yet. I can only ...
0
votes
3answers
84 views
How to intentionally degrade an outbound connection in linux
I am testing the timeout handling for an outbound CURL in a PHP app I am developing after an outage at an affiliate brought down my site. I am looking for a way to intentionally slowdown or ...
3
votes
1answer
2k views
Trying to install pecl Solr extension but it needs curl
When I try to install solr-beta:
pecl install solr-beta
I get this error:
pecl/solr requires PHP extension "curl"
No valid packages found
install failed
The thing is curl is already installed and ...
1
vote
0answers
72 views
What is PHP cURL and libcurl version relationship?
I'm running php with curl support on a mac. cURL in php works fine(ish) but I noticed an oddity reported by phpinfo(). It states that curl support is 7.19.7
But using the otool command, I get this:
...
0
votes
1answer
206 views
Run crontab to click a website link every hour
I would like to click on a test like this (the "start testing" button) every hour so I can get a hourly result (results are saved on the server side). Basically what happens is that I connect with a ...
0
votes
3answers
788 views
How to enable PHP Curl on linux machine using FTP only
I only have access only to php.ini file and I want to be able to add curl extenssion to my linux machine.
I don't have access to terminal.
I tried adding:
extension=curl.so
but it doesn't ...
2
votes
1answer
3k views
How to install PHP from source with latest cURL package on Linux?
I simply have to use the latest cURL version (7.21.3) with PHP on my webserver. (Has to do with specific bug fixes)
It is not available by default on most current Linux variant repositories. (Natty ...
0
votes
2answers
281 views
Errors installing the Curl library with PHP/Apache/Windows
I'm having a hell of a time getting Curl to work with PHP/Apache on my Windows XP 64-bit development box. I have PHP and Apache successfully installed, but when I tried to enable Curl I get the ...
0
votes
1answer
558 views
php curl extension problem, ubuntu
i've installed (as root)
aptitude install curl php5-curl libcurl3 libcurl3-dev
and added extension=curl.so to my php.ini (i assumed this wasn't done automatically because i'm using Lighty and not ...
0
votes
2answers
821 views
Apache curl via HTTP proxy
I am trying to get PHP to execute a curl connection to another server. To connect to the server, we need to go via a proxy.
Within bash, we have set the env-variable http_proxy and this works ...
0
votes
2answers
137 views
One long php process hogging the system, producing average spikes > 8
I recently moved my site from a VPS to a dedicated server. The VPS was around the same speed/spec with the dedicated one. It's usual load average was around .7-.9 (it was a supposed 3 core system).
...
0
votes
3answers
383 views
What Happens When Apache Times Out?
I am a PHP developer and I just spent a good amount of time trying to track down a very strange problem the users of our web application were reporting. It turns out due to a slow API call over the ...
0
votes
1answer
973 views
nginx + php-fpm “504 Gateway Time-out” after compiling with curl support
We recently switched to managing php with php-fpm. It was working great, but is now giving me issues. The most recent change was to install libcurl-devel and re-compile php (5.3.3) using --with-curl.
...
0
votes
2answers
1k views
Apache 2.2 + PHP 5.3.2 + cURL not working
When I try to start the Apache server (with PHP and cURL extension), it says:
The Apache2.2 service is restarting.
Starting the Apache2.2 service
The Apache2.2 service is running.
rmine the server's ...
2
votes
2answers
813 views
WHM: how to add curl extension to PHP?
i need curl installed on php. how can i add it using WHM?
and does it have any security issue or may couse problem for accounts on the shared host?
0
votes
1answer
88 views
Use all 255 server IP Addresses
I am running an Ubuntu server having 255 IP addresses. I want to write down a PHP script that uses each IP to do a curl request. Is this possible ?
0
votes
1answer
451 views
How to fix Apache from crashing with PHP+Curl on an SSH request?
My Apache process segfaults whenever I call curl_exec() from PHP with an "https://" URL.
If I use http instead of https as the URL transport, it works perfectly, so I know curl and the other curl ...
0
votes
1answer
301 views
PHP on IIS6, Windows Server 2003. Enabling cURL causes CGI Error
I'm running an IIS6 server on Windows Server 2003 R2 SP2.
I've installed PHP on the server, and MOST of it is working fine. However, if I try to enable the cURL extension for PHP, I get the following ...
1
vote
1answer
673 views
FastCGI Process error when enable cURL
I have:
windows Server 2003 - IIS 7.0 - PHP 5.2
Now I tried to install cURL. I get the php_curl.dll in the php.ini and have the right extension path. I also added the both needed dll-files to the ...