<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Roger’s Ramblings &#187; Mac OS X 10.6</title>
	<atom:link href="http://lisaandroger.com/tag/mac-os-x-10-6/feed/" rel="self" type="application/rss+xml" />
	<link>http://lisaandroger.com</link>
	<description>by Roger Moffat - much more than just another WordPress weblog...</description>
	<lastBuildDate>Tue, 27 Jul 2010 02:55:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Upgrading to Mac OS X 10.6 &#8220;Snow Leopard&#8221;</title>
		<link>http://lisaandroger.com/2009/08/upgrading-to-mac-os-x-10-6-snow-leopard/</link>
		<comments>http://lisaandroger.com/2009/08/upgrading-to-mac-os-x-10-6-snow-leopard/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 16:43:58 +0000</pubDate>
		<dc:creator>Roger</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Mac OS X 10.6]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[TNG]]></category>

		<guid isPermaLink="false">http://lisaandroger.com/?p=848</guid>
		<description><![CDATA[After waiting almost patiently most of yesterday (Friday 28 August) I received my copy of &#8220;Snow Leopard&#8221; about 4:45 PM. Being the cautious type I knew that I would first upgrade the MacBook, and see what out of PHP, MySQL and Apache didn&#8217;t work afterward before embarking on upgrading my Mac Pro which does full [...]]]></description>
			<content:encoded><![CDATA[<p>After waiting almost patiently most of yesterday (Friday 28 August) I received my copy of &#8220;Snow Leopard&#8221; about 4:45 PM.</p>
<p>Being the cautious type I knew that I would first upgrade the MacBook, and see what out of PHP, MySQL and Apache didn&#8217;t work afterward before embarking on upgrading my Mac Pro which does full time duty as a webserver for a number of domains that use PHP and MySQL.</p>
<p>The install of Mac OS X 10.6 Snow Leopard went about as easily as advertised, and an hour after starting the MacBook was back running again. There was a notice that I had some now unsupported applications, but I didn&#8217;t see a list of them. I tried to open Parallels and was told that it wouldn&#8217;t work with Mac OS X 10.6 &#8211; I had Parallels 3. But no worries &#8211; I have VMWare Fusion 2 and that works, so upgrade the Parallels Virtual Machine to work with VMWare Fusion and delete Parallels.</p>
<p><span id="more-848"></span>Then I set out to see if my previous installs of PHP 5.2.9 from <a href="http://entropy.ch/">http://entropy.ch/</a> and MySQL 5.1.32 from <a href="http://mysql.com/">http://mysql.com/</a> were still working. Here the news was not so good.</p>
<p>Apple had seemingly reset everything &#8211; given me a new httpd.conf file that didn&#8217;t have PHP enabled and updated the built in PHP to 5.3.0. Luckily the built in PHP now supports the GD Library, so perhaps I can stay with Apple supplied PHP from now on as that is the only &#8220;extra&#8221; I&#8217;ve needed in the past.</p>
<p>So some hours of &#8220;circular&#8221; troubleshooting and confusion later I managed to get things working again. Here are some of the things I did.</p>
<p>Open /etc/apache2/httpd.conf and uncomment line 115</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;">LoadModule php5_module &nbsp; &nbsp; &nbsp;libexec/apache2/libphp5.so</div>
</div>
<p>and save the change. Restart the WebServer from the Sharing System Preference.</p>
<p>After installing MySQL 5.1.37 and trying to get that configured I was presented with errors about the socket not being in the right place &#8211; yikes!!!! And since I needed to be able to make some changes in the php.ini file I had to create that too. Apple has some bizarre way of having a default configuration used even when there&#8217;s apparently no file in place. So in Terminal</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;">cd /etc<br />
sudo mv php.ini.default php.ini</div>
</div>
<p>to make a copy of the php.ini.default file and name it to php.ini<br />
then open that file for editing &#8211; I use TextWrangler &#8211; and look for the 4 instances of mysql.sock to find that php.ini is expecting to find them in /var/mysql/ but actually the mysql.sock file is in /tmp so change the 4 instances of</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;"><span class="sy0">=</span> /var/mysql/mysql.sock</div>
</div>
<p>to</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;"><span class="sy0">=</span> /tmp/mysql.sock</div>
</div>
<p>and save the changes.</p>
<p>Now PHP and MySQL are running.</p>
<p>The next thing to do was to set up the MySQL passwords as described here <a href="http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html">http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html</a></p>
<p>Then after that try out my test TNG setup to see if that worked &#8211; drat &#8211; confronted by errors telling me that the server MUST have a timezone setting made (a new requirement with PHP 5.3.0). So some Googling later I&#8217;m at line 997 in the php.ini file</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;"><span class="co0">; date.timezone =</span></div>
</div>
<p>change this to</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;">date.timezone <span class="sy0">=</span> <span class="st0">&quot;America/Detroit&quot;</span></div>
</div>
<p>or some other valid timezone as listed on this page <a href="http://us2.php.net/manual/en/timezones.php">http://us2.php.net/manual/en/timezones.php</a>, save the changes and restart the WebServer.</p>
<p>Now we&#8217;re pretty much set I think. My TNG site seems to work, apart from issues restoring the tables which Darrin has already now sent me an update for.</p>
<p>Note that the above is a very abbreviated version of what I did for far too many hours last night, and in all likelihood wasn&#8217;t the best way to achieve this &#8211; for example providing a symbolic link to the mysql.sock file in the place it was expected should also have worked, but I needed to modify a php.ini file to take care of the timezone requirement and to change the upload_max_filesize setting also.</p>
<p>So all that taken care of, it was time to try out a couple of my other fears&#8230;.</p>
<p>Drat &#8211; my HP LaserJet 4MP, which uses AppleTalk can&#8217;t be found &#8211; Mac OS X 10.6 Snow Leopard has removed AppleTalk. Up until now it&#8217;s worked just great with an AsanteTalk box connected to the LAN and the printer. The LaserJet 4MP might be 16 years old, but it still works like a champ and doesn&#8217;t need replacing yet &#8211; particularly since I have at least 2 brand new $100 toner cartridges for it yet. So, instead I now have the eMac in the basement with Mac OS X 10.4.11 installed &#8211; running 24/7 as a FileMaker Server machine now &#8220;sharing&#8221; the HP LaserJet 4MP via Printer Sharing and the MacBook running Mac OS X 10.6 can see that and print to it just fine. But I guess eventually I&#8217;ll either need some type of HP DirectJet print server, or a new printer.</p>
<p><strong>Followup 27 April 2010</strong> &#8211; I&#8217;ve written <a href="http://lisaandroger.com/2010/04/printing-to-an-appletalk-printer-with-mac-os-x-10-6-snow-leopard/" target="_blank">an article</a> about using an HP JetDirect 300x to allow my HP LaserJet 4MP to be used by computers running Mac OS X 10.6 Snow Leopard.</p>
<p>Next &#8211; the Epson R220 Inkjet Printer. Connected that to the MacBook and right away Software Update offered to download the required printer drivers and install it. A test page comes out of the printer no problems so that one seems to be easily solved.</p>
<p>But I seem to have lost the Epson Printer Utility that allowed for ink status, nozzle check and head cleaning. Turns out that has been replaced by &#8220;Epson Printer Utlitity Lite&#8221; which can be found in</p>
<div class="codesnip-container" >
<div class="ini codesnip" style="font-family:monospace;">Macintosh HD &#8211; - -&gt; Library &#8211; - -&gt; Printers &#8211; - -&gt; EPSON &#8211; - -&gt; Utility &#8211; - -&gt; UTL</div>
</div>
<p>and it is &#8220;Lite&#8221; &#8211; it shows a menu for printers, the Ink level status and buttons for &#8220;Nozzle Check&#8221; and &#8220;Head Cleaning&#8221;, but nothing else.</p>
<p>Next &#8211; the Epson Perfection 2450 Photo scanner. According to <a href="http://support.apple.com/kb/HT3669#epson">http://support.apple.com/kb/HT3669#epson</a> it is supported. But trying to start up Epson Scan results in an error that the scanner can&#8217;t be found. The Scanner is recognised by Image Capture, but I can&#8217;t get it recognised by an earlier version of Graphic Convertor that I have. Epson&#8217;s website notes that there might be incompatibilities with the Epson Scan software and to &#8220;check back&#8221;. UPDATE &#8211; have just found that Adobe Photoshop CS3 sees the scanner just fine as long as Photoshop is &#8220;running in Rosetta&#8221; so that&#8217;s a relief!!</p>
<p>Now I need to stop worrying too much about this, and try and do something productive for the rest of today. Hopefully the next few days will bring some clarity from others on the issues surrounding PHP and MySQL so that I can upgrade my Mac Pro and keep the PHP and MySQL all working with less hassle, Epson will get their act together on my scanner software and the eMac in the basement running as the printing server for the LaserJet as well as of course hosting 28 FileMaker Pro databases will keep on ticking.</p>
<p><strong>Followup 27 April 2010</strong> &#8211; I&#8217;ve written <a href="http://lisaandroger.com/2010/04/printing-to-an-appletalk-printer-with-mac-os-x-10-6-snow-leopard/" target="_blank">an article</a> about using an HP JetDirect 300x to allow my HP LaserJet 4MP to be used by computers running Mac OS X 10.6 Snow Leopard</p>
<p>&copy;2010 <a href="http://lisaandroger.com">Roger’s Ramblings</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://lisaandroger.com/2009/08/upgrading-to-mac-os-x-10-6-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>
