Please help me enable PHP on my Tiger!

Joined
Nov 5, 2007
Messages
24
Reaction score
0
Points
1
Location
English expat in Frankfurt am Main, Germany
Your Mac's Specs
Macbook 2.16 GHz Intel Core 2 Duo
Hi people, Im new to this forum and I am here because Im stuck and need help!!

I am programming novice, but Ive got an idea for a website, so Ive bought a book to help me learn to execute my website idea.

Im trying to enable PHP on my Mac Tiger but I dont know how to get it going. Im using a book called Learning PHP and MySQL, by Michele E. Davis and Jon A. Phillips (O'Reilly) to do this. I want to uncomment 2 lines of code using the search and replace code that Ive been given in the book. The last bit of the code to type into Terminal is <escape>:wq. After that Im trying to navigate to the URL http://localhost/~bilalbham/test.php (at least I think that is my username! Ive tried to check it using the book but Im unsure, can anyone help?) but I get a 404 Not Found page. How do I overcome this problem please? Ive not saved what Ive done on the Terminal page, its just there in the background and Ive also enabled and restarted the Personal Web Sharing (Apache).

Your help would be very much appreciated!! Thank you,

Bilal.
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
Download and install MAMP - it will setup PHP, Apache and MySQL for you
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top