{"id":925,"date":"2010-09-13T00:33:57","date_gmt":"2010-09-13T08:33:57","guid":{"rendered":"http:\/\/www.codebelay.com\/blog\/?p=925"},"modified":"2010-09-13T00:33:57","modified_gmt":"2010-09-13T08:33:57","slug":"what-you-missed-at-wordcamp-la","status":"publish","type":"post","link":"https:\/\/www.codebelay.com\/blog\/2010\/09\/13\/what-you-missed-at-wordcamp-la\/","title":{"rendered":"What You Missed At WordCamp LA"},"content":{"rendered":"<p>Here&#8217;s what you missed:<\/p>\n<p>Installing nginx with php-fpm with varnish on the front end will make your WordPress install fly 50 times faster.<\/p>\n<p>If you&#8217;re using apt-get, you can just use:<br \/>\napt-get install php-fpm<br \/>\nOr <a href=\"http:\/\/www.howtoforge.com\/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian\">try this guide<\/a> on how-to forge.<br \/>\nHere&#8217;s the install process I used using PHP 5.3.3 on OS X:<\/p>\n<div style=\"padding: 5px 5px 5px 5px; color: #fff; background: #000; font-family: Courier;\">\n<pre style=\"background: #000; color: #fff;\">\r\nsudo .\/configure --prefix=\/usr\/local --enable-fpm \\ \r\n  --with-fpm-user=daemon --with-fpm-group=daemon \\ \r\n  --with-mcrypt --with-mysql=\/usr\/local\/mysql --with-zlib \\\r\n  --enable-mbstring --disable-pdo --with-curl --disable-debug \\\r\n  --disable-rpath --enable-inline-optimization --with-bz2 \r\n  --with-zlib --enable-sockets --enable-sysvsem \\\r\n  --enable-sysvshm --enable-pcntl --enable-mbregex \\\r\n  --with-mhash --enable-zip --with-pcre-regex \\ \r\n  --with-iconv=shared,\/usr\r\nmake && make install\r\ncp sapi\/fpm\/php-fpm.conf \/usr\/local\/etc\/php-fpm.conf\r\n# edit php-fpm.conf with the right paths\r\ncp sapi\/fpm\/php-fpm \/usr\/local\/sbin\/php-fpm\r\ncp init.d.php-fpm \/etc\/init.d\/php-fpm\r\n\/etc\/init.d\/php-fpm start\r\n<\/pre>\n<\/div>\n<p>If you get an error message it&#8217;s probably because you didn&#8217;t go through the config to set things up.<\/p>\n<p>The next part is nginx.<\/p>\n<div style=\"padding: 5px 5px 5px 5px; color: #fff; background: #000; font-family: Courier;\">\n<pre style=\"background: #000; color: #fff;\">\r\n.\/configure --prefix=\/usr\/local\/nginx && make && make install\r\n<\/pre>\n<\/div>\n<p>My conf\/nginx.con looks like <a href=\"http:\/\/www.codebelay.com\/nginx.conf.txt\">this<\/a>. My sites-enabled\/default.conf looks like <a href=\"http:\/\/www.codebelay.com\/default.conf.txt\">this<\/a>. My conf\/fastcgi_params file is <a href=\"http:\/\/www.codebelay.com\/fastcgi_params.txt\">here<\/a>.<\/p>\n<p>I just start nginx with \/usr\/local\/nginx\/sbin\/nginx and I&#8217;m good to go.<\/p>\n<p>The quote that stuck with me the most was what <a href=\"http:\/\/twitter.com\/JoshHighland\">Josh Highland<\/a> said about caching:<\/p>\n<p>&#8220;You should use WordPress Cache Plugins. It&#8217;s like printing money. It&#8217;s free!&#8221;<\/p>\n<p>For adding your own contact form, I learned about <a href=\"http:\/\/wordpress.org\/extend\/plugins\/contact-form-7\/\">Contact Form 7<\/a>. You can ditch WuFoo if you have this configured on your WordPress.<\/p>\n<p>There&#8217;s also <a href=\"http:\/\/wordpress.org\/extend\/plugins\/pods\/\">Pods<\/a>, which is like contact-form-7 except it&#8217;s a whole framework for creating your own content types and making them show up where you want.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s what you missed: Installing nginx with php-fpm with varnish on the front end will make your WordPress install fly 50 times faster. If you&#8217;re using apt-get, you can just use: apt-get install php-fpm Or try this guide on how-to forge. Here&#8217;s the install process I used using PHP 5.3.3 on OS X: sudo .\/configure [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[170,4,122],"tags":[],"class_list":["post-925","post","type-post","status-publish","format-standard","hentry","category-command-line","category-how-to","category-wordpress"],"_links":{"self":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/comments?post=925"}],"version-history":[{"count":0,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/posts\/925\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/media?parent=925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/categories?post=925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codebelay.com\/blog\/wp-json\/wp\/v2\/tags?post=925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}