Hello, i’m going to start an ad network and i’m choosing to host it wih DO. First i want to choose the smallest VPS and when the network grows i will scale up the droplet with more resources. Application System requirements: Web Server PHP 5.3 or higher GD library 2.02 or higher (it’s available in PHP by default) MySQL database 4 or higher
I want to configure something like this: OS: Centos 6.4 64 Nginx webserver MySQL Of course php libraries and FFmpeg library to convert uploaded videos to flv format.
Once a day need to run a cron-job to reset the allowed maximum of clicks and impressions a day from from unique ips, send mails with stats etc. It is okay to store php sessions in memcache? ( https://www.digitalocean.com/community/articles/how-to-store-php-sessions-in-memcached-on-a-centos-vps )
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Yes, it’s faster to store sessions in memory (memcached) than on disk. <br> <br>Also consider using MariaDB instead of MySQL: <br> <br><a href=“http://www.sagetree.com/sage-advice/christoph-weber/replace-mysql-mariadb-ubuntu-1204-lts”>http://www.sagetree.com/sage-advice/christoph-weber/replace-mysql-mariadb-ubuntu-1204-lts</a>
Some stats like will be automatically updated each 3 hours.