Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: travelin cat
I'm pretty much an adept at Mac stuff but when it comes to this I'm having real issues getting scripts etc to work on my local (inbuilt) apache server.
Any chance someone could detail a blow by blow account to specifically set up a php test server using dreamweaver and my OS (specifically mac)?
I want to test stuff like switching stylesheets etc with PHP includes.
They recommend using Marc Liyanage's upgrade at entropy.ch or the official binary installer from MySQL (both linked from apple's info page). It's pretty easy if you are new to mysql / php. Apple also recommends tools like phpMyAdmin and other helpfull stuff ...
I wil check this out - although I was rather hoping someone would spell it out on this thread - I know people have got better things to do, but if I am having trouble I'm sure other Mac users are having trouble working with the apache server, php and sql in Mac osx 10.3.
Great to hear from other mac users!
(PS - found a great C64 simulator for the mac yesterday called Power64 which alongside a game called Thrust (available at c64.com) really does bring back the memories!)
Maybe I'll write a blow by blow account!
It's easier to work with than the native server.
There is also XAMPP, which appears to provide more
but is "still in the first steps of development. Use at you own risk!"
When I use mamp the mysql server turns on but the apache does not.
I turn on web sharing and (I think) I used to get a url where my web folder was. I dont get this now.
I know it seems simple but I just cant seem to get it up and running.
What should I be able to do to check if apache is running my server (and when I say server I mean basically to run a test server, on the computer I work on, to test my web sites.
Do I need to reinstall apache or am I just a w@nker?
I want to simply use php but I dont even know this is what apache is used for....
OK< Apache is the webserver, PHP is preprocessor for web page and MySQL is a database that PHP can talk to.
1) Download the latest PHP compiled package from entropy.ch. It is a simple package installer - double click to install.
2) Turn on Web Sharing in System Preferences.
3) In Safari, simply type "localhost' into the address bar and hit return.
If the Webserver (apache) is running, you'll see something (not sure what, depending on if there's anything in there, but it shouldn't be a 'Failure to connect, or couldn't find server' message!)
Now, in your HTML editor of choice (can I recommend BBEdit?) in a new page, type:
and save this file as "index.php" in:
Then, back to Safari... type 'localhost/index.php' into the address bar.
If you get a huge page detailing every aspect of your PHP installation, you're good to go!
If not, come back and let us know!
I was given a site to work on that was developed by a college student as a senior technology demonstration project. It was competely written in php with some flash/xml and mysql involved. In credible techology.
And dog buttugly...
I need to set up a test server on my Mac (running 10.4.2) just so that I can see the heck is going on (I use Dreamweaver mx)
I will follow the excellent suggestions here and report back-- I promise!
Now, as foe learning PHP/My SQL, along with Flash/Actionscript/XML, well, 's a whole new topic....
Will help where I can... no guarantees, tho!