How to install PHP/MySQL on Mac OS 10.5

Similar documents
System Requirements for Mac OS X Clients. Download View Client Package. **Take note: This guide is not a detailed step by step guide.

menu of icons which you can select which item you want to use to startup the computer.

Read Naturally SE Update Windows Network Installation Instructions

Virtual Desktop Infrastructure Setup for MacOS

Virtual Desktop Infrastructure Setup for MacOS

USB-MIDI Driver installation and settings...1 Windows XP users... 1

P2 Viewer Plus. Installation Procedure

MassTransit 6.0 Installation Guide for Enterprise and Professional Servers on Macintosh

How to Access CTC via VPN with Mac OS 10.7x

Longreach SDE Office 2013 Student Advantage

Creative assets management. MySQL Install Guide

Updating the Firmware What is needed to update the firmware?

Guide Installation and User Guide - Mac

Practice and Review Activities Software

Installing Firefox on Mac

VeraLab TM Guard Mac Client Computer Lab Management Suite Installation Guide 8.3 for Mac OS X. August 2018 VERALAB TM

Using Micro USB Cable (Mac)

Virtual Desktop Infrastructure Setup for Windows 7

Virtual Desktop Infrastructure Setup for Windows 10

MOZILLA FIREFOX (Version 52) EXTENDED SUPPORT RELEASE (ESR) Guidance for Windows PC Patient Portal End Users

How to Install Dawson Diagnostic Wizard A. Edit Your Mac System Preferences

FileZilla FTP Instructions. FileZilla FTP Instructions

SeaSonde on macos Sierra

A quick guide to installing the SpesCoin Wallet for Windows and MacOS users SPESCOIN WALLET. Installation Guide

License Patrol TM Mac Client Installation Guide 8.3 for Mac OS X. August 2018 VERALAB TM

Getting Started. Document Overview. What is Power Save Mac? Installing Power Save Mac. Using the Power Save Mac Preference Pane

Obtaining Your Network Key. PIXMA MP980 / PIXMA MX860 / PIXMA MP620 Mac OS

Mac OS 8 Installation Instructions for Sonnet Presto and Presto Plus Processor Upgrade Cards

MySQL Installation Guide (OS X)

12 Lead ECG CardioVu Software Installation Guide

HTTrack Manual. 1. Introduction. 2. Installation

Using BlueStep Data Vault with WebDAV

Obtaining Your Network Key. PIXMA MX882 Mac OS

INSTALLING MICROSOFT OUTLOOK 2011

GP-N100 Utility Software Manual

Apple Configurator For Management of Classroom ipad Sets

Using Blackboard Drive to upload/manage content in Blackboard Learn

DocProtect & Safe Activation

USB 598. Quick Start Guide. USB Modem With.

Mac OS X 10.6 Snow Leopard Installation and Setup Guide

Step 1 Go to

Starting Kidspiration. To start Kidspiration on a Macintosh: Open the Kidspiration 3 folder and double-click the Kidspiration icon.

Opening and Saving Files using Minitab in Remote Applications using Macintosh

How to Import a Certificate When Using Microsoft Windows OS

Installation manual of Mac Sratailor. Last update: 23-Sep-2016 Shinya Oki Kyushu University Contact: soki [at] dev.med.kyushu-u.ac.

VMware Horizon FLEX Client User Guide. 26 SEP 2017 Horizon FLEX 1.12

Using Expressions Web to Edit an FCNet Department Web Site

VMware Horizon FLEX Client User Guide

Configuring the WebDAV Folder for Adding Multiple Files to the Content Collection and Editing Them

DropSend Getting Started Guide

Upgrading your QuickBooks Company File Once per file only

Citrix Desktop for Home Computers Mac OS Instructions

Tutorial NetOp School

Connect to Wireless, certificate install and setup Citrix Receiver

HDD Password Tool. User s Manual. English

umapps Using umapps 6/14/2017 Brought to you by: umtech & The Center for Teaching & Learning

University of Mary Washington. FOC Planning Tool User s Guide Kwadwo Brobbey, Kelly Brown, Rebecca Wright

Comcast Communicator Download, Login and Set Up Guide

AppProtect & Safe Activation

Flash Video Encoder CS3 Fetch Microsoft Office 2004 (Excel, imovie. Powerpoint, Word, Entourage) itunes

Educational Technology York College / CUNY

Kurzweil 3000 for Macintosh Standalone Installation and Administration Guide. Version 3

Technology Services Group Procedures. IH Anywhere guide. 0 P a g e

Install Manual. P2 Software ENGLISH M0509AT5091 -FJ VQT2G26-4

QUICK INSTALLATION GUIDE

Vanguide Application Set Installation Guide. Overview. Introduction

Installing AppleWorks 6 FOR WINDOWS

Find My Mac. Step-by-Step Procedure. 1. Setup your icloud account from your PC or Mac computer (if you don t already have one) at:

Installing Lotus Notes 7 for a New User (Mac)

Browser Cookie Settings

Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS)

Share Drobo on a Network: Apple Airport Extreme

Installing Python 3 on Your Personal Computer

From using an External Harddrive, to a Google Cloud Drive; there is no one way to backup data.

Open Transport User s Guide

If your Mac keeps asking for the login keychain password

Using Your Multifunction with Additional computers on Your Network. PIXMA MX410 Mac OS

Citrix Working Remotely Reference Guide

Installing Your Multifunction to Your Network for the First Time

Installing Your Software Important:

Encrypting Removable Media

XGate Quick Start Guide for Apple Macintosh OS

Wireless Setup Manual

Getting Started with Digital File Pro 2

IMPORTANT Transferring Information from an Earlier Model Newton Personal Digital Assistant (PDA)

eggplant v11.0 Mac OS X EggPlant: Getting Started

GuitarPort 2.5 Users You do NOT have to uninstall GuitarPort 2.5 before installing GearBox.

Backup everything to cloud / local storage. CloudBacko Home. Essential steps to get started

Getting Started with Python

Ensuring your computer has Java

VMS-A1 Client Software. User Manual

SETUP FOR OUTLOOK (Updated October, 2018)

Splash TM RPX-ii for DocuColor Getting Started

Connecting Remotely Staff & Students

Network Installation Guide

Installing NAP locked down browser - WINDOWS

Courseworks 8.0 Network Installation Multiple Seats

VERTECH. VERTECH Central Station Software Installation Manual

ATM Vestibule Reader (BIN Restricted) OPERATOR GUIDE

Digital Pack Tutorial - For Mac

Transcription:

How to install PHP/MySQL on Mac OS 10.5 For web development purposes, the ability to test your pages on your local machine can be very valuable. This tutorial shows you how you can enable PHP and MySQL on your Mac OS 10.5 machine giving you the ability to test all the dynamic pages you create using WebAssist products without having to upload to a remote server. What Do You Need to Start? Mac OS 10.5.x - Intel processors TextWrangler available as a free download from http://barebones.com/products/textwrangler/download.shtml 10.5 MySQL Installer package available from http://dev.mysql.com/downloads/mysql/5.0.html#macosx-dmg Turning on Apache Mac OS 10.5 and higher machines come with the Apache server preinstalled. For this stage of the tutorial, we simply need to turn on the server. 1. From the Apple menu select System Preferences. 2. Select Sharing. 3. Select the Web Sharing checkbox to start the Web Sharing service. 4. Close System Preferences.

Install PHP PHP for Apache is preinstalled on Mac OS 10.4 and higher. In order to configure PHP as your testing server, a few minor modifications will need to be made. Note: These steps assume you have already installed a copy of TextWrangler on your machine. 1. Open TextWrangler. 2. From the File menu, select Open Hidden. 3. In the Open dialog window, select the Macintosh HD. 4. Select private. 5. Select etc. 6. Open the apache2 folder. 7. Select the httpd.conf file. 8. Click Open. This opens the main configuration file for Apache. Since this is a hidden file, it will be locked when opened. 1. Click the Make Modifiable icon to unlock this file. If Line numbers are not already displayed in TextWrangler, you will want to change this setting to save time. 2. From the View option select Test Display. 3. Select Show Line Numbers. 4. Scroll to Line 114. 5. Remove the # from #LoadModule php5_module. Page 2 of 5

6. From the File menu select Save. Note: When attempting to save this file, you may be prompted to enter your Administrator password. 7. Close TextWrangler. Install MySQL The next step after enabling PHP on your machine is to install the MySQL Server package. Once you have downloaded the appropriate package for your machine, there are just a few steps to take for installation. Note: Make sure that you download the correct package for your machine: Mac with 64-bit processor download Mac OS X 10.5 (x86_64) All other OS 10.5 machines download Mac OS X 10.5 (x86) 1. Once the download is complete open the downloaded file. 2. Double-click on the installer file. 3. Select Continue on the Introduction step. 4. Select Continue after reviewing the Read Me information. 5. Select Continue after reading the Software License Agreement. 6. Select Agree to agree to the License Agreement. 7. Click Install. Once the installation has completed there are just a few more changes to make. Creating the Start/Stop MySQL Server preference The MySQL package includes an optional file that you can run which will install an option in your System Preferences to start and stop the MySQL service. This can be very useful and it is recommended that you install it. 1. Open the downloaded MySQL package. 2. Double-click the MySQL.prefPane file. 3. When asked if you want to install this file, click OK. Page 3 of 5

Once the installation is complete you will notice a MySQL entry in the Other category of the System Preferences. Modifying the MySQL Server Settings The last step in this process will be to configure a few settings for the MySQL server including the highly recommended server password. 1. Open the Finder. 2. Select the Applications folder. 3. Select the Utilities folder. 4. Double-click to open Terminal. 5. Enter the following command in the Terminal window. cd /usr/local/mysql 6. Then press Return. 7. In the next line enter the following. sudo./bin/mysqld_safe 8. Enter your computer s administrator password. Note: When entering your password, Terminal will not display your entry even though it is receiving your password. 9. Press Ctrl +Z on your keyboard. 10. Enter bg. 11. Press Return. 12. Enter exit. 13. Press Return. 14. Open System Preferences. Page 4 of 5

15. Select the MySQL button. 16. Click Start on the MySQL Services button. 17. Return to Terminal. 18. Enter the following code. /usr/local/mysql/bin/mysql uroot 19. Press Return. 20. Enter the following code. SHOW DATABASES; 21. Press Return. MySQL will then list all the databases stored on the MySQL server. 22. Enter the following code. use mysql 23. Press Return. 24. Enter the following code to set the password for your MySQL Server. SET PASSWORD FOR root@localhost = PASSWORD( password ); Note: Where it says password, enter the password you want to use for your MySQL server. 25. Press Return. If the password change was successful the next line will read as follows. Query OK, 0 rows affected (0.00 sec) Congratulations! Your installation is now complete! Page 5 of 5