Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-15-2013, 10:49 PM   #1
Registered: May 2008
Location: Republic of Texas
Posts: 304

Rep: Reputation: 55

Running 14.0 (kernel 3.7.1, curl-7.27.0) I have a php-script requiring curl and it doesn't work :-(
Googled some and found that curl should be recompiled with ldap disabled.

Just wondered if the new, shiny 14.1 will cause the same problem?
(and before yall shout at me - I'm absolutely blank about anything to do with php - and curl/ldap too for that matter)

Btw - what I'm trying to use is a speedtest.php which would allow me to log my internet speeds unattended.
Previously I had a python-script that supposedly does the same - and it has worked (with a li'l tweek) perfectly for several months. After speedtest became 'Ookla Speedtest', my ole python-script only gives me ~1/3 of the speed reported by *sigh*

Can anyone enlighten me?
Old 10-16-2013, 02:06 AM   #2
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,557

Rep: Reputation: 140Reputation: 140
I don't know what disabling of ldap has to do with curl working or not. Probably nothing. You have to install the curl extension for PHP. On a Debian based system something like
sudo apt-get install php5-curl
should do the job. RPM based distros need a different command but you can probably guess or google that.
Old 10-16-2013, 07:03 AM   #3
Registered: May 2008
Location: Republic of Texas
Posts: 304

Original Poster
Rep: Reputation: 55
Yeah - I've seen that as well - in Slackware (far as I can tell), there is but one php-package and one curl-package.
sbopkg has several php-extensions but curl is not one of them.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cURL for php - what can I need it for? Mr. Alex Programming 5 09-16-2011 04:26 PM
Ubuntu Hardy (php-ldap):Can't contact LDAP server eantoranz Programming 7 12-02-2008 06:40 PM
Can curl download a binary entry from a ldap server ? tclwp Programming 4 07-19-2005 07:57 AM
Curl under PHP ttxmika Slackware 11 05-31-2005 11:24 AM
php and curl Risen Linux - Software 0 09-02-2003 03:41 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration