PDA

View Full Version : Help PHP Extension (curl)


boardmain
30th May 2006, 17:19
hi, i have a problem with curl extension on one ispconfig server..

when i try to use this api http://www.dentedreality.com.au/phpatomapi/

i recive a blank page (zero lenght)
im sure it is a problem of php, but seam to are enabled curl extension...

i tryed it on other server and it works fine

some one can help me to make work it on an ispconfig server?

i don't know what modify on ispconfig php settings....

thanks Samuele

falko
30th May 2006, 17:41
Is the curl extension listed in your php.ini?

boardmain
30th May 2006, 19:33
yes, i have reinstalled ispconfig with --with-curl param
curl "work" but with some script i recive zero lenght as response.....

:(

boardmain
30th May 2006, 19:40
if u have 5 min u can try to use the api (it is a client for blogger.com api's)
there are one example inside
u have only to insert username and password ( i can give mine if u can try)
it don't work only in ispconfig server...
i tryed it in others and it works

this is what i have on a ispconfig server machine
http://www.coppede.org/phpatomapi/examples/blogger.php
(the script is the example above)

falko
31st May 2006, 01:15
yes, i have reinstalled ispconfig with --with-curl param
curl "work" but with some script i recive zero lenght as response.....

:(
You need the curl extension in your main PHP, not in ISPConfig's PHP. ISPConfig's PHP is for ISPConfig only (on port 81).

boardmain
31st May 2006, 19:32
yes, main php i mean...

till
31st May 2006, 20:22
yes, main php i mean...

But why did you not simply install pthe php4-curl or php5-curl package from your linux distribution?