{"id":1371,"date":"2009-02-23T09:00:10","date_gmt":"2009-02-23T09:00:10","guid":{"rendered":"http:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm"},"modified":"2009-02-23T09:00:46","modified_gmt":"2009-02-23T09:00:46","slug":"installing-wordpress-on-a-mac","status":"publish","type":"post","link":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm","title":{"rendered":"Installing WordPress on a Mac"},"content":{"rendered":"<p>The software platform which markwilson.it runs on is in desperate need of an updated but there is only me to make it happen (supported by <a href=\"http:\/\/www.ascomi.net\/\">ascomi<\/a>) and if I make a mistake then it may take some time for me to get the site back online (time which I don&#8217;t have!).  As a result, I really needed a development version of the site to work with.<\/p>\n<p>I thought that it would also be handy if that development version of the site would run offline &#8211; i.e. if it were served from a web server on one of my computers.  I could run Windows, IIS (or Apache), MySQL and PHP but as the live site runs on CentOS, Apache, MySQL and PHP it makes sense to at least use something similar and my Mac fits the bill nicely, as a default installation of OS X already includes Apache and PHP.<\/p>\n<p>I should note that there are alternative stacks available for running a web server on a Mac (<a href=\"http:\/\/www.mamp.info\/\">MAMP<\/a> and <a href=\"http:\/\/www.apachefriends.org\/en\/xampp-macosx.html\">XAMPP<\/a> are examples); however my machine is not a full web server serving hundreds of users, it&#8217;s a development workstation serving one user, so the built in tools should be fine.  The rest of this post explains what I did to get WordPress 2.7 up and running on OS X 10.5.5.<\/p>\n<ol>\n<li>Open the System Preferences and select the Sharing pane, then enable Web Access.<\/li>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"inline\" alt=\"Web Sharing in OS X\" src=\"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/images\/osx-web-sharing.png?w=700&#038;ssl=1\" \/><\/p>\n<li>Test access by browsing to the default Apache website at <code>http:\/\/<em>computername<\/em>\/<\/code> and a personal site at <code>http:\/\/<em>computername<\/em>\/~<em>username<\/em>\/<\/code>.<\/li>\n<li><a href=\"http:\/\/dev.mysql.com\/downloads\/\">Download the latest version of MySQL Community Server<\/a> (I used mysql-5.1.31-osx10.5-x86_64) and run the corresponding packaged installer (for me that was <code>mysql-5.1.31-osx10.5-x86_64.pkg<\/code>).<\/li>\n<li>After the MySQL installation is completed, copy MySQL.PreferencePane to \/Library\/PreferencePanes and verify that it is visible in System Preferences (in the Other group).<\/li>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"inline\" alt=\"MySQL Preferences in OS X\" src=\"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/images\/mysql-osx-preferences.png?w=700&#038;ssl=1\" \/><\/p>\n<li>Launch the MySQL preference pane and start MySQL Server (if prompted by the firewall to allow mysqld to allow incoming connections, allow this).  Optionally, select automatic startup for MySQL.<\/li>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"inline\" alt=\"MySQL running in OS X\" src=\"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/images\/mysql-running.png?w=700&#038;ssl=1\" \/><\/p>\n<li>Optionally, add <code>\/usr\/local\/mysql\/bin<\/code> to the path (I didn&#8217;t do this, as creating a .profile file containing <code>export PATH=\"$PATH:\/usr\/local\/mysql\/bin\"<\/code> seemed to mess up my path somehow &#8211; it just means that I need to specify the full path when running mysql commands) and test access to MySQL by running <code>\/usr\/local\/mysql\/bin\/mysql<\/code>.<\/li>\n<li>Enable PHP by editing \/etc\/apache2\/httpd.conf (e.g. by running <code>sudo nano \/etc\/apache2\/httpd.conf<\/code>) to remove the <code>#<\/code> in front of <code>LoadModule php5_module libexec\/apache2\/libphp5.so<\/code>.<\/li>\n<li>Test the PHP configuration by creating a text file named phpinfo.php containing <code>&lt;?php phpinfo(); ?&gt;<\/code> and browse to <code>http:\/\/localhost\/~<em>username<\/em>\/phpinfo<\/code>.<\/li>\n<li>With Mac OS X, Apache, MySQL and PHP enabled, start to work on the configuration by by running <code>\/usr\/local\/mysql\/bin\/mysql<\/code> and entering the following commands to secure MySQL:<br \/>\n<code>drop database test;<br \/>\ndelete from mysql.user where user = '';<br \/>\nflush privileges;<br \/>\nset password for root@localhost = password('{<em>newrootpassword<\/em>}');<br \/>\nset password for root@127.0.0.1 = password('{<em>newrootpassword<\/em>}');<br \/>\nset password for 'root'@'{<em>hostname<\/em>}.local' = password('{<em>newrootpassword<\/em>}');<br \/>\nquit<\/code><\/li>\n<li>Test access to MySQL. using the new password with <code>\/usr\/local\/mysql\/bin\/mysql -u root -p<\/code> and entering <em>newrootpassword<\/em> when prompted.<\/li>\n<li>Whilst still logged in to MySQL, enter the following commands to create a database for WordPress and grant permissions (I&#8217;m not convinced that all of these commands are required and I do not know what foo is!):<br \/>\n<code>create database <em>wpdatabasename<\/em>;<br \/>\ngrant all privileges on <em>wpdatabasename<\/em>.* to wpuser@localhost identified by 'foo';<br \/>\nset password for wpuser@localhost = old_password('<em>wppassword<\/em>');<br \/>\nquit<\/code><\/li>\n<li>Download t<a href=\"http:\/\/wordpress.org\/latest.zip\">he latest version of WordPress<\/a> and extract it to ~username\/Sites\/ (i chose to put my copy in a subfolder called blog, as it is on the live site).<\/li>\n<li>Configure WordPress to use the database created earlier by copying <em>wordpressdirectory<\/em>\/wp_config_sample.php to <em>wordpressdirectory<\/em>wp_config.php and editing the following lines:<br \/>\n<code>define('DB_NAME', '<em>wpdatabasename<\/em>');<br \/>\ndefine('DB_USER', 'wpuser');<br \/>\ndefine('DB_PASSWORD', '<em>wppassword<\/em>');<br \/>\ndefine('DB_HOST', 'localhost:\/tmp\/mysql.sock');<\/code><\/li>\n<li>Restart Apache using <code>sudo apachectl restart<\/code>.<\/li>\n<li>If <a href=\"http:\/\/codex.wordpress.org\/Giving_WordPress_Its_Own_Directory\">WordPress is running in it&#8217;s own subdirectory<\/a>, copy  <em>wordpressdirectory<\/em>\/index.php and <em>wordpressdirectory<\/em>\/.htaccess to ~\/Sites\/ and then edit index.php so that WordPress can locate it&#8217;s environment and templates (<code>require('.\/<em>wordpressdirectory<\/em>\/wp-blog-header.php');<\/code>).<\/li>\n<li>Browse to <code>http:\/\/localhost\/~<em>username<\/em>\/<em>wordpressdirectory<\/em>\/wp-admin\/install.php<\/code> and follow the &#8220;five minute WordPress installation process&#8221;.<\/li>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"inline\" alt=\"WordPress installation\" src=\"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/images\/wordpress-installation.png?w=700&#038;ssl=1\" \/><\/p>\n<li>After installation, the dashboard for the new WordPress site should be available at <code>http:\/\/localhost\/~<em>username<\/em>\/<em>wordpressdirectory<\/em>\/wp-admin\/<\/code>.<\/li>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"inline\" alt=\"WordPress fresh out of the box (dashboard)\" src=\"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/images\/wordpress-fresh-install-dashboard.png?w=700&#038;ssl=1\" \/><\/p>\n<li>The site may be accessed at <code>http:\/\/localhost\/~<em>username<\/em>\/<em>wordpressdirectory<\/em>\/<\/code>.<\/li>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" class=\"inline\" alt=\"WordPress fresh out of the box\" src=\"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/images\/wordpress-fresh-install.png?w=700&#038;ssl=1\" \/>\n<\/ol>\n<h3>Credits<\/h3>\n<p>I found the following articles extremely useful whilst I was researching this post:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.tech-recipes.com\/rx\/2757\/leopard_how_to_install_wordpress\/\">Leopard: How to Install WordPress<\/a> (TechRecipes).<\/li>\n<li><a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.1\/en\/mac-os-x-installation.html\">Installing MySQL on Mac OS X<\/a> (MySQL Documentation).<\/li>\n<li><a href=\"http:\/\/warker.com\/2006\/09\/16\/wordpress-os-x-install-tips\/\">WordPress OS X Install Tips<\/a> (Dave Warker).<\/li>\n<li><a href=\"http:\/\/www.anujgakhar.com\/2009\/01\/19\/how-to-edit-httpdconf-on-macos\/\">How to edit httpd.conf on MacOS<\/a> (Anuj Gakhar).<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The software platform which markwilson.it runs on is in desperate need of an updated but there is only me to make it happen (supported by ascomi) and if I make a mistake then it may take some time for me to get the site back online (time which I don&#8217;t have!). As a result, I &hellip; <a href=\"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Installing WordPress on a Mac<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[90,35,185,165,15],"class_list":["post-1371","post","type-post","status-publish","format-standard","hentry","tag-apache","tag-mac-os-x","tag-mysql","tag-php","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Installing WordPress on a Mac - markwilson.it<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing WordPress on a Mac - markwilson.it\" \/>\n<meta property=\"og:description\" content=\"The software platform which markwilson.it runs on is in desperate need of an updated but there is only me to make it happen (supported by ascomi) and if I make a mistake then it may take some time for me to get the site back online (time which I don&#8217;t have!). As a result, I &hellip; Continue reading Installing WordPress on a Mac\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm\" \/>\n<meta property=\"og:site_name\" content=\"markwilson.it\" \/>\n<meta property=\"article:published_time\" content=\"2009-02-23T09:00:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2009-02-23T09:00:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.markwilson.co.uk\/blog\/images\/osx-web-sharing.png\" \/>\n<meta name=\"author\" content=\"Mark Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@markwilsonit\" \/>\n<meta name=\"twitter:site\" content=\"@markwilsonit\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm\"},\"author\":{\"name\":\"Mark Wilson\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"headline\":\"Installing WordPress on a Mac\",\"datePublished\":\"2009-02-23T09:00:10+00:00\",\"dateModified\":\"2009-02-23T09:00:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm\"},\"wordCount\":652,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"image\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/images\\\/osx-web-sharing.png\",\"keywords\":[\"Apache\",\"Apple Mac OS X\",\"MySQL\",\"PHP\",\"WordPress\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm\",\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm\",\"name\":\"Installing WordPress on a Mac - markwilson.it\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/images\\\/osx-web-sharing.png\",\"datePublished\":\"2009-02-23T09:00:10+00:00\",\"dateModified\":\"2009-02-23T09:00:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm#primaryimage\",\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/images\\\/osx-web-sharing.png\",\"contentUrl\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/images\\\/osx-web-sharing.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2009\\\/02\\\/installing-wordpress-on-a-mac.htm#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing WordPress on a Mac\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/\",\"name\":\"markwilson.it\",\"description\":\"get-info -class technology | write-output &gt; \\\/dev\\\/web\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\",\"name\":\"Mark Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"width\":800,\"height\":800,\"caption\":\"Mark Wilson\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\"},\"description\":\"A Chartered IT Professional, with recent experience in technology leadership, IT strategy and practice management roles, Mark Wilson is an Enterprise Architect in the Advisory and Management Group at risual. During a career spanning more than two decades, Mark has gained widespread recognition as an expert in his field including both industry and national press exposure. In addition to certifications from Microsoft, VMware, Red Hat, The Open Group and Axelos, Mark held a Microsoft Most Valuable Professional (MVP) award for three years and is now part of the MVP Reconnect programme. Mark is also well-known on social media and maintains an award-winning blog.\",\"sameAs\":[\"http:\\\/\\\/www.markwilson.co.uk\\\/\",\"https:\\\/\\\/www.instagram.com\\\/markwilsonuk\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/markawilson\\\/\",\"https:\\\/\\\/x.com\\\/markwilsonit\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCWHlZCoHRTocdvtrOJ2IL4A\"],\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/author\\\/mark-wilson\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing WordPress on a Mac - markwilson.it","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm","og_locale":"en_GB","og_type":"article","og_title":"Installing WordPress on a Mac - markwilson.it","og_description":"The software platform which markwilson.it runs on is in desperate need of an updated but there is only me to make it happen (supported by ascomi) and if I make a mistake then it may take some time for me to get the site back online (time which I don&#8217;t have!). As a result, I &hellip; Continue reading Installing WordPress on a Mac","og_url":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm","og_site_name":"markwilson.it","article_published_time":"2009-02-23T09:00:10+00:00","article_modified_time":"2009-02-23T09:00:46+00:00","og_image":[{"url":"https:\/\/www.markwilson.co.uk\/blog\/images\/osx-web-sharing.png","type":"","width":"","height":""}],"author":"Mark Wilson","twitter_card":"summary_large_image","twitter_creator":"@markwilsonit","twitter_site":"@markwilsonit","twitter_misc":{"Written by":"Mark Wilson","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm#article","isPartOf":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm"},"author":{"name":"Mark Wilson","@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"headline":"Installing WordPress on a Mac","datePublished":"2009-02-23T09:00:10+00:00","dateModified":"2009-02-23T09:00:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm"},"wordCount":652,"commentCount":1,"publisher":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"image":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm#primaryimage"},"thumbnailUrl":"https:\/\/www.markwilson.co.uk\/blog\/images\/osx-web-sharing.png","keywords":["Apache","Apple Mac OS X","MySQL","PHP","WordPress"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm","url":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm","name":"Installing WordPress on a Mac - markwilson.it","isPartOf":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm#primaryimage"},"image":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm#primaryimage"},"thumbnailUrl":"https:\/\/www.markwilson.co.uk\/blog\/images\/osx-web-sharing.png","datePublished":"2009-02-23T09:00:10+00:00","dateModified":"2009-02-23T09:00:46+00:00","breadcrumb":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm#primaryimage","url":"https:\/\/www.markwilson.co.uk\/blog\/images\/osx-web-sharing.png","contentUrl":"https:\/\/www.markwilson.co.uk\/blog\/images\/osx-web-sharing.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.markwilson.co.uk\/blog\/2009\/02\/installing-wordpress-on-a-mac.htm#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.markwilson.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Installing WordPress on a Mac"}]},{"@type":"WebSite","@id":"https:\/\/www.markwilson.co.uk\/blog\/#website","url":"https:\/\/www.markwilson.co.uk\/blog\/","name":"markwilson.it","description":"get-info -class technology | write-output &gt; \/dev\/web","publisher":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.markwilson.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468","name":"Mark Wilson","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","url":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","width":800,"height":800,"caption":"Mark Wilson"},"logo":{"@id":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1"},"description":"A Chartered IT Professional, with recent experience in technology leadership, IT strategy and practice management roles, Mark Wilson is an Enterprise Architect in the Advisory and Management Group at risual. During a career spanning more than two decades, Mark has gained widespread recognition as an expert in his field including both industry and national press exposure. In addition to certifications from Microsoft, VMware, Red Hat, The Open Group and Axelos, Mark held a Microsoft Most Valuable Professional (MVP) award for three years and is now part of the MVP Reconnect programme. Mark is also well-known on social media and maintains an award-winning blog.","sameAs":["http:\/\/www.markwilson.co.uk\/","https:\/\/www.instagram.com\/markwilsonuk\/","https:\/\/www.linkedin.com\/in\/markawilson\/","https:\/\/x.com\/markwilsonit","https:\/\/www.youtube.com\/channel\/UCWHlZCoHRTocdvtrOJ2IL4A"],"url":"https:\/\/www.markwilson.co.uk\/blog\/author\/mark-wilson"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":1380,"url":"https:\/\/www.markwilson.co.uk\/blog\/2009\/03\/installing-wordpress-on-a-mac-the-aftermath-phpmyadmin-databases-themes-plugins-and-fixing-the-tags.htm","url_meta":{"origin":1371,"position":0},"title":"Installing WordPress on a Mac: the aftermath (phpMyAdmin, databases, themes, plugins and fixing the tags)","author":"Mark Wilson","date":"Tuesday 3 March 2009","format":false,"excerpt":"Last week I wrote about installing WordPress on a Mac but I wanted to follow that up with a post on what happened next. Installing phpMyAdmin Installing WordPress is all very well, but it's good to be able to manipulate the database. The command line mysql tools would have worked\u2026","rel":"","context":"In \"Apple Mac OS X\"","block_context":{"text":"Apple Mac OS X","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/mac-os-x"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":845,"url":"https:\/\/www.markwilson.co.uk\/blog\/2007\/07\/windows-server-2008-server-core.htm","url_meta":{"origin":1371,"position":1},"title":"Windows Server 2008 Server Core","author":"Mark Wilson","date":"Monday 16 July 2007","format":false,"excerpt":"Scotty McLeod recently gave a presentation to the Windows Server UK User Group on Windows Server 2008 Server Core. I mentioned Server Core in a previous post but here's some more on the subject, based on Scotty's presentation (it's also worth checking out Micheal Pietroforte's post on Server Core essentials).\u2026","rel":"","context":"In \"Microsoft Windows Server 2008\"","block_context":{"text":"Microsoft Windows Server 2008","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/windows-server-2008"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":851,"url":"https:\/\/www.markwilson.co.uk\/blog\/2007\/07\/apache-http-server-on-windows-server-2008-server-core.htm","url_meta":{"origin":1371,"position":2},"title":"Apache HTTP server on Windows Server 2008 Server Core","author":"Mark Wilson","date":"Monday 16 July 2007","format":false,"excerpt":"Microsoft's James O'Neill wrote about how: \"Some bright spark tried running Apache on [Windows Server 2008 Server] Core and having no special Windows dependencies it works.\" I couldn't find any references to this elsewhere on the 'net so I had to give it a go - it's actually really easy:\u2026","rel":"","context":"In \"Apache\"","block_context":{"text":"Apache","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/apache"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":732,"url":"https:\/\/www.markwilson.co.uk\/blog\/2007\/03\/bye-bye-blogger-hello-wordpress.htm","url_meta":{"origin":1371,"position":3},"title":"Bye bye Blogger &#8211; Hello WordPress!","author":"Mark Wilson","date":"Monday 5 March 2007","format":false,"excerpt":"Regular visitors to this site may have noticed that over the last 24 hours, the site has developed a totally different look and feel. I will start posting content that isn't about the redevelopment of this site again soon but the last couple of weeks have been pretty tough on\u2026","rel":"","context":"In &quot;Site notices&quot;","block_context":{"text":"Site notices","link":"https:\/\/www.markwilson.co.uk\/blog\/topic\/site-notices"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1572,"url":"https:\/\/www.markwilson.co.uk\/blog\/2009\/12\/script-to-back-up-a-mysql-database-eg-for-wordpress-blogs.htm","url_meta":{"origin":1371,"position":4},"title":"Script to back up a MySQL database (e.g. for WordPress blogs)","author":"Mark Wilson","date":"Monday 21 December 2009","format":false,"excerpt":"Jeff Atwood's recent blog failure has probably served as a timely reminder to website owners across the 'net - and I'm pleased to see that Jeff got his site back (some of us would be less lucky).\u00c2\u00a0 At the time, I tweeted this: \"RT @edbott: Every webmaster's nightmare: ^MW Feeling\u2026","rel":"","context":"In \"MySQL\"","block_context":{"text":"MySQL","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/mysql"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1810,"url":"https:\/\/www.markwilson.co.uk\/blog\/2010\/05\/enabling-website-compression-to-reduce-bandwidth-use.htm","url_meta":{"origin":1371,"position":5},"title":"Enabling website compression to reduce bandwidth use","author":"Mark Wilson","date":"Monday 10 May 2010","format":false,"excerpt":"After years of steady growth, markwilson.it has seen a small drop in the number of blog subscribers in recent months.\u00c2\u00a0 To me this means one of two things: Perhaps RSS is no longer the most useful way to consume blog content\u00c2\u00a0(for example, I rarely read RSS feeds these days and\u2026","rel":"","context":"In \"Apache\"","block_context":{"text":"Apache","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/apache"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=1371"}],"version-history":[{"count":0,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1371\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=1371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=1371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=1371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}