top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to work with CURL requests in LINUX format in a PHP script?

0 votes
428 views
How to work with CURL requests in LINUX format in a PHP script?
posted Apr 6, 2017 by Sumana

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+3 votes

I have php 5.6.5 on centos 4.5 64bit. I am unable to install curl. And generate so file, I have tried all the possibilities.

./configure --with-curl=/root/php-5.6.5/ext/curl/libs --with-mysql --with-mysqli --with-apxs2=/usr/local/apache2/bin/apxs
0 votes

I just upgraded Squeeze to Wheezy, and have difficulties with cURL PHP extension: I can't enable it.

I have installed following packages related to this issue: curl, libcurl3, libcurl3-gnutls, php5-curl.

I have in /etc/php5/mods-available/curl.ini

; configuration for php CURL module
; priority=20
extension=curl.so

I know that cURL extension is not enabled because I want to install Moodle and it complains about cURL extension. How can I solve this problem?

+1 vote

I am trying to figure out if I can run my sessionpersistence script that I run with Apache to see if sessions persist between two tomcat sites on two separate servers. The load balancer has session persistence enabled but Iam unsure how to test it. My thought was that I would just add the following php script to check, but apparently I am doing something wrong. The script is this:

but it seems not to like it if I add it from the webapps directory or from inside a directory under that. Is there some special trick to running php from inside tomcat ? I have tomcat set up the same on both servers and am fronting it with Apache if that adds options for me.

+1 vote

I want to code a member area script for processing activities between members of my website i.e. sending and receiving messages between logged in members. Any suggestions?

...