PHP SOLUTIONS: DYNAMIC WEB DESIGN MADE EASY 4. (Web hosting directory)
PHP SOLUTIONS: DYNAMIC WEB DESIGN MADE EASY 4. If you have opened an existing version of .profile, add the following code on a separate line at the end. Otherwise, enter it in the blank page. export PATH=”$PATH:/usr/local/mysql/bin” 5. Select File . Save, and save the file as .profile in your own home folder. The period at the beginning of the filename should provoke the following warning: 6. Select Use . and close your text editor. Amending PATH in the bash shell in OS X 10.3 You can t edit hidden files in TextWrangler or BBEdit in OS X 10.3 (Panther), so you need to use one of Terminal s text editors. 1. Open Terminal and type the following command followed by Return: pico ~/.profile 2. If you already have a hidden file called .profile, the contents will be displayed in Terminal. Use the keyboard arrow keys to move to a new line before typing. If nothing is displayed, you can start typing straight away. Enter the following line of code: export PATH=”$PATH:/usr/local/mysql/bin” 3. Save the file by pressing Ctrl+X, and then press Y and Return. Close Terminal. Amending PATH in the tcsh shell 1. Open Terminal and enter the following command at the shell prompt: echo ’setenv PATH /usr/local/mysql/bin:$PATH’ >> ~/.tcshrc Make sure you copy everything exactly, including the quotes and spacing as shown. 2. Press Return and close Terminal. The next time you open Terminal, the MySQL program directory will have been added to your PATH.
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.