3 ms·
"full disclosure: I didn’t want to install Apache+PHP on my dev machine, so I haven’t tested this one" Something rubbed me wrong with this statement. If you a
by niggler 14y ago
"full disclosure: I didn’t want to install Apache+PHP on my dev machine, so I haven’t tested this one"
Something rubbed me wrong with this statement. If you are going to make a remark like '[Clojure's] performance should be the highest of the above,' shouldn't you at least try them first?
- francispelland 14y agoNot to mention NGINX is what people should opt for, not Apache when it comes to performance.
- niggler 14y agoI've never used PHP with NGINX. Can you recommend a good tutorial for configuring the pair??
- ecaron 14y agoWhen using PHP and Nginx, you're going to become familiar with PHP-FPM (FastCGI Process Manager). The briefest tutorial to get to working is at http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-ubuntu-12.10 http://www.howtoforge.com/installing-nginx-with-php5-and-php....
- lmcnearney 14y agoLook at php-fpm (FastCGI process manager) which has been bundled with PHP 5.3+. On the nginx side, you would configure it to use fastcgi_pass. An example configuration is available in the Silex documentation: http://silex.sensiolabs.org/doc/web_servers.html#nginx http://silex.sensiolabs.org/doc/web_servers.html#nginx
- francispelland 14y agoTo be honest, I never used one. It came installed on my stack and all I did was disable apache, enabled NGINX and PHP-FPM (cgi compiled php, quite a bit faster). But if there would be a tutorial, perhaps this? http://www.howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian http://www.howtoforge.com/installing-php-5.3-nginx-and-php-f...
- mscarborough 14y agoYeah, that was kind of odd. Apache and PHP are probably the easiest stack to install out of these four, so why bother including it in your article? Full quote: "Ok, that seems to work (full disclosure: I didn’t want to install Apache+PHP on my dev machine, so I haven’t tested this one). Deployment in PHP works like this: Make sure your server is running apache and mod_php Put the files where the server expects" So which one is it, did you not install Apache+PHP or do you just check out and put files where the server expects? More proofreading would be nice.
- vilepickle 14y agoI laughed at that too. Let's take the hard way out and test these admittedly-ridiculous-to-deploy web stacks instead of spending a few minutes installing a LAMP stack. PHP can scale too: look at Facebook as an example or any hugely popular website running Wordpress/Drupal. Where do you want so spend your time: scaling your PHP production environment or configuring your JVM/rvm/Python/Passenger?