PHP is already installed on MacOSX, but I' m not sure what version we're up to.
If you're installing a newer version, then I believe Apple uses gcc, and you only get that when you have the developer tools installed.
I'm installing PHP (v4.2.1) from Apple's site. I've already hit a snag I'm afraid.
I was following the Instructions:-
./configure --with-mysql --with-apxs
and it seems I have no C preprocessor.
configure: error: no acceptable cc found in $PATH
Ok, I'm going to try to find a C compiler, and install it - unless someone tells me I'm barking up the wrong tree. Perhaps soemone else has already istalled this successfully, and has some pointers.
PHP is already installed on MacOSX, but I' m not sure what version we're up to.
If you're installing a newer version, then I believe Apple uses gcc, and you only get that when you have the developer tools installed.
MacBook Pro 2.16GHz Core2Duo 3GB RAM, G4 1.4GHz OSX Tiger 1.25GB RAM, Dual 2GHz G5 OSX Tiger 2GB RAM (freakin shweet)
Athlon 64 Windoze XP for school work (programming) 1GB RAM
dferns@macosx.com
OS X ships with a non-complete set of features for their version of PHP.
As most people probably have already done, hop over to Marc Liyanage's site and grab his prepackaged installer which does wonders for beefing up PHP support.
Cheers.
Originally posted by brutfood II
I'm installing PHP (v4.2.1) from Apple's site. I've already hit a snag I'm afraid.
I was following the Instructions:-
./configure --with-mysql --with-apxs
and it seems I have no C preprocessor.
configure: error: no acceptable cc found in $PATH
Ok, I'm going to try to find a C compiler, and install it - unless someone tells me I'm barking up the wrong tree. Perhaps soemone else has already istalled this successfully, and has some pointers.
Macbook (Black) C2D/120GB/2GB | G5/1.6 250GBx2/1.25GB
Free Mobile Phone Ringtone, Application, & Screensaver Uploader
![]()
wow already up to 10.1.5 and have no devtool installed?
go join ADC and get the free devtools for Mac OSX
-----------------------------------
there is no substitution allowed on this part of the menu.
-----------------------------------
better enable root while you are at it...
I bet if you do screw the pooch you will always remember it.
BTW Marc's package is easy to install and you won't have to compile anything, but you won't learn unix either. if you need to concentrate only on php and sql development, then that is the recommended way.
Mmmmmm.....
Toast!!!
I'd recommend using Marc's pre-compiled
module.
All of the submodules he's added really
save alot of time and pain.
Bookmarks