-   Slackware (
-   -   php/curl/ldap (

perbh 10-15-2013 10:49 PM

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?

j-ray 10-16-2013 02:06 AM

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.

perbh 10-16-2013 07:03 AM

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.

All times are GMT -5. The time now is 09:46 AM.