Go Back   Graphic Design Forum > Graphic Design > Web Design

Web Design Web Design type posts here

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-07-2004, 07:34 PM   #1
Guest
 
Posts: n/a
PHP on my Mac?

I know this hasn't even been asked and I figure why not maybe one of you know.

How do I set up my Mac for a PHP based site? I'm running OSX 10.3.3. so does anybody have an idea?

I'm going to check the apple site for some info on this but if anyone can run me through an English translation of this I'd be one happy sun of a gun.


'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
  Reply With Quote
Old 04-07-2004, 08:37 PM   #2
Ryan8720
Senior Member
 
Ryan8720's Avatar
 
Join Date: Jun 2003
Location: WV, USA
Posts: 4,343
http://www.entropy.ch/software/macosx/php/



C:\DOS
C:\DOS\RUN
RUN DOS RUN
Ryan8720 is offline   Reply With Quote
Old 04-07-2004, 10:49 PM   #3
Guest
 
Posts: n/a
Thank you good man!

I installed it and I'm going to check it out now. Thanks!


'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
  Reply With Quote
Old 04-08-2004, 12:02 AM   #4
Guest
 
Posts: n/a
OMG! Ryan what have you done?


So I installed the PHP extension for Apache and enabled Apache to on my Mac. Which is pretty cool cause all you have to do is type my IP after the http:// moniker in your address bar. The thing is I can't find what I installed and I don't know how to use Unix.

I think I might have to take this to a new forum. But Ryan you and axoi have been faithfully helping me so anything I learn I'll post here for your intrest or any others intrested.

Now I completely understand what you meant when you said we needed a bigger Web Design Section. As a Mod I'm going to fight the good fight for you and other web developers out there. Although I don't think we can really compete cause Site Point has a forum and there are a bunch of sites that touch on Web Issues.

This forum is strong when it comes to print knowledge and Print design issues. What I need is some hard core developers in here giving this noob a hand.


'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
  Reply With Quote
Old 04-08-2004, 12:34 AM   #5
Ryan8720
Senior Member
 
Ryan8720's Avatar
 
Join Date: Jun 2003
Location: WV, USA
Posts: 4,343
I would be able help you more if you were setting this up on Windows. I have a server and PHP installed on my PC.

Not sure what you mean by 'can't find what I installed'. I don't see why you would need to know Unix. Make a page with a .php extention and put

<? phpinfo(); ?>

in it and place it in the server root. Then run the server and bring up that page. It should give you a bunch of info if you have PHP installed correctly.



C:\DOS
C:\DOS\RUN
RUN DOS RUN
Ryan8720 is offline   Reply With Quote
Old 04-08-2004, 10:11 PM   #6
Guest
 
Posts: n/a
I can't find the server root. That is probably the main problem right now.

But once I installed the PHP it was supposed to create a sub folder named uses/php


I can't find this.


'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
  Reply With Quote
Old 04-08-2004, 10:18 PM   #7
Ryan8720
Senior Member
 
Ryan8720's Avatar
 
Join Date: Jun 2003
Location: WV, USA
Posts: 4,343
For a Mac it should be /Library/WebServer/Documents/. Try that.



C:\DOS
C:\DOS\RUN
RUN DOS RUN
Ryan8720 is offline   Reply With Quote
Old 04-08-2004, 10:19 PM   #8
axoi
Senior Member
 
Join Date: Dec 2003
Location: Reno, NV
Posts: 239
Benjo,

Check out /etc/conf/httpd.conf or /etc/conf/access.conf

Those are where apache normally stores its configuration files. Your looking for DocumentRoot in one of those files.

If you still can't find it then use this command:

find / -name httpd.conf -print

exaclty as I typed it with all the spaces. It will probably give you a bunch of permission denied and stuff but it should eventually find the directory where this is located. ( You might also want to check /var/www as sometimes the conf files get stuck in there also)

Oh you don't have to type your ip address. You can use the reserved work localhost like so:

http://localhost <----------- this is always your machine unless some has messed something up big time.

The /Library/WebServer....is just an alias to the real directory.

- Bill

Post Edited (axoi) : 4/8/2004 6:22:14 PM GMT
axoi is offline   Reply With Quote
Old 04-08-2004, 11:42 PM   #9
Guest
 
Posts: n/a
Bill where do I type all those things. Man I'm so lost I need a noob crash corse on Apache.

I feel really overwelmed with this stuff.

All I need it to be able to go into the root directory make a DNS point to my test site and run some test and a couple of tutorials on PHP.

I've gone one whole day and know nothing more than I knew yesterday. That is fustrating. I have about two months of time to finish this before the print work starts to take away web time. Is there any where I can go to learn Apache like that W3schools site teaches CSS?

Thanks for all your help but I'll be asking very basic questions unless I get a referance to go by for starters.


'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
  Reply With Quote
Old 04-08-2004, 11:54 PM   #10
Ryan8720
Senior Member
 
Ryan8720's Avatar
 
Join Date: Jun 2003
Location: WV, USA
Posts: 4,343
You would type that in the Unix prompt.

You can read the Apache manual that comes with it.

When you have the server running, you should be able to open up a browser and view you page by typing http://localhost/ .



C:\DOS
C:\DOS\RUN
RUN DOS RUN
Ryan8720 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:04 AM.




GRAPHICS.COM NEWSLETTER
The weekly Graphics.com newsletter is a great way to stay up to date on what's new on the site and in the world of graphics. Subscribe »
JOB LISTINGS
Featured Listings
Agency Photo Producer
clm
New York, NY
Account Director/Strategist
Office
San Francisco, CA
Graphic Designer
Marketing Communications Organization
Newtown Square, PA
Studio Manager
Office: Jason Schulte Design, Inc.
San Francisco, CA

See all other great design jobs on our Job Board

Post a risk-free
job listing for $279


Latest Blog Entries

Let's Talk Generic
Mike Lenhart

Art in the House
Mike Lenhart

It's All Black and White To Me
Mike Lenhart

A Bite From The Apple
Mike Lenhart

The Outside In Approach to Social Networking
Chris Dickman

Don't Bite Your Nails!
Mike Lenhart



WebMediaBrands
mediabistro learnnetwork freelanceconnect SemanticWeb
Jobs | Events | News
Copyright 2010 WebMediaBrands Inc. All rights reserved.
Advertise | Terms of Use | Privacy Policy

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.