View Full Version : PHP on Your Mac
bobber205
Aug 23, 2006, 08:55 PM
Where the best place to learn how to install php on my macbook?
I would love to start learning. (it's for work anyway)
eva01
Aug 23, 2006, 09:46 PM
Could have sworn PHP was already installed on OS X.
If not then the PHP website shows you how to install it on OS X
http://developer.apple.com/internet/opensource/php.html
DavidLeblond
Aug 23, 2006, 10:09 PM
This (http://www.entropy.ch/software/macosx/php/) may be helpful too.
desenso
Aug 23, 2006, 10:10 PM
MAMP (http://www.mamp.info/) will do all the work for you (PHP, Apache, etc)
bobber205
Aug 23, 2006, 10:15 PM
Thanks for all the awesome links. Since you guys seem to know so much, do you guys have any resource for installing PHP on XP and maybe even Linux?
bobber205
Aug 24, 2006, 12:45 AM
I installed the MAMP server app.
It's working.
One thing: Why when I want to actually go to one of my php pages I am forced to type in this
http://localhost:8888/php1.php
..instead of the actual file path name?
Benjamin
Aug 24, 2006, 01:01 AM
Could have sworn PHP was already installed on OS X.
If not then the PHP website shows you how to install it on OS X
http://developer.apple.com/internet/opensource/php.html
it is but not active by default.
http://www.phpmac.com/articles.php?view=225
anyway mysql isn't installed by default so why not just install both at the same time from http://www.entropy.ch/software/macosx/ anyway.
dunc85
Aug 24, 2006, 09:17 AM
I installed the MAMP server app.
It's working.
One thing: Why when I want to actually go to one of my php pages I am forced to type in this
http://localhost:8888/php1.php
..instead of the actual file path name?
Because it's a server-side language and has to be run through a server to work.
simonthewolf
Aug 24, 2006, 10:56 AM
it is but not active by default.
It's the same with OS X 10.3 Panther, and it's the same procedure to activate it too - just uncomment everything and restart apache.
bobber205
Aug 24, 2006, 08:45 PM
...
Using MAMP how do I get debugging turned on? I will try removing a ";", making it wrong, but no errors come up in Safari or Firefox.
Any suggestions?
bobber205
Aug 25, 2006, 12:41 AM
New Question
In PHP, when you use the exec command, does other extensions you install work without any additional steps other than having to install it in the first place?
vBulletin® v3.6.10, Copyright ©2000-2009, Jelsoft Enterprises Ltd.