Entries by John Del Rosario

Setting up PHP and WordPress on Nginx

Introduction In this post we’ll install PHP5 and WordPress and serve it with Nginx. This post assumes we’ve already set up Nginx. For our PHP projects, we want the same structure as our Python projects: /var/www/ `- php-project/ |- src/ |- conf/ | |- php-fpm.conf | `- nginx.conf `- logs/ Install PHP and FPM We […]

Creating PayPal IPN Handlers with Tornado

What is IPN? Instant Payment Notification (IPN) is PayPal’s message service that sends a notification when a transaction is affected. Basically, once a PayPal transaction happens, it sends a notification to a handler you specify, with all the information and variables you need to handle that event in your application. Check out PayPal’s official docs […]