ninehas.blogg.se

How to update your mac to snow leopard
How to update your mac to snow leopard











how to update your mac to snow leopard
  1. #How to update your mac to snow leopard how to
  2. #How to update your mac to snow leopard mac os x
  3. #How to update your mac to snow leopard mac os

Now we need to add our custom pear install to our system PATH. The PEAR library should be accessible at /usr/local/PEAR/. When the script finishes, PEAR should be installed in /usr/local/bin/. You should be okay if you accept the default answers for each question. Enter this command into the Terminal: $ curl | sudo phpĮnter your administrator password if prompted and answer any questions that follow. Next, we begin the PEAR installation process. Open /Applications/Utilities/Terminal.app and enter this command: $ cd /usr/local

#How to update your mac to snow leopard mac os

Instead of upgrading Mac OS X's PEAR install, I install my own copy in /usr/local/.

#How to update your mac to snow leopard mac os x

Unfortunately, when I attempted to install PHPUnit using the default PEAR install on Mac OS X 10.6, I was told PEAR was too old and must be upgraded before I could install PHPUnit. PHPUnit recommends that you install using PEAR. PHPUnit, a member of the xUnit family of testing frameworks, provides an easy-to-use framework for testing and analyzing your PHP applications. At this point, I assume Apache and PHP are working. If you do not see a lot of information, you need to review the previous steps. This means PHP and Apache are now working. When you view in a Web browser, you should see a lot of information about your PHP installation. This file will have the following contents: To ensure PHP is working, create a new text file in ~/Sites/ named index.php. This restarts the Apache web server and loads the newly activated PHP 5 module. Uncheck Web Sharing, then re-check Web Sharing. Open System Preferences and click on Sharing. Remove the ”#” from the beginning of the line so that it looks like this: LoadModule php5_module libexec/apache2/libphp5.so Locate this line (line 115 for me): #LoadModule php5_module libexec/apache2/libphp5.so Open /etc/apache2/nf file with vi or TextMate. To activate PHP, you need to load the PHP 5 module in the Apache configuration file. Turn on PHPĪfter upgrading to Snow Leopard, PHP may be disabled.

#How to update your mac to snow leopard how to

This tutorial demonstrates how to install PEAR, PHPUnit, and XDebug on Mac OS X 10.6 Snow Leopard. Unfortunately, a default Mac OS X 10.6 install does not include more advanced tools for testing and debugging PHP applications. By default, Mac OS X 10.6 includes PHP 5.3.0 and Apache 2.2.11. I use Mac OS X 10.6 Snow Leopard on my Apple Macbook - my primary web development machine.













How to update your mac to snow leopard