So I must have hit every single snag along the way trying to get PHP working properly on my Mac. I have used MAMP, which works fine. BUT... I plan on doing some hardcore developing here soon and I want to get this setup the right way.
I am a bit of a n00b when it comes to the command line, but I know some of the basics... I've come across several issues/problems and have googled everything along the way.... I dunno wtf... It's frustrating... It makes me want to give up before I've even gotten started on any web design...
So I thought I had installed everything correctly following these simple directions:
http://www.freemacblog.com/mac-server-series-setting-up-php-and-mysql/
Installed Entropy... which was giving me problems with an install error. Finally worked around that.
Turned on Web Sharing. When I try to view my localhost I get a Page Load Error, "Failed to Connect" in Firefox.
I read that my Apache install could be the problem... So I was trying to re-install Apache from the binary and following these directions:
http://fatalerror.wordpress.com/200...ql-postgresql-on-mac-osx-leopard-from-source/
After putting the code in for Intel Macs from that page into terminal I get:
checking for chosen layout... Richard5
checking for working mkdir -p... yes
checking build system type... i386-apple-darwin9.6.0
checking host system type... i386-apple-darwin9.6.0
checking target system type... i386-apple-darwin9.6.0
Configuring Apache Portable Runtime library ...
configuring package in srclib/apr now
checking build system type... i386-apple-darwin9.6.0
checking host system type... i386-apple-darwin9.6.0
checking target system type... i386-apple-darwin9.6.0
Configuring APR library
Platform: i386-apple-darwin9.6.0
checking for working mkdir -p... yes
APR Version: 1.3.3
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/Users/jgmachine/Downloads/httpd-2.2.11/srclib/apr':
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr
I read that the C compiler thing could be due to XCode not being fully installed... so I downloaded XCode from Apple and reinstalled that. Tried again, same error.
I'm running OSX 10.5.6 on an Intel iMac... Any more info you need please ask.
Help!
I am a bit of a n00b when it comes to the command line, but I know some of the basics... I've come across several issues/problems and have googled everything along the way.... I dunno wtf... It's frustrating... It makes me want to give up before I've even gotten started on any web design...
So I thought I had installed everything correctly following these simple directions:
http://www.freemacblog.com/mac-server-series-setting-up-php-and-mysql/
Installed Entropy... which was giving me problems with an install error. Finally worked around that.
Turned on Web Sharing. When I try to view my localhost I get a Page Load Error, "Failed to Connect" in Firefox.
I read that my Apache install could be the problem... So I was trying to re-install Apache from the binary and following these directions:
http://fatalerror.wordpress.com/200...ql-postgresql-on-mac-osx-leopard-from-source/
After putting the code in for Intel Macs from that page into terminal I get:
checking for chosen layout... Richard5
checking for working mkdir -p... yes
checking build system type... i386-apple-darwin9.6.0
checking host system type... i386-apple-darwin9.6.0
checking target system type... i386-apple-darwin9.6.0
Configuring Apache Portable Runtime library ...
configuring package in srclib/apr now
checking build system type... i386-apple-darwin9.6.0
checking host system type... i386-apple-darwin9.6.0
checking target system type... i386-apple-darwin9.6.0
Configuring APR library
Platform: i386-apple-darwin9.6.0
checking for working mkdir -p... yes
APR Version: 1.3.3
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/Users/jgmachine/Downloads/httpd-2.2.11/srclib/apr':
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr
I read that the C compiler thing could be due to XCode not being fully installed... so I downloaded XCode from Apple and reinstalled that. Tried again, same error.
I'm running OSX 10.5.6 on an Intel iMac... Any more info you need please ask.
Help!