Dedicated server setup for PODIO API
My API works locally , but on the dedicated server its not working , I just want a server setup that works for podio , do u have any documentation on what PHP extensions and server settings should be enabled for podio to work.
I have cURL and openssl enabled & php v 5.4 . I would like a full server configuration encluding apache php and general server settings that will work with podio.
-
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.
-
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. :)
-
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.
Please sign in to leave a comment.
Comments
5 comments