
30th May 2006, 17:19
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Help PHP Extension (curl)
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
|

30th May 2006, 17:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Is the curl extension listed in your php.ini?
|

30th May 2006, 19:33
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
yes, i have reinstalled ispconfig with --with-curl param
curl "work" but with some script i recive zero lenght as response.....
|

30th May 2006, 19:40
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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)
Last edited by boardmain; 30th May 2006 at 19:44.
|

31st May 2006, 01:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by boardmain
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).
|

31st May 2006, 19:32
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
yes, main php i mean...
|

31st May 2006, 20:22
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by boardmain
yes, main php i mean...
|
But why did you not simply install pthe php4-curl or php5-curl package from your linux distribution?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 02:34.
|
Recent comments
18 hours 2 min ago
23 hours 18 min ago
23 hours 29 min ago
23 hours 37 min ago
1 day 39 min ago
1 day 2 hours ago
1 day 5 hours ago
1 day 5 hours ago
1 day 5 hours ago
1 day 6 hours ago