Sponsored Content
Top Forums UNIX for Advanced & Expert Users Upgrade PHP (LAMP) to support cURL. Anyone? Post 60277 by Neo on Friday 14th of January 2005 12:54:45 AM
Old 01-14-2005
Done. I got it going........ working on paid subscriptions for another vB3 site.

The best way to do it is to recompile PHP and (then) Apache. I use static PHP in Apache to increase performance.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

configure php with mcrypt support

output of uname -a: Linux XXXXX 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 GNU/Linux i'm trying to configure php with mcrypt support. output is below: ./configure --with-apxs2=/usr/local/apache/bin/apxs \ --with-mysql=/usr/lib/mysql3/mysql/mysql_config \... (1 Reply)
Discussion started by: pupp
1 Replies

2. Hardware

Upgrade Sun Fire v65x to support USB External HD?

Hi, Does anyone know if it's possible to upgrade a Sun Fire v65x to support USB external hard drive(s)? My take on this is the USB ports were designed to support keyboard and mouse funtionality. BIOS Version/Date is: Intel Corporation SWV25.86B.1191.P08.0310291543, 10/29/2003. Does anyone... (3 Replies)
Discussion started by: mattdon
3 Replies

3. Solaris

Compile php with curl on solaris 10 question

I have curl compiled into /usr/local. I needed to install another version into /usr/local/curl-7.19.5 and compile php using that directory. I believe I had done that but an ldd run against php shows it is using /usr/local/lib. I have my configure script below showing how it was built and php -i... (1 Reply)
Discussion started by: csgonan
1 Replies

4. Shell Programming and Scripting

Proxy with curl/wget support

I need a proxy that would enable me to use cli curl/wget with another ip address. How do I find a paid proxy server that supports curl/wget? (1 Reply)
Discussion started by: locoroco
1 Replies

5. Web Development

Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini)

Hello everyone, I would like to setup a lamp server from a minimal distro and to compile PHP, MySQL and Apache myself. I have chosen CentOS minimal for the OS and I am trying to build the stack by hand... But well, it appears I need some help! First: I am looking for good and recent... (3 Replies)
Discussion started by: freddie50
3 Replies

6. Solaris

Solaris,PHP,Expect support

Hello All, I installed php5 from OpenCSW but i believe it does not support the expect module. I tried to run a php script to call expect to do a telnet to a device but i got this error PHP Warning: fopen(): Unable to find the wrapper "expect" - did you forget to enable it when you... (6 Replies)
Discussion started by: kaf3773
6 Replies

7. Red Hat

Error while starting Apache after compiling PHP and Curl

Hello, I am facing an issue while starting the apache server after compiling php and curl. Below are the versions i am using. php-5.2.17 httpd-2.2.17 curl-7.16.0 CentOS5.5x64 Compiling above packages without curl working very fine but when trying to compile php with curl below error is... (1 Reply)
Discussion started by: sunnysthakur
1 Replies

8. Shell Programming and Scripting

How to get contents of php page using curl in C language?

Hi, I want to write code in C using curl library to get output of php page , the output is in xml. Thanks (2 Replies)
Discussion started by: nitks.abhinav
2 Replies
CURL_INIT(3)								 1							      CURL_INIT(3)

curl_init - Initialize a cURL session

SYNOPSIS
resource curl_init NULL ([string $url]) DESCRIPTION
Initializes a new session and return a cURL handle for use with the curl_setopt(3), curl_exec(3), and curl_close(3) functions. PARAMETERS
o $url - If provided, the CURLOPT_URL option will be set to its value. You can manually set this using the curl_setopt(3) function. Note The file protocol is disabled by cURL if open_basedir is set. RETURN VALUES
Returns a cURL handle on success, FALSE on errors. EXAMPLES
Example #1 Initializing a new cURL session and fetching a web page <?php // create a new cURL resource $ch = curl_init(); // set URL and other appropriate options curl_setopt($ch, CURLOPT_URL, "http://www.example.com/"); curl_setopt($ch, CURLOPT_HEADER, 0); // grab URL and pass it to the browser curl_exec($ch); // close cURL resource, and free up system resources curl_close($ch); ?> SEE ALSO
curl_close(3), curl_multi_init(3). PHP Documentation Group CURL_INIT(3)
All times are GMT -4. The time now is 05:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy