Jump to content

Installing Php On A Mac

Recommended Posts

How did you install php? Did you use a one-click installer like XAMPP? or did you install the individual pieces?
well i went to this link: http://www.entropy.ch/software/macosx/php/and followed the following instructions. i can restart php by just reinstalling everytime, but that takes like 5 minutes each time. im sure theres another way to do it, im just too new at this to know haha.
1. Download the appropriate installation package from the list above. 2. Unpack the compressed .tar.gz file but DO NOT USE StuffIt Expander, use Appleā€™s BOMArchiveHelper or the command line. 3. Double-click the installer package and follow the directions of the installer application.PHP should now be up and running. You can test it by dropping a file named test.php into your Sites folder in your home directory. Into that file, write this line:<?php phpinfo() ?>.Now open up in your web browser.You should see a status table with information about the PHP module.
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...