Dedicated server setup for PODIO API

Comments

5 comments

  • Sarah Horn

    Hi,

    We ( http://phases.dk/ ) do a lot of Podio API work and here is the server setup we use:

    1. Ubuntu Server 14.04 LTS (latest).
    2. PHP version 5.3 or later (latest PHP 5.5.*).
    3. Curl PHP extension.
    
    4. If there is huge data processing, raise the max execution time and memory limit:
        vim /etc/php5/fpm/php.ini -> max_execution_time = 500 (increase this if needed)
        vim /etc/php5/fpm/php.ini -> memory_limit = 128M (increase this if needed)
    
    5. Here is the clean documentation on installtion of all the requirements: 
        https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04
    

    Note: Podio API doesn't require any additional PHP modules except Curl.

    I hope this helps.

    2
    Comment actions Permalink
  • Rudolph de Kock

    Thank you for the detailed reply , I will try increasing the limits.

    I got a feeling it might be the max execution time.

    0
    Comment actions Permalink
  • Rudolph de Kock

    Our dedicated server is accessed through an https connection but we only have a self signed ssl certificate for the server , could that cause problems?

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Rudolph, a self-signed certificate might cause problems if you are using webhooks, but I'm not sure about that.

    In general podio-php only has curl and openssl as requirements. For anything else such as choice of webserver you are free to choose whatever you feel the most comfortable with.

    If you are working with very large collections of objects (typically large collections of app items) PHP can start to consume a lot of memory. So keep track of your memory consumption. :)

    1
    Comment actions Permalink
  • Rudolph de Kock

    Thx Andreas, I'l get a certificate for the server , we plan on using a lot of webhooks.

    I used easyApache on WHM to check if curl & curlssl is checked , and I pushed my max execution time to 1000 & memory limit to 512M , but still get the same response, and its just a basic app auth with 20 items called. Do apache install libcurl automatically when you check cURL, maybe cURL isn't even installed.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk