Help PHP Extension (curl)

Discussion in 'Tips/Tricks/Mods' started by boardmain, May 30, 2006.

  1. boardmain

    boardmain New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Is the curl extension listed in your php.ini?
     
  3. boardmain

    boardmain New Member

    yes, i have reinstalled ispconfig with --with-curl param
    curl "work" but with some script i recive zero lenght as response.....

    :(
     
  4. boardmain

    boardmain New Member

    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: May 30, 2006
  5. falko

    falko Super Moderator Howtoforge Staff

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

    boardmain New Member

    yes, main php i mean...
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

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

Share This Page