<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="http://www.coolestguidesontheplanet.com/downtown/tech" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:fb="http://ogp.me/ns/fb#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
  <channel>
    <title>Tech</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/tech</link>
    <description></description>
    <language>en</language>
          <item>
    <title>MySQL ERROR! The server quit without updating PID file</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/mysql-error-server-quit-without-updating-pid-file</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;&lt;strong&gt;ERROR! The server quit without updating PID file&lt;br /&gt;ERROR! MySQL server PID file could not be found!&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Getting these bad boy errors on your mysql on OSX, there seems to be lots of solutions about how to fix this, Google hell, this more than likely happens if mysql is running and the OS is updated like from OSX Mountain Lion to Mavericks.&lt;/p&gt;&lt;p&gt;The mysql.socket is no longer visible in &lt;strong&gt;/tmp&lt;/strong&gt; eventhough mysql thinks it is. The .pid file in the mysql data folder is gone and mysql just wont behave without it.&lt;/p&gt;&lt;p&gt;So possible solutions are:&lt;/p&gt;&lt;p&gt;Remove &lt;strong&gt;/etc/my.cnf&lt;/strong&gt; or just back it up for now:&lt;/p&gt;
&lt;pre&gt;sudo mv /etc/my.cnf /etc/my.cnf.bak&lt;/pre&gt;
&lt;p&gt;Another solution is remove any .err files in the data folder or create missing .pid ones that the error message warns:&lt;/p&gt;
&lt;pre class=&quot;p1&quot;&gt;neilg@[/usr/local/mysql/data]: sudo /usr/local/mysql/support-files/mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/mysql/data/neils-iMac.local.pid).&lt;/pre&gt;
&lt;p class=&quot;p1&quot;&gt;So you could remove the .err files like so:&lt;/p&gt;
&lt;pre&gt;rm *.err /usr/local/mysql/data/&lt;/pre&gt;
&lt;p class=&quot;p1&quot;&gt;Not too sure about recreating the .pid file, i tried this and it just removed itself!&lt;/p&gt;&lt;p class=&quot;p1&quot;&gt;But these may not solve the issue, I found a clean install of the latest mysql will address the issue by installing all components from the dmg.&lt;/p&gt;&lt;p class=&quot;p1&quot;&gt;Download the latest &lt;a href=&quot;http://dev.mysql.com/downloads/mysql/&quot; target=&quot;_blank&quot;&gt;mysql&lt;/a&gt; and pick the &lt;b style=&quot;outline: 0px; color: rgb(85, 85, 85); font-family: verdana, arial, helvetica, sans-serif; line-height: 23px;&quot;&gt;Mac OS X 10.7 (x86, 64-bit), DMG Archive version.&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;p1&quot;&gt;&lt;b style=&quot;outline: 0px; color: rgb(85, 85, 85); font-family: verdana, arial, helvetica, sans-serif; line-height: 23px;&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;/downtown/sites/default/files/mysql-download.jpg&quot; style=&quot;width: 590px; height: 195px;&quot; /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Install all components and &lt;strong&gt;restart&lt;/strong&gt;, now you should have mysql server running again but now you will need to migrate the old data to the new. First up make sure mysql is not running either from System Prefs or the Terminal.&lt;/p&gt;
&lt;pre class=&quot;p1&quot;&gt;sudo /usr/local/mysql/support-files/mysql.server stop&lt;/pre&gt;
&lt;p class=&quot;p1&quot;&gt;or&lt;/p&gt;&lt;p class=&quot;p1&quot;&gt;&lt;img alt=&quot;mysql-server-stop&quot; src=&quot;/downtown/sites/default/files/mysql-server-stop.jpg&quot; /&gt;&lt;/p&gt;&lt;h3&gt;Migrate Databases&lt;/h3&gt;&lt;p&gt;The key directory from the previous mysql instance that needs to be copied is :&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;/usr/local/mysql-5.5.13-osx10.6-x86_64/data&lt;/pre&gt;
&lt;p&gt;So in this instance the previous mysql version was 5.5.13 - the steps are rename the &lt;strong&gt;new&lt;/strong&gt; data directory and copy in the &lt;strong&gt;old&lt;/strong&gt; one.&lt;/p&gt;&lt;h5&gt;Change Name of newer data directory&lt;/h5&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo mv /usr/local/mysql-5.6.14-osx10.7-x86_64/data &lt;span style=&quot;line-height: 1.538em;&quot;&gt;/usr/local/mysql-5.6.14-osx10.7-x86_64/&lt;/span&gt;&lt;span style=&quot;line-height: 1.538em;&quot;&gt;dataold&lt;/span&gt;&lt;/pre&gt;
&lt;h5&gt;Copy Old Databases into new location&lt;/h5&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo cp -rf /usr/local/mysql-5.5.13-osx10.6-x86_64/data &lt;span style=&quot;line-height: 1.538em;&quot;&gt;/usr/local/mysql-5.6.10-osx10.7-x86_64/&lt;/span&gt;&lt;/pre&gt;
&lt;h5&gt;&lt;span style=&quot;line-height: 1.538em;&quot;&gt;Start Mysql&lt;/span&gt;&lt;/h5&gt;
&lt;pre&gt;sudo /usr/local/mysql/support-files/mysql.server start&lt;/pre&gt;
&lt;h5&gt;&lt;span style=&quot;line-height: 1.538em; font-size: 13px; font-weight: normal;&quot;&gt;That should fix the issue&lt;/span&gt;&lt;/h5&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/mysql-error-server-quit-without-updating-pid-file&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/mysql-error-server-quit-without-updating-pid-file&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/mysql-error-server-quit-without-updating-pid-file&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;MySQL ERROR! The server quit without updating PID file&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Thu, 31 Oct 2013 09:05:45 +0000</pubDate>
 <dc:creator>Neil Gee</dc:creator>
 <guid isPermaLink="false">71 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  <item>
    <title>How to Install CloudFlare Apache Module on cPanel Server</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/how-install-cloudflare-apache-module-cpanel-server</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;Get the mod_cloudflare Apache module installed and configured on a cPanel server.&lt;/p&gt;&lt;p&gt;Download the Pearl installer script that will allow you to compile the Apache EasyScript to include the mod_cloudflare module&lt;/p&gt;
&lt;pre&gt;perl &amp;lt;(curl https://raw.github.com/tylerl/util/master/easyapache/cloudflare.pl) install&lt;/pre&gt;
&lt;p&gt;Next login to your cPanel server, go to EasyApache update script.&lt;/p&gt;&lt;p&gt;&lt;!--break--&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;cpanel-whm-easy-apache&quot; src=&quot;/downtown/sites/default/files/drupal-database/cpanel-whm-easy-apache.png&quot; title=&quot;cpanel-whm-easy-apache&quot; /&gt;&lt;/p&gt;&lt;p&gt;Move along the wizard until you get to the short options list or exhaustive list and select the &lt;strong&gt;Mod CloudFlare&lt;/strong&gt; option.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;cpanel-mod-cloudflare-apache&quot; src=&quot;/downtown/sites/default/files/drupal-database/cpanel-mod-cloudflare-apache.png&quot; title=&quot;cpanel-mod-cloudflare-apache&quot; /&gt;&lt;/p&gt;&lt;p&gt;  Save and build the new profile.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/how-install-cloudflare-apache-module-cpanel-server&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/how-install-cloudflare-apache-module-cpanel-server&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/how-install-cloudflare-apache-module-cpanel-server&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;How to Install CloudFlare Apache Module on cPanel Server&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Sat, 26 Oct 2013 05:21:25 +0000</pubDate>
 <dc:creator>gowranngee</dc:creator>
 <guid isPermaLink="false">70 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  <item>
    <title>Install Drush via PEAR on a cPanel Server</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/install-drush-pear-cpanel-server</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;How to install Drush via PEAR on a cPanel Server &lt;/p&gt;&lt;h2&gt;Install PEAR&lt;/h2&gt;&lt;p&gt;The first thing that you need to do is make sure that PEAR is running &lt;/p&gt;
&lt;pre&gt;pear version&lt;/pre&gt;
&lt;p&gt;If PEAR is not installed it can be easily added via EasyApache Update via WHM in the Exhaustive Options List, check the box and recompile to add in PEAR to your server.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;install-drush-via-pear-cpanel&quot; src=&quot;/downtown/sites/default/files/install-drush-via-pear-cpanel.png&quot; /&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Once you have PEAR installed, you need to get the PEAR user config file set up - go to your &lt;strong&gt;cPanel GUI&lt;/strong&gt; interface and click on &lt;strong&gt;PHP PEAR Packages&lt;/strong&gt; you will see a config-set screen display &#039;suceeded&#039;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;php-pear-cpanel&quot; src=&quot;/downtown/sites/default/files/php-pear-cpanel.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;php-pear-cpanel-config&quot; src=&quot;/downtown/sites/default/files/php-pear-cpanel-config.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;Now on the command line go to your home directory and see your PEAR config&lt;/p&gt;
&lt;pre&gt;cd&lt;/pre&gt;
&lt;pre&gt;ls -la .pea*&lt;/pre&gt;
&lt;pre&gt;-rw-r--r-- 1 letit letit 527 Dec 15 01:05 .pearrc&lt;/pre&gt;
&lt;h3&gt;Link PEAR to the drush channel to download the package&lt;/h3&gt;
&lt;pre&gt;pear channel-discover pear.drush.org&lt;/pre&gt;
&lt;p&gt;Output should be:&lt;/p&gt;
&lt;pre&gt;Adding Channel &quot;pear.drush.org&quot; succeeded&lt;/pre&gt;
&lt;pre&gt;Discovery of channel &quot;pear.drush.org&quot; succeeded&lt;/pre&gt;
&lt;h2&gt;Install drush&lt;/h2&gt;
&lt;pre&gt;pear install drush/drush&lt;/pre&gt;
&lt;h2&gt;Upgrading drush&lt;/h2&gt;&lt;p&gt;For future upgrades just run&lt;/p&gt;
&lt;pre&gt;pear upgrade drush &lt;/pre&gt;
&lt;p&gt;For drush commands type &lt;strong&gt;drush&lt;/strong&gt; and see what is available - otherwise check the &lt;a href=&quot;http://drush.ws/&quot; target=&quot;_blank&quot; title=&quot;drush home&quot;&gt;drush website&lt;/a&gt; and a &lt;a href=&quot;http://coolestguyplanettech.com/downtown/installing-drush-drupal-cpanel-whm-server&quot; target=&quot;_blank&quot; title=&quot;learnng drush&quot;&gt;starting point for basic drush commands here&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-tags field-type-taxonomy-term-reference field-label-above clearfix&quot;&gt;&lt;h3 class=&quot;field-label&quot;&gt;Tags: &lt;/h3&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li class=&quot;taxonomy-term-reference-0&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/drupal&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;drupal&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-1&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/web-host&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Web Host&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/install-drush-pear-cpanel-server&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/install-drush-pear-cpanel-server&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/install-drush-pear-cpanel-server&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;Install Drush via PEAR on a cPanel Server&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Mon, 30 Sep 2013 05:46:04 +0000</pubDate>
 <dc:creator>Neil Gee</dc:creator>
 <guid isPermaLink="false">68 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  <item>
    <title>Get Apache, MySQL, PHP and phpMyAdmin working on OSX 10.9 Mavericks</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/get-apache-mysql-php-and-phpmyadmin-working-osx-109-mavericks</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;h3&gt;Get your Local Web Development Server Up &amp;amp; Running on OSX 10.9 Mavericks&lt;/h3&gt;&lt;p&gt;&lt;img alt=&quot;osx mavericks 10.9&quot; class=&quot;noimgclass&quot; src=&quot;/downtown/sites/default/files/osx-mavericks/osx-mavericks-109.png&quot; style=&quot;width: 159px; height: 162px; float: right;&quot; /&gt;&lt;/p&gt;&lt;p&gt;With the new OS out of the bag, getting the &lt;strong&gt;AMP&lt;/strong&gt; stack running on OSX 10.9 Mavericks is is pretty much the same as on &lt;strong&gt;&lt;a href=&quot;install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion&quot;&gt;OS X Mountain Lion 10.8&lt;/a&gt;. &lt;/strong&gt;This tutorial&lt;strong&gt; &lt;/strong&gt;will go through the process on getting &lt;strong&gt;Apache, MySQL, PHP &lt;/strong&gt;and&lt;strong&gt; phpMyAdmin&lt;/strong&gt; running on the new Maverick Californian driven OS.&lt;/p&gt;&lt;p&gt;If you had your local development already set up in OSX 10.8 and simply did an upgrade to 10.9, your MySQL, Apache and phpMyAdmin settings should all be good, you just need to enable &lt;a class=&quot;scroll&quot; href=&quot;#php&quot; title=&quot;boston&quot;&gt;PHP&lt;/a&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;section class=&quot;insetlist&quot;&gt;&lt;div class=&quot;centerStuff&quot;&gt;&lt;h2 id=&quot;ssu&quot;&gt;Setting Stuff Up&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;a class=&quot;scroll&quot; href=&quot;#apache&quot; title=&quot;apache&quot;&gt;Web Sharing / Apache&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class=&quot;scroll&quot; href=&quot;#webroot&quot; title=&quot;webroot&quot;&gt;Webroot - System and User level&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class=&quot;scroll&quot; href=&quot;#htaccess&quot; title=&quot;htaccess&quot;&gt;.htaccess Overrides&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class=&quot;scroll&quot; href=&quot;#php&quot; title=&quot;boston&quot;&gt;PHP&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class=&quot;scroll&quot; href=&quot;#mysql&quot; title=&quot;mysql&quot;&gt;MySQL&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class=&quot;scroll&quot; href=&quot;#phpmyadmin&quot; title=&quot;phpmyadmin&quot;&gt;phpMyAdmin&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a class=&quot;scroll&quot; href=&quot;#permissions&quot;&gt;Permissions&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/section&gt;&lt;h2 class=&quot;mainhead&quot; id=&quot;apache&quot;&gt;&lt;a class=&quot;scroll&quot; href=&quot;#ssu&quot;&gt;Apache/WebSharing&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;The web sharing option has not made it back in 10.9, which was previously a GUI &lt;a href=&quot;http://support.apple.com/kb/HT5230?viewlocale=en_US&amp;amp;locale=en_US&quot; target=&quot;_blank&quot; title=&quot;apple drop web sharing&quot;&gt;option&lt;/a&gt; in System Preferences back in 10.7, but fear not Apache is installed ready to be switched on.&lt;/p&gt;&lt;address&gt;&lt;img alt=&quot;no-web-sharing in Mountain Lion&quot; src=&quot;/downtown/sites/default/files/no-web-sharing.jpg&quot; style=&quot;width: 590px; height: 477px;&quot; /&gt;&lt;p class=&quot;tagline&quot;&gt;No Web Sharing Option in System Preferences&lt;/p&gt;&lt;/address&gt;&lt;p&gt;Apache is pre-installed in the OS and needs to be enabled via the command line - this needs to be done in Terminal which is found at &lt;strong&gt;/Applications/Utilities/Terminal&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;For those not familiar with the Terminal, it really isn&#039;t as intimidating as you may think, once launched you are faced with a command prompt waiting for your commands - just type/paste in a command and hit enter, some commands give you no response - it just means the command is done, other commands give you feedback - lets get to it....&lt;/p&gt;&lt;p&gt;to start it&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo apachectl start&lt;/pre&gt;
&lt;p&gt;to stop it&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo apachectl stop&lt;/pre&gt;
&lt;p&gt;to restart it&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo apachectl restart&lt;/pre&gt;
&lt;p&gt;To find the Apache version&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;httpd -v&lt;/pre&gt;
&lt;p&gt;The version installed in OSX Mavericks is &lt;strong&gt;Apache/2.2.24&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;apache web serving it works&quot; src=&quot;/downtown/sites/default/files/itworks.png&quot; style=&quot;width: 389px; height: 345px;&quot; /&gt;&lt;/p&gt;&lt;p&gt;After starting Apache - test to see if the webserver is working in the browser - &lt;a href=&quot;http://localhost&quot;&gt;http://localhost&lt;/a&gt; - you should see the &quot;It Works!&quot; text.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;h2 class=&quot;mainhead&quot; id=&quot;webroot&quot;&gt;&lt;a class=&quot;scroll&quot; href=&quot;#ssu&quot;&gt;Document Root&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Document root is the location where the files are shared from the file system and is similar to the traditional names of &#039;public_html&#039; and &#039;htdocs&#039;, OSX has historically had 2 web roots one at a system level and one at a user level - you can set both up or just run with one, the user level one allows multiple acounts to have their own web root whilst the system one is global for all users. It seems there is less effort from Apple in continuing with the user level one but it still can be set up with a couple of extra tweaks. It is easier to use the user level one as you don&#039;t have to keep on authenticating as an admin user.&lt;/p&gt;&lt;h3&gt;System Level Web Root&lt;/h3&gt;&lt;p&gt;- the default system document root is still found at - &lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;http://localhost/&quot;&gt;http://localhost/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;The files are shared in the filing system at -  &lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;/Library/WebServer/Documents/&lt;/pre&gt;
&lt;h3 class=&quot;mainhead&quot; id=&quot;userlevel&quot;&gt;User Level Root&lt;/h3&gt;&lt;p&gt;The other web root direcroty which is missing by default is the &#039;&lt;strong&gt;~/Sites&#039;&lt;/strong&gt; folder in the User account. You need to make a &quot;&lt;strong&gt;Sites&lt;/strong&gt;&quot; folder at the root level of your account and then it will work. Upgrading from a previous OS X version preserves the Sites folder but removes the ability to web serve from it - this is where you need to add in a &#039;username.conf&#039; file.&lt;/p&gt;&lt;address&gt;&lt;p class=&quot;tagline&quot;&gt;&lt;img alt=&quot;sites user web root folder osx mavericks&quot; src=&quot;/downtown/sites/default/files/osx-mavericks/sites-user-folder-osx-mavericks.png&quot; style=&quot;width: 447px; height: 256px;&quot; /&gt;&lt;/p&gt;&lt;p class=&quot;tagline&quot;&gt;Create a Sites folder at the account root level &lt;/p&gt;&lt;/address&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgb(254, 254, 254); color: rgb(102, 102, 102); font-family: &#039;Calluna Sans&#039;, Arial, Helvetca, serif; font-size: 15px;&quot;&gt;Check that you have a “username.conf” filed under:&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;qoate-code&quot; style=&quot;margin-top: 0px; outline: 0px; margin-bottom: 22px !important; padding: 11px !important; border: 1px solid rgb(218, 218, 218) !important; font-size: 12px !important; background-image: none !important; background-attachment: scroll !important; background-color: rgb(240, 240, 240) !important; font-family: Consolas, Monaco, &#039;Courier New&#039;, Courier, monospace !important; overflow-x: auto !important; word-wrap: break-word !important; line-height: 1.3em !important; background-position: 0px 0px !important; background-repeat: repeat repeat !important;&quot;&gt;/etc/apache2/users/&lt;/pre&gt;
&lt;p style=&quot;margin-top: 0px; margin-bottom: 15px; outline: 0px; font-size: 15px; background-color: rgb(254, 254, 254); color: rgb(102, 102, 102); font-family: &#039;Calluna Sans&#039;, Arial, Helvetca, serif;&quot;&gt;If you don’t (very likely), then create one named by the short username of the account with the suffix &lt;strong&gt;.conf&lt;/strong&gt;, it&#039;s location and permissions/ownership is best tackled by using the Terminal, the text editor &#039;nano&#039; would be the best tool to deal with this.  &lt;/p&gt;&lt;p style=&quot;margin-top: 0px; margin-bottom: 15px; outline: 0px; font-size: 15px; background-color: rgb(254, 254, 254); color: rgb(102, 102, 102); font-family: &#039;Calluna Sans&#039;, Arial, Helvetca, serif;&quot;&gt;Launch &lt;strong&gt;Terminal&lt;/strong&gt;, (Applications/Utilities), and follow the commands below, first one gets you to the right spot, 2nd one cracks open the text editor on the command line (swap &#039;&lt;strong&gt;username&lt;/strong&gt;&#039; with your account&#039;s shortname, if you don&#039;t know your account shortname type &#039;whoami&#039; the Terminal prompt):&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;cd /etc/apache2/users&lt;/pre&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo nano username.conf&lt;/pre&gt;
&lt;p style=&quot;margin-top: 0px; margin-bottom: 15px; outline: 0px; font-size: 15px; background-color: rgb(254, 254, 254); color: rgb(102, 102, 102); font-family: &#039;Calluna Sans&#039;, Arial, Helvetca, serif;&quot;&gt;Then add the content below swapping in your &#039;&lt;strong&gt;username&#039; &lt;/strong&gt;in the code below:&lt;/p&gt;
&lt;pre class=&quot;qoate-code&quot; style=&quot;margin-top: 0px; outline: 0px; margin-bottom: 22px !important; padding: 11px !important; border: 1px solid rgb(218, 218, 218) !important; font-size: 12px !important; background-image: none !important; background-attachment: scroll !important; background-color: rgb(240, 240, 240) !important; font-family: Consolas, Monaco, &#039;Courier New&#039;, Courier, monospace !important; overflow-x: auto !important; word-wrap: break-word !important; line-height: 1.3em !important; background-position: 0px 0px !important; background-repeat: repeat repeat !important;&quot;&gt;&amp;lt;Directory &quot;/Users/username/Sites/&quot;&amp;gt;
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
&amp;lt;/Directory&amp;gt;
&lt;/pre&gt;
&lt;p style=&quot;margin-top: 0px; margin-bottom: 15px; outline: 0px; font-size: 15px; background-color: rgb(254, 254, 254); color: rgb(102, 102, 102); font-family: &#039;Calluna Sans&#039;, Arial, Helvetca, serif;&quot;&gt;Permissions on the file should be:&lt;/p&gt;
&lt;pre class=&quot;qoate-code&quot; style=&quot;margin-top: 0px; outline: 0px; margin-bottom: 22px !important; padding: 11px !important; border: 1px solid rgb(218, 218, 218) !important; font-size: 12px !important; background-image: none !important; background-attachment: scroll !important; background-color: rgb(240, 240, 240) !important; font-family: Consolas, Monaco, &#039;Courier New&#039;, Courier, monospace !important; overflow-x: auto !important; word-wrap: break-word !important; line-height: 1.3em !important; background-position: 0px 0px !important; background-repeat: repeat repeat !important;&quot;&gt;-rw-r--r--   1 root  wheel  298 Jun 28 16:47 username.conf&lt;/pre&gt;
&lt;p&gt;If not you need to change...&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo chmod 644 username.conf&lt;/pre&gt;
&lt;p&gt;Restart Apache for the new file to be read:&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo apachectl restart&lt;/pre&gt;
&lt;p&gt;Then this user level document root will be viewable at:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;http://localhost/~username/&quot;&gt;http://localhost/~username/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;h2 class=&quot;mainhead&quot; id=&quot;htaccess&quot;&gt;&lt;a class=&quot;scroll&quot; href=&quot;#ssu&quot;&gt;Overide .htaccess&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;If you are going to use the document root at /Library/WebServer/Documents it is a good idea to allow any &lt;strong&gt;.htaccess&lt;/strong&gt; files used to override the default settings - this can be accomplished by editing the &lt;strong&gt;httpd.conf&lt;/strong&gt; file at line 217 and setting the &lt;strong&gt;AllowOverride&lt;/strong&gt; to &lt;strong&gt;All&lt;/strong&gt; and then restart Apache. This is already taken care of at the Sites level webroot by following the previous step.&lt;/p&gt;
&lt;pre&gt;/etc/apache2/httpd.conf&lt;/pre&gt;
&lt;h2&gt;&lt;img alt=&quot;allow-override-htaccess&quot; src=&quot;/downtown/sites/default/files/apache/allow-override-htaccess.png&quot; style=&quot;width: 590px; height: 492px;&quot; /&gt;&lt;/h2&gt;&lt;p&gt; &lt;/p&gt;&lt;h2 class=&quot;mainhead&quot; id=&quot;php&quot;&gt;&lt;a class=&quot;scroll&quot; href=&quot;#ssu&quot;&gt;PHP&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;PHP 5.4.17&lt;/strong&gt; is loaded in the latest preview of OSX 10.9 Mavericks and needs to be turned on by uncommenting a line in the &lt;strong&gt;httpd.conf&lt;/strong&gt; file.&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo nano /etc/apache2/httpd.conf&lt;/pre&gt;
&lt;p&gt;Use &quot;control&quot; + &quot;w&quot; to search within &lt;strong&gt;nano&lt;/strong&gt; and search for &#039;php&#039; this will land you on the right line then uncomment the line (remove the #):&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;LoadModule php5_module libexec/apache2/libphp5.so&lt;/pre&gt;
&lt;p&gt;Write out and Save using the nano short cut keys at the bottom &#039;control o&#039; and &#039;control x&#039;&lt;/p&gt;&lt;p&gt;Reload apache to kick in&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo apachectl restart&lt;/pre&gt;
&lt;p&gt;To see and test PHP, create a file name it &quot;phpinfo.php&quot; and file it in your document root with the contents below, then view it in a browser.&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt; &amp;lt;?php phpinfo(); ?&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;&lt;h2 class=&quot;mainhead&quot; id=&quot;mysql&quot;&gt;&lt;a class=&quot;scroll&quot; href=&quot;#ssu&quot;&gt;MySQL&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;MySQL is again a missing component in OS X 10.9 and needs to be &lt;a href=&quot;http://dev.mysql.com/downloads/mysql/&quot; target=&quot;_blank&quot;&gt;dowloaded from the MySQL site&lt;/a&gt; use the &lt;b style=&quot;outline: 0px; background-color: rgb(243, 243, 243); color: rgb(85, 85, 85); font-family: verdana, arial, helvetica, sans-serif; line-height: 23px;&quot;&gt;Mac OS X ver. 10.7 (x86, 64-bit), DMG Archive &lt;/b&gt;version (works fine on 10.9).&lt;/p&gt;&lt;p&gt;When downloading you don’t have to sign up, look for &lt;strong&gt;&lt;span style=&quot;background-color: rgb(255, 255, 0);&quot;&gt;» No thanks, just take me to the downloads!&lt;/span&gt;&lt;/strong&gt;  - go straight to the download mirrors and download the software from a mirror which is closest to you.&lt;/p&gt;&lt;p&gt;Once downloaded install the &lt;strong&gt;3&lt;/strong&gt; components. You may need to adjust the Security and Privacy System Pref to allow installs of 3rd party apps because of the new security feature of Mountain Lion known as the &#039;Gatekeeper&#039;, which keeps unscrupulous installer packages at bay.&lt;/p&gt;&lt;p&gt;To get around this without changing the global preferences (better!) right click or command click the &lt;strong&gt;.pkg &lt;/strong&gt;installer to bring up the contextual menu and select open, then you get the warning - then click Open.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;mysql install packages osx 10.9&quot; src=&quot;/downtown/sites/default/files/osx-mavericks/mysql-install-osx-mavericks.png&quot; style=&quot;width: 590px; height: 97px;&quot; /&gt;&lt;/p&gt;&lt;p&gt;Install all 3...&lt;/p&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;mysql5.6.xxx.pkg&lt;/li&gt;&lt;li&gt;MySQLstartupitem.pkg&lt;/li&gt;&lt;li&gt;MySQLPrefPane&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;img alt=&quot;install for osx user or all osx users&quot; src=&quot;/downtown/sites/default/files/osx-mavericks/mysql-prefernce-pane-osx-mavericks.png&quot; style=&quot;width: 590px; height: 458px;&quot; /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;The first is the MySQL software, the 2nd item allows MySQL to start when the Mac is booted and the third is a System Preference that allows start/stop operation and a preference to enable it to start on boot.&lt;/p&gt;&lt;p&gt;You can start the MySQL server from the System Preferences or via the command line &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;start-mysql system preferences&quot; src=&quot;/downtown/sites/default/files/start-mysql.png&quot; style=&quot;width: 560px; height: 274px;&quot; /&gt;&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo /usr/local/mysql/support-files/mysql.server start &lt;/pre&gt;
&lt;p&gt;To find the MySQL version from the terminal, type at the prompt:&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;/usr/local/mysql/bin/mysql -v&lt;/pre&gt;
&lt;p&gt;This also puts you in to an interactive dialogue with mySQL, type \q to exit.&lt;/p&gt;&lt;p&gt;After installation, in order to use mysql commands without typing the full path to the commands you need to add the mysql directory to your shell path, (optional step) this is done in your “.bash_profile” file in your home directory, if you don’t have that file just create it using vi or nano:&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;cd ; nano .bash_profile&lt;/pre&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;export PATH=&quot;/usr/local/mysql/bin:$PATH&quot;&lt;/pre&gt;
&lt;p&gt;The first command brings you to your home directory and opens the .bash_profile file or creates a new one if it doesn’t exist, then add in the line above which adds the mysql binary path to commands that you can run. Exit the file with type “control + x” and when prompted save the change by typing “y”. Last thing to do here is to reload the shell for the above to work straight away.&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;source ~/.bash_profile&lt;/pre&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;mysql -v&lt;/pre&gt;
&lt;p&gt;You will get the version number again, just type “\q” to exit.&lt;/p&gt;&lt;h3 id=&quot;password&quot;&gt;Set the MySQL root password&lt;/h3&gt;&lt;p&gt;Note that this is not the same as the root or admin password of OSX - this is a unique password for the &lt;strong&gt;mysql root user&lt;/strong&gt;, use one and remember/jot down somewhere what it is.&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;/usr/local/mysql/bin/mysqladmin -u root password &#039;yourpasswordhere&#039;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;background-color: rgb(255, 255, 0);&quot;&gt;Use the single &#039;quotes&#039; surrounding the password&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;h3 id=&quot;password&quot;&gt;Fix the 2002 MySQL Socket error&lt;/h3&gt;&lt;p&gt;Fix the looming 2002 socket error - which is linking where MySQL places the socket and where OSX thinks it should be, MySQL puts it in &lt;strong&gt;/tmp&lt;/strong&gt; and OSX looks for it in &lt;strong&gt;/var/mysql &lt;/strong&gt;the socket is a type of file that allows mysql client/server communication.&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo mkdir /var/mysql&lt;/pre&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock&lt;/pre&gt;
&lt;h2 class=&quot;mainhead&quot; id=&quot;phpmyadmin&quot;&gt;&lt;a class=&quot;scroll&quot; href=&quot;#ssu&quot;&gt;phpMyAdmin&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;a href=&quot;http://www.coolestguyplanettech.com/installing-phpmyadmin-on-mac-osx-10-7-lion/&quot; target=&quot;_blank&quot;&gt;phpMyAdmin is installed pretty much the same way as before&lt;/a&gt;.  &lt;/p&gt;&lt;p&gt;Fix the 2002 socket error first if you haven&#039;t done so from the MySQL section- &lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo mkdir /var/mysql&lt;/pre&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock&lt;/pre&gt;
&lt;p&gt;Download &lt;a href=&quot;http://www.phpmyadmin.net/home_page/downloads.php&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot; title=&quot;phpmyadmin download&quot;&gt;phpMyAdmin&lt;/a&gt;, the zip package and move the folder with its contents into the document root level renaming folder to &#039;phpmyadmin&#039;.&lt;/p&gt;&lt;p&gt;Make the &lt;strong&gt;config&lt;/strong&gt; folder&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;mkdir ~/Sites/phpmyadmin/config&lt;/pre&gt;
&lt;p&gt;Change the permissions&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;chmod o+w ~/Sites/phpmyadmin/config&lt;/pre&gt;
&lt;p&gt;Run the set up in the browser&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;http://localhost/~username/phpmyadmin/setup/&quot;&gt;http://localhost/~username/phpmyadmin/setup/&lt;/a&gt; &lt;/strong&gt;or&lt;strong&gt; &lt;/strong&gt;&lt;strong&gt;&lt;a href=&quot;http://localhost/phpmyadmin/setup/&quot;&gt;http://localhost/phpmyadmin/setup/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;line-height: 1.538em;&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;/downtown/sites/default/files/amp/phpmyadmin-set-new-server.png&quot; style=&quot;max-width: 100%;&quot; /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;You need to create a new &lt;span style=&quot;line-height: 1.538em;&quot;&gt;localhost &lt;/span&gt;&lt;span style=&quot;line-height: 1.538em;&quot;&gt;mysql server connection, click &lt;strong&gt;new server&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;/downtown/sites/default/files/amp/phpmyadmin-set-new-server-mysql-password.png&quot; style=&quot;max-width: 100%;&quot; /&gt;&lt;br /&gt;Switch to the &lt;strong&gt;Authentication&lt;/strong&gt; tab and set the local mysql root user and the password.&lt;br /&gt;Add in the username “root” (maybe already populated, add in the password that you set up &lt;strong&gt;&lt;a href=&quot;#password&quot;&gt;earlier&lt;/a&gt;&lt;/strong&gt; for the MySQL root user set up, click on save and you are returned to the previous screen.&lt;br /&gt;(This is not the OSX Admin or root password - it is the MySQL root user).&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;/downtown/sites/default/files/amp/phpmyadmin-save-config.png&quot; style=&quot;max-width: 100%;&quot; /&gt;&lt;br /&gt;Make sure you click on &lt;strong&gt;save&lt;/strong&gt;, then a config.inc.php is now in the /config directory of phpmyadmin directory, &lt;strong&gt;&lt;span style=&quot;background-color: rgb(255, 255, 0);&quot;&gt;move&lt;/span&gt;&lt;/strong&gt; this file to the root level of /phpmyadmin and then remove the now &lt;strong&gt;&lt;span style=&quot;background-color: rgb(255, 255, 0);&quot;&gt;empty&lt;/span&gt;&lt;/strong&gt; /config directory.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div&gt; &lt;/div&gt;&lt;p&gt;&lt;span style=&quot;line-height: 1.538em;&quot;&gt;Now going to &lt;a href=&quot;http://localhost/~username/phpmyadmin/&quot;&gt;http://localhost/~username/phpmyadmin/&lt;/a&gt; will now allow you to interact with your MySQL databases.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;/downtown/sites/default/files/amp/phpmyadmin-4-no-frames.png&quot; style=&quot;max-width: 100%;&quot; /&gt;&lt;/p&gt;&lt;p&gt;To upgrade phpmyadmin just download the latest version and copy the older &#039;&lt;strong&gt;config.inc.php&lt;/strong&gt;&#039; from the existing directory into the new folder and replace - backup the older one just in case.&lt;/p&gt;&lt;h2 class=&quot;mainhead&quot; id=&quot;permissions&quot;&gt;&lt;a class=&quot;scroll&quot; href=&quot;#ssu&quot;&gt;Permissions&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;To run a website with no permission issues it is best to set the web root and its contents to be writeable by all, since it&#039;s a local development it should&#039;nt be a security issue.&lt;/p&gt;&lt;p&gt;Lets say that you have a site in the &lt;strong&gt;User Sites&lt;/strong&gt; folder at the following location &lt;strong&gt;~/Sites/testsite&lt;/strong&gt; you would set it to be writeable like so:&lt;/p&gt;
&lt;pre&gt;sudo chmod -R a+w ~/Sites/testsite&lt;/pre&gt;
&lt;p&gt;If you are concerned about security then instead of making it world writeable you can set the owner to be Apache &lt;strong&gt;_www&lt;/strong&gt; but when working on files you would have to authenticate more as admin you are &quot;not&quot; the owner, you would do this like so:&lt;/p&gt;
&lt;pre&gt;sudo chown -R _www ~/Sites/testsite&lt;/pre&gt;
&lt;p&gt;This will set the contents recursively to be owned by the Apache user.&lt;/p&gt;&lt;p&gt;If you had the website stored at the &lt;strong&gt;System&lt;/strong&gt; level Document root at say &lt;strong&gt;/Library/WebServer/Documents/testsite&lt;/strong&gt; then it would have to be the latter:&lt;/p&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo chown -R _www /Library/WebServer/Documents/testsite&lt;/pre&gt;
&lt;p&gt;So I think it&#039;s worth setting up the User level root as there is &lt;strong&gt;less authentication!&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;That&#039;s it! You now have the native AMP stack running ontop of the tamed Mavericks wave.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;If you need &lt;a href=&quot;how-set-virtual-hosts-apache-osx-108-mountain-lion&quot; target=&quot;_self&quot;&gt;virtual hosts configured&lt;/a&gt; I have added a separate guide on how to set these up in the &lt;a href=&quot;how-set-virtual-hosts-apache-osx-108-mountain-lion&quot; target=&quot;_blank&quot;&gt;Apache config files&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;That&#039;s it! You now have the native AMP stack running ontop of OSX Mavericks.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-tags field-type-taxonomy-term-reference field-label-above clearfix&quot;&gt;&lt;h3 class=&quot;field-label&quot;&gt;Tags: &lt;/h3&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li class=&quot;taxonomy-term-reference-0&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/osx&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;OSX&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-1&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/web-host&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Web Host&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-2&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/apache&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;apache&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-3&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/mysql&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;mysql&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-4&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/php&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;php&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/get-apache-mysql-php-and-phpmyadmin-working-osx-109-mavericks&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/get-apache-mysql-php-and-phpmyadmin-working-osx-109-mavericks&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/get-apache-mysql-php-and-phpmyadmin-working-osx-109-mavericks&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;Get Apache, MySQL, PHP and phpMyAdmin working on OSX 10.9 Mavericks&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Sat, 10 Aug 2013 07:42:10 +0000</pubDate>
 <dc:creator>Neil Gee</dc:creator>
 <guid isPermaLink="false">65 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  <item>
    <title>Install WordPress on OS X Lion 10.7 and Mountain Lion 10.8</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/install-wordpress-os-x-lion-107-and-mountain-lion-108</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;If you want to get WordPress 3.6 quickly installed on your OS X machine for development or just to learn the software you can install all the necessary components including Apache, PHP, MySQL, phpMyAdmin and WordPress in one foul swoop &lt;strong&gt;without&lt;/strong&gt; launching the &lt;strong&gt;Terminal&lt;/strong&gt;. This type of install works best if you don&#039;t use Apple&#039;s built-in web sharing software.&lt;/p&gt;&lt;p&gt;&lt;!--break--&gt;&lt;/p&gt;&lt;p&gt;Super fast and super easy from &lt;a href=&quot;http://bitnami.org/&quot; target=&quot;_blank&quot;&gt;&lt;strong&gt;Bitnami&lt;/strong&gt;&lt;/a&gt; that puts all the required software in one easy installation. This tutorial covers up to OS X Mountain Lion 10.8.4 and will work on OSX Mavericks 10.9&lt;/p&gt;&lt;h2&gt;Download The Software&lt;/h2&gt;&lt;p style=&quot;text-align: center; &quot;&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;bitnami-wordpress-install osx 10.9&quot; src=&quot;/downtown/sites/default/files/wordpress/bitnami-wordpress-install.png&quot; style=&quot;width: 590px; height: 537px;&quot; /&gt;&lt;/p&gt;&lt;p&gt;Get latest bundled installer here &lt;a href=&quot;http://bitnami.com/redirect/to/22366/bitnami-wordpress-3.6-0-osx-x86_64-installer.dmg&quot; target=&quot;_blank&quot;&gt;WordPress version 3.6&lt;/a&gt; this will download the compressed zip to your download folder, decompress and leave the installer &#039;bitnami-wordpress-3.6-0-osx-x86-installer&#039;&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;bitnami-installer-downloader&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-installer-downloader.png&quot; style=&quot;width: 487px; height: 180px; &quot; /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;bitnami-installer-location&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-installer-location.png&quot; style=&quot;width: 513px; height: 315px; &quot; /&gt;&lt;/p&gt;&lt;h2&gt;OSX 10.8 Mountain Lion Install Issue&lt;/h2&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;bitnami-install-security-issue mountain lion&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-install-security-issue.png&quot; style=&quot;width: 440px; height: 236px; &quot; /&gt;&lt;/p&gt;&lt;p&gt;Mountain Lion has extra security installed by default on installing non-Apple  and non-App Store Applications, if you get the error below on the installation you need to adjust a System Preference. (OS X 10.7 Lion does not have this issue).&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;System Preferences &amp;gt; General &amp;gt; Allow Applications Downloaded from: Anywhere (as below)&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;bitnami-installer-fix mountain lion &quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-installer-fix.png&quot; style=&quot;width: 590px; height: 460px; &quot; /&gt;&lt;/p&gt;&lt;div&gt; &lt;/div&gt;&lt;h2&gt;Install The Software&lt;/h2&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;wordpress bitnami-start-install&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install.png&quot; style=&quot;width: 301px; height: 187px; &quot; /&gt;&lt;br /&gt;Run the installer&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt; &lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;wordpress bitnami-start-install 2&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install2.png&quot; style=&quot;width: 518px; height: 445px; &quot; /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt; &lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;wordpress phpmyadmin install&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install3.png&quot; style=&quot;width: 522px; height: 444px; &quot; /&gt;&lt;br /&gt;Make sure both packages are checked&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt; &lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;wordpress install location&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install4-location.png&quot; style=&quot;width: 519px; height: 449px; &quot; /&gt;&lt;br /&gt;Leave the default location in the &lt;strong&gt;Applications&lt;/strong&gt; folder&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt; &lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;set user account for wordpress&quot; class=&quot;no norder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install5-user-account.png&quot; style=&quot;width: 524px; height: 444px; &quot; /&gt;&lt;br /&gt;Set a login and password - this will set username and password for WordPress admin account and only password for phpMyAdmin (the username is root)&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt; &lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;start the install&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install6-install.png&quot; style=&quot;width: 518px; height: 438px; &quot; /&gt;&lt;br /&gt;Install the files&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt; &lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;launch the bitnami wordpress app&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install7-launch.png&quot; style=&quot;width: 523px; height: 447px; &quot; /&gt;&lt;br /&gt;Launch the WordPress application&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;h2&gt;Where Stuff Is&lt;/h2&gt;&lt;p&gt;After you launch the application your browser will launch and you will be brought to the home location&lt;/p&gt;&lt;p style=&quot;text-align: center; &quot;&gt;&lt;img alt=&quot;home url for bitnami&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install8-home.png&quot; style=&quot;width: 590px; height: 583px; &quot; /&gt;&lt;/p&gt;&lt;p&gt;The default home URL is &lt;a href=&quot;http://127.0.0.1:8080&quot;&gt;http://127.0.0.1:8080&lt;/a&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;wordpress home page location&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install9-wordpress-home.png&quot; style=&quot;width: 590px; height: 583px; &quot; /&gt;&lt;br /&gt;The default home for your WordPress is &lt;a href=&quot;http://127.0.0.1:8080/wordpress&quot;&gt;http://127.0.0.1:8080/wordpress&lt;/a&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;wordpress admin login&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-wordpress-login.png&quot; style=&quot;width: 590px; height: 417px; &quot; /&gt;&lt;br /&gt;The default home for your WordPress Login is &lt;a href=&quot;http://127.0.0.1:8080/wordpress/wp-admin&quot;&gt;http://127.0.0.1:8080/wordpress/wp-admin&lt;/a&gt; or &lt;a href=&quot;http://127.0.0.1:8080/wordpress/wp-login.php&quot;&gt;http://127.0.0.1:8080/wordpress/wp-login.php&lt;/a&gt; — the user is &#039;admin&#039; and the password is what you set earlier&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;wordpress login plugins&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-wordpress-inside.png&quot; style=&quot;width: 590px; height: 451px; &quot; /&gt;&lt;br /&gt;The WordPress installation comes with a few plugins pre-installed to cover SEO, Spam, Contact Forms and Google Analytics - that&#039;s it from here you get into your WordPress project&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;phpmyadmin homepage&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install10-phpmyadmin-home.png&quot; style=&quot;width: 590px; height: 583px; &quot; /&gt;&lt;br /&gt;The default home for your phpMyAdmin is &lt;a href=&quot;http://127.0.0.1:8080/phpmyadmin&quot;&gt;http://127.0.0.1:8080/phpmyadmin&lt;/a&gt; - the user is &#039;root&#039; and the password is what you set earlier.&lt;br /&gt;You don&#039;t need to go here unless you want to - the database that WordPress needs has already been created and is in use, it is named &#039;bitnami_wordpress&#039;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;phpmyadmin home page&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-start-install11-phpmyadmin-login.png&quot; style=&quot;width: 590px; height: 514px; &quot; /&gt;&lt;br /&gt;On login to phpmyadmin you have access to the backend MySQL databases&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;bitnami application folder location and files&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-file-system-location-bitnmai-app.png&quot; style=&quot;width: 590px; height: 332px; &quot; /&gt;&lt;br /&gt;All the files and software needed to make the installation are all filed in /Applications/wordpress-3.6-0 with the most important being  &#039;manager-osx&#039; if something isn&#039;t working check here to see if your websharing and database tools are running, which are Apache and MySQL - start the servers if required.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;h2&gt;To Remove the Bitnami Stack and WordPress Installation&lt;/h2&gt;&lt;p&gt;Run the /Applications/wordpress-3.6-0/uninstall application&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;h2&gt;Troubleshooting Port Numbers&lt;/h2&gt;&lt;p&gt;&lt;img alt=&quot;port numbers alternative&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/bitnami-alternative-port-number.png&quot; style=&quot;width: 517px; height: 439px; &quot; /&gt;&lt;/p&gt;&lt;p&gt;The WordPress/Bitnami Stack uses port 8080 for websharing - if you are already using that port you are prompted for an alternative port number as it won&#039;t be able to bind to the default port, this also applies to SSL which uses 8443 and MySQL which uses port 3306.&lt;/p&gt;&lt;p&gt;If you want to install WordPress manually on a workstation that already has an &lt;a href=&quot;../fastest-way-to-install-wordpress-on-osx-10-6/&quot;&gt;AMP stack try this method&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-tags field-type-taxonomy-term-reference field-label-above clearfix&quot;&gt;&lt;h3 class=&quot;field-label&quot;&gt;Tags: &lt;/h3&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li class=&quot;taxonomy-term-reference-0&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/wordpress&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;wordpress&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-1&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/osx&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;OSX&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-2&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/cms&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;CMS&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/install-wordpress-os-x-lion-107-and-mountain-lion-108&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/install-wordpress-os-x-lion-107-and-mountain-lion-108&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/install-wordpress-os-x-lion-107-and-mountain-lion-108&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;Install WordPress on OS X Lion 10.7 and Mountain Lion 10.8&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Fri, 09 Aug 2013 06:03:28 +0000</pubDate>
 <dc:creator>Neil Gee</dc:creator>
 <guid isPermaLink="false">45 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  <item>
    <title>Deleting Zombie Spam Users in Drupal</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/deleting-zombie-spam-users-drupal</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;&lt;img alt=&quot;zombie-hordes-spam&quot; src=&quot;/downtown/sites/default/files/drupal-database/zombie-hordes-spam.jpg&quot; style=&quot;width: 250px; height: 189px; float: left; margin-right: 10px;&quot; /&gt;Like a Zombie invasion anonymous spam Drupal users keep on coming, registering at the door with weird ass email addresses piling on the amount of users on your site with a status of &lt;strong&gt;blocked&lt;/strong&gt;. Most of these blocked users are a result of a registration request at:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;a href=&quot;http://mydomain.com/user/register&quot;&gt;http://mydomain.com/user/register&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;One way to keep the hordes at bay is to use a &lt;a href=&quot;https://drupal.org/project/captcha&quot;&gt;&lt;strong&gt;Captcha &lt;/strong&gt;&lt;/a&gt;style challenge for the user to answer on input. But even then it suprises how many get through and jam the people queues. You can &lt;strong&gt;mass delete&lt;/strong&gt; these blocked Drupal users in one foul swoop in the database.&lt;/p&gt;&lt;p&gt;Crank open your Drupal database in the command line or phpMyAdmin and run:&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;delete-drupal-spam-users&quot; src=&quot;/downtown/sites/default/files/drupal-database/delete-drupal-spam-users.png&quot; style=&quot;width: 584px; height: 247px;&quot; /&gt;&lt;/p&gt;
&lt;pre&gt;DELETE FROM users WHERE `status` = 0 AND `uid` != 0;&lt;/pre&gt;
&lt;p&gt;Zombies are zapped - ready for the next onslaught!&lt;/p&gt;&lt;h3&gt;To Future Proof&lt;/h3&gt;&lt;p&gt;Instead of the Captcha module you can try the Mollom alternative which offers more of a whole spam monitoring service . Get the &lt;a href=&quot;https://drupal.org/project/mollom&quot; target=&quot;_blank&quot;&gt;Mollom module&lt;/a&gt; and sign up for a &lt;a href=&quot;http://mollom.com/&quot; target=&quot;_blank&quot;&gt;Mollom account&lt;/a&gt;, single personal site is free. Get your keys from the Mollom account and enter them in your Mollom module. Then add your forms to be protected.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;mollom-add-form&quot; src=&quot;/downtown/sites/default/files/drupal-database/mollom-add-form.png&quot; style=&quot;line-height: 1.538em; width: 590px; height: 355px;&quot; /&gt;&lt;/p&gt;&lt;p&gt;Then add a captcha to the form.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;form-captcha&quot; src=&quot;/downtown/sites/default/files/drupal-database/form-captcha.png&quot; style=&quot;width: 590px; height: 274px;&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;mollom spam free&quot; class=&quot;noborder&quot; src=&quot;/downtown/sites/default/files/drupal-database/mollom-logo.png&quot; style=&quot;width: 200px; height: 53px; float: right;&quot; /&gt;The Mollom service also provides text analysis spam methods for content submissions, blogs and forums and is not restricted to just the Drupal framework, it can also be used on WordPress as an alternative to Akismet, using Mollom hands down is the number 1 tool to combat spam.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-tags field-type-taxonomy-term-reference field-label-above clearfix&quot;&gt;&lt;h3 class=&quot;field-label&quot;&gt;Tags: &lt;/h3&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li class=&quot;taxonomy-term-reference-0&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/drupal&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;drupal&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-1&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/mysql&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;mysql&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/deleting-zombie-spam-users-drupal&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/deleting-zombie-spam-users-drupal&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/deleting-zombie-spam-users-drupal&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;Deleting Zombie Spam Users in Drupal&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Sat, 13 Jul 2013 05:39:53 +0000</pubDate>
 <dc:creator>Neil Gee</dc:creator>
 <guid isPermaLink="false">67 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  <item>
    <title>Trimming the Fat on a Huge Drupal 7 Database</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/trimming-fat-huge-drupal-7-database</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;Are you staring at a rather large Drupal database, why is it so big how did it get so huge?&lt;/p&gt;&lt;h3&gt;Check for the Culprit Table&lt;/h3&gt;&lt;p&gt;In phpMyAdmin open the database and sort by the size column&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;drupal-database-size&quot; src=&quot;/downtown/sites/default/files/drupal-database/drupal-database-size.png&quot; style=&quot;width: 590px; height: 193px;&quot; /&gt;&lt;/p&gt;&lt;p&gt;or directly in the Command Line via MySQL;&lt;/p&gt;
&lt;pre&gt;SELECT TABLE_NAME, table_rows, data_length, index_length, 
round(((data_length + index_length) / 1024 / 1024),2) &quot;Size in MB&quot;
FROM information_schema.TABLES WHERE table_schema = &quot;DRUPAL_DATABASENAME_GOES_HERE&quot;;&lt;/pre&gt;
&lt;div&gt; &lt;/div&gt;&lt;h3&gt;Disable Access Log&lt;/h3&gt;&lt;div&gt;A lot of the time one of the biggest tables will be &#039;accesslog&#039; which is a log of visitor analytics similar to Google Analytics, so if you have your Google stuff in order no need for this right?&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;drupal-access-log-settings&quot; src=&quot;/downtown/sites/default/files/drupal-database/drupal-access-log-settings.png&quot; style=&quot;width: 590px; height: 478px;&quot; /&gt;&lt;/div&gt;&lt;div&gt;Access log is controlled at &lt;strong&gt;/admin/config/system/statistics&lt;/strong&gt; and if your setting is set to never, the database is going to get huge, just change the setting to a lower value or just turn it off.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;h3&gt;Database or System Logging&lt;/h3&gt;&lt;div&gt;One other thing to keep the database size down is to turn off Drupal logging to the database and keep the logs just writing to the System Log instead.&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;drupal-database-logging-off&quot; src=&quot;/downtown/sites/default/files/drupal-database/drupal-database-logging-off.png&quot; style=&quot;width: 590px; height: 464px;&quot; /&gt;&lt;br /&gt;Database logging off&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;drupal-database/drupal-system-logging-on&quot; src=&quot;/downtown/sites/default/files/drupal-database/drupal-system-logging-on.png&quot; style=&quot;width: 590px; height: 209px;&quot; /&gt;&lt;br /&gt;System logging on&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Now your Drupal 7 database will be a much more manageable size.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-tags field-type-taxonomy-term-reference field-label-above clearfix&quot;&gt;&lt;h3 class=&quot;field-label&quot;&gt;Tags: &lt;/h3&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li class=&quot;taxonomy-term-reference-0&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/drupal&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;drupal&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-1&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/mysql&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;mysql&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/trimming-fat-huge-drupal-7-database&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/trimming-fat-huge-drupal-7-database&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/trimming-fat-huge-drupal-7-database&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;Trimming the Fat on a Huge Drupal 7 Database&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Thu, 11 Jul 2013 00:29:51 +0000</pubDate>
 <dc:creator>Neil Gee</dc:creator>
 <guid isPermaLink="false">66 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  <item>
    <title>Making Images Responsive in Drupal 7, Remove inline width and height styling</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/making-images-responsive-drupal-7-remove-inline-width-and-height-styling</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;Making images in Drupal 7 optimised for responsive layout requires a CSS declaration to allow the scaling and a php function to remove existing inline styling width and height attributes.&lt;/p&gt;&lt;h2&gt;CSS&lt;/h2&gt;&lt;p&gt;The best CSS style on images to make them scale is&lt;/p&gt;
&lt;pre&gt;img {max-width:100px; height:auto;}&lt;/pre&gt;
&lt;p&gt;You may need to use the &lt;strong&gt;!important&lt;/strong&gt; declaration if another CSS style is overriding.&lt;/p&gt;&lt;p&gt;It is best practice to optimise/size the image from the start at the widest width that you want it displayed as that way it will always fill its parent container reponsively but not exceed its physical width in pixels. (So you wont see it wider and abnormally big).&lt;/p&gt;&lt;h2&gt;Preprocess PHP Function&lt;/h2&gt;&lt;p&gt;By stripping out the inline width and height values of images that Drupal sets you will make your images responsive on more devices and older browsers. You can take advantage of one of the preprocessors that Drupal uses by adding a function in your &lt;strong&gt;template.php&lt;/strong&gt; file in your theme folder, just add in the code below and swap out YOURTHEMENAME for your theme name.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;
&lt;pre&gt;// Remove Height and Width Inline Styles from Drupal Images
function YOURTHEMENAME_preprocess_image(&amp;amp;$variables) {
  foreach (array(&#039;width&#039;, &#039;height&#039;) as $key) {
    unset($variables[$key]);
  }
}&lt;/pre&gt;
&lt;div&gt; &lt;/div&gt;&lt;div&gt;Thats all there is to it, now all your images will flex to fit.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-tags field-type-taxonomy-term-reference field-label-above clearfix&quot;&gt;&lt;h3 class=&quot;field-label&quot;&gt;Tags: &lt;/h3&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li class=&quot;taxonomy-term-reference-0&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/drupal&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;drupal&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/making-images-responsive-drupal-7-remove-inline-width-and-height-styling&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/making-images-responsive-drupal-7-remove-inline-width-and-height-styling&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/making-images-responsive-drupal-7-remove-inline-width-and-height-styling&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;Making Images Responsive in Drupal 7, Remove inline width and height styling&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Sun, 12 May 2013 04:41:04 +0000</pubDate>
 <dc:creator>Neil Gee</dc:creator>
 <guid isPermaLink="false">64 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  <item>
    <title>Upgrade MySQL Database from 5.5 to 5.6 on OSX 10.8 Mountan Lion</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/upgrade-mysql-database-55-56-osx-108-mountan-lion</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;p&gt;MySQL version 5.6.14 is available for &lt;a href=&quot;http://dev.mysql.com/downloads/mysql/&quot; target=&quot;_blank&quot;&gt;download for OSX&lt;/a&gt;, a double click and install is available named &lt;b style=&quot;outline: 0px; color: rgb(85, 85, 85); font-family: verdana, arial, helvetica, sans-serif; line-height: 23px;&quot;&gt;&lt;a href=&quot;http://dev.mysql.com/downloads/mirror.php?id=412087&quot; target=&quot;_blank&quot;&gt;Mac OS X ver. 10.7 (x86, 64-bit), DMG Archive&lt;/a&gt;. &lt;/b&gt;(Don&#039;t worry about the 10.7 naming, Works fine in OSX 10.9 and OSX 10.8)&lt;/p&gt;&lt;h3&gt;Stop the MySQL Server&lt;/h3&gt;
&lt;pre&gt;sudo /usr/local/mysql/support-files/mysql.server stop&lt;/pre&gt;
&lt;h3&gt;Download and Launch the DMG&lt;/h3&gt;&lt;p&gt;There is no upgrade option in the installer and you are presented with the 3 installations:&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;mysql-update-osx&quot; src=&quot;/downtown/sites/default/files/mysql/mysql-update-osx.png&quot; style=&quot;width: 590px; height: 208px;&quot; /&gt;&lt;/p&gt;&lt;p&gt;You need to install all the three installers.&lt;/p&gt;&lt;p&gt;Control/Right click the mysql-5.6...pkg to avoid the security GateKeeper. Follow the installation processes.&lt;/p&gt;&lt;h3&gt;Location of MySQL 5.6 Data&lt;/h3&gt;&lt;p&gt;MySQL data and files will be stored at:&lt;/p&gt;
&lt;pre&gt;/usr/local/mysql-5.6.14-osx10.7-x86_64&lt;/pre&gt;
&lt;p&gt;and an &#039;mysql&#039; directory alias is also created that points to the same location&lt;/p&gt;
&lt;pre&gt;/usr/local/mysql&lt;/pre&gt;
&lt;p&gt;which points to &lt;/p&gt;
&lt;pre&gt;mysql -&amp;gt; mysql-5.6.14-osx10.7-x86_64&lt;/pre&gt;
&lt;p&gt;Your previous installation is maintained and will be filed in the same location with the appropraite version you were using, like so:&lt;/p&gt;
&lt;pre&gt;/usr/local/mysql-5.5.13-osx10.6-x86_6&lt;/pre&gt;
&lt;p&gt;What needs to be done is to migrate the database and tables to the new version.&lt;/p&gt;&lt;h3&gt;Migrate Databases&lt;/h3&gt;&lt;p&gt;The key directory from the previous instance that needs to be copied is :&lt;/p&gt;
&lt;pre&gt;/usr/local/mysql-5.5.13-osx10.6-x86_64/data&lt;/pre&gt;
&lt;p&gt;So in this instance the previous mysql version was 5.5.13 - rename the new data directory and copy in the old one and fix file ownership to MySQL:&lt;/p&gt;&lt;h5&gt;Change Name of newer data directory&lt;/h5&gt;
&lt;pre&gt;sudo mv /usr/local/mysql-5.6.14-osx10.7-x86_64/data &lt;span style=&quot;line-height: 1.538em;&quot;&gt;/usr/local/mysql-5.6.14-osx10.7-x86_64/&lt;/span&gt;&lt;span style=&quot;line-height: 1.538em;&quot;&gt;dataold&lt;/span&gt;&lt;/pre&gt;
&lt;h5&gt;Copy Old Databases into new location&lt;/h5&gt;
&lt;pre&gt;sudo cp -rf /usr/local/mysql-5.5.13-osx10.6-x86_64/data &lt;span style=&quot;line-height: 1.538em;&quot;&gt;/usr/local/mysql-5.6.14-osx10.7-x86_64/&lt;/span&gt;&lt;/pre&gt;
&lt;h5&gt;Set Correct Ownership to MySQL&lt;/h5&gt;
&lt;pre&gt;&lt;span style=&quot;line-height: 1.538em;&quot;&gt;sudo chown -R _mysql&lt;/span&gt; /usr/local/mysql-5.6.14-osx10.7-x86_64/data&lt;/pre&gt;
&lt;h3&gt;&lt;span style=&quot;line-height: 1.538em;&quot;&gt;Start MySQL and Repair&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;line-height: 1.538em; font-size: 13px; font-weight: normal;&quot;&gt;Now we need to start the MySQL database and run a repair/upgrade tool on the older databases&lt;/span&gt;&lt;/h3&gt;
&lt;pre&gt;sudo /usr/local/mysql/support-files/mysql.server start&lt;/pre&gt;
&lt;h5&gt;Run the Upgrade Tool&lt;/h5&gt;
&lt;pre&gt;/usr/local/mysql/bin/mysql_upgrade&lt;/pre&gt;
&lt;p&gt;If you get errors on the first run, run the command again&lt;/p&gt;&lt;h5&gt;Restart MySQL&lt;/h5&gt;
&lt;pre style=&quot;font-size: 13px;&quot;&gt;sudo /usr/local/mysql/support-files/mysql.server restart&lt;/pre&gt;
&lt;h5&gt;Check the Version&lt;/h5&gt;
&lt;pre&gt;/usr/local/mysql/bin/mysql&lt;/pre&gt;
&lt;h5&gt;Set MySQL Password&lt;/h5&gt;
&lt;pre&gt;/usr/local/mysql/bin/mysqladmin -u root password &#039;yourpasswordhere&#039;&lt;/pre&gt;
&lt;h5&gt;my.cnf&lt;/h5&gt;&lt;p&gt;In the latest version of MySQL 5.6 there is a default &#039;my.cnf&#039; file that the database references that is now stored in:&lt;/p&gt;
&lt;pre&gt;/usr/local/mysql-5.6.14-osx10.7-x86_64/my.cnf&lt;/pre&gt;
&lt;p&gt;So if you have made any customisations to the behaviour of MySQL then these will now need to be added in the new &lt;strong&gt;my.cnf&lt;/strong&gt; file and make a copy to &lt;strong&gt;/etc&lt;/strong&gt; so any global changes will be read in when MySQL is launched.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-tags field-type-taxonomy-term-reference field-label-above clearfix&quot;&gt;&lt;h3 class=&quot;field-label&quot;&gt;Tags: &lt;/h3&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li class=&quot;taxonomy-term-reference-0&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/osx&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;OSX&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;taxonomy-term-reference-1&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/web-host&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Web Host&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/upgrade-mysql-database-55-56-osx-108-mountan-lion&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/upgrade-mysql-database-55-56-osx-108-mountan-lion&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/upgrade-mysql-database-55-56-osx-108-mountan-lion&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;Upgrade MySQL Database from 5.5 to 5.6 on OSX 10.8 Mountan Lion&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Tue, 09 Apr 2013 09:26:38 +0000</pubDate>
 <dc:creator>Neil Gee</dc:creator>
 <guid isPermaLink="false">63 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  <item>
    <title>How do I know if my website has been hacked?</title>
    <link>http://www.coolestguidesontheplanet.com/downtown/how-do-i-know-if-my-website-has-been-hacked</link>
    <description>&lt;div class=&quot;field field-name-body field-type-text-with-summary field-label-hidden&quot;&gt;&lt;div class=&quot;field-items&quot;&gt;&lt;div class=&quot;field-item even&quot; property=&quot;content:encoded&quot;&gt;&lt;h3&gt;Check with Google&lt;/h3&gt;&lt;p&gt;If you think that your site may have been hacked but are not too sure - you can check to see what Google thinks at the following URL&lt;/p&gt;
&lt;pre&gt;http://www.google.com/safebrowsing/diagnostic?site=mydomain.com&lt;/pre&gt;
&lt;p&gt;Just swap out &lt;span style=&quot;background-color:#ffff00;&quot;&gt;mydomain.com&lt;/span&gt; with your actual domain name&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;how-to-find-if-your-site-has-been-hacked&quot; class=&quot;ds&quot; src=&quot;/downtown/sites/default/files/hacked/how-to-find-if-your-site-has-been-hacked.png&quot; style=&quot;width: 590px; height: 573px;&quot; /&gt;&lt;/p&gt;&lt;p&gt;What you will see from the returned page is if Google thinks its been hacked.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;If your website has been hacked, you can see which pages have been infected via the Google Webmaster Tools, they hava a Malware section which will list all the pages - so if you haven&#039;t set your site up with &lt;a href=&quot;https://www.google.com/webmasters/tools&quot; target=&quot;_blank&quot;&gt;Google WebMaster Tools&lt;/a&gt; do this as a first step. Once you have WebMaster Tools set up check the malware section to see what the damage is.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;google-malware-website&quot; class=&quot;ds&quot; src=&quot;/downtown/sites/default/files/hacked/google-malware-website.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;From this point you have a couple of choices based on your skill level, if you don&#039;t know how to fix the malware just copy the listed malware provided by Google and email it to your service provided and ask them to help or otherwise roll up your sleeves get access to your website via preferably the command line SSH or FTP and get ready to search and delete the malware code from the infected files.&lt;/p&gt;&lt;h3&gt;Check with Sucuri&lt;/h3&gt;&lt;p&gt;&lt;a href=&quot;http://sucuri.net/company&quot; target=&quot;_blank&quot;&gt;Sucuri&lt;/a&gt; will scan your site for malware and let you know is your CMS up to date and also advise if you are on blacklists.&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;field field-name-field-tags field-type-taxonomy-term-reference field-label-above clearfix&quot;&gt;&lt;h3 class=&quot;field-label&quot;&gt;Tags: &lt;/h3&gt;&lt;ul class=&quot;links&quot;&gt;&lt;li class=&quot;taxonomy-term-reference-0&quot; rel=&quot;dc:subject&quot;&gt;&lt;a href=&quot;/downtown/tags/web-host&quot; typeof=&quot;skos:Concept&quot; property=&quot;rdfs:label skos:prefLabel&quot; datatype=&quot;&quot;&gt;Web Host&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;easy_social_box clearfix vertical easy_social_lang_und&quot;&gt;
            &lt;div class=&quot;easy_social-widget easy_social-widget-facebook first&quot;&gt;&lt;iframe src=&quot;//www.facebook.com/plugins/like.php?locale=en_US&amp;amp;href=http%3A//www.coolestguidesontheplanet.com/downtown/how-do-i-know-if-my-website-has-been-hacked&amp;amp;send=false&amp;amp;layout=box_count&amp;amp;width=48&amp;amp;show_faces=true&amp;amp;action=like&amp;amp;colorscheme=light&amp;amp;font=&amp;amp;height=90&amp;amp;appId=&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:48px; height:90px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-googleplus&quot;&gt;&lt;div class=&quot;g-plusone&quot; data-size=&quot;tall&quot; data-annotation=&quot;bubble&quot; data-href=&quot;http://www.coolestguidesontheplanet.com/downtown/how-do-i-know-if-my-website-has-been-hacked&quot;&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class=&quot;easy_social-widget easy_social-widget-twitter last&quot;&gt;&lt;a href=&quot;http://twitter.com/share&quot; class=&quot;twitter-share-button&quot;
data-url=&quot;http://www.coolestguidesontheplanet.com/downtown/how-do-i-know-if-my-website-has-been-hacked&quot;
data-count=&quot;vertical&quot;
data-lang = &quot;en&quot;
data-via=&quot;neilgee01&quot;
data-related=&quot;:Check it out!&quot;
data-text=&quot;How do I know if my website has been hacked?&quot;&gt;Tweet&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt; &lt;!-- /.easy_social_box --&gt;</description>
     <pubDate>Thu, 14 Mar 2013 02:04:34 +0000</pubDate>
 <dc:creator>Neil Gee</dc:creator>
 <guid isPermaLink="false">62 at http://www.coolestguidesontheplanet.com/downtown</guid>
  </item>
  </channel>
</rss>
