New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

PHP Files


Post Reply New Thread Subscribe

 
Thread Tools
ben3001

 
Member Since: Dec 22, 2007
Posts: 5
ben3001 is on a distinguished road

ben3001 is offline
Hi Guys,

Happy New Year,

I have been having a few troubles setting up PHP on my MacBook. I have now discovered MAMP, and PHP has been set up successfully.

The thing is when i open PHP files i get the dialog box:



My local server is http://localhost:8888/

Is there anyay to change this so when i open a php file it displays as a php file?

Thanks

Ben
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
What ya mean "displays as a php file" ?

Do you mean that you want to get at the text itself so you can edit it? If so use Smultron or Coda
QUOTE Thanks
ben3001

 
Member Since: Dec 22, 2007
Posts: 5
ben3001 is on a distinguished road

ben3001 is offline
Hi thanks for the reply,

By display as a PHP file I mean, view the file as if the PHP is being processed.

For example instead of me uploading it to my server, I want to test the file locally.

In Dreamweaver i can preview in browser and view the file how it would appear on my server.

I would like to be able to open the file from the finder and be able to view it as if the PHP is being processed.

I hope this makes sense,

Ben
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
Nah you cant do it from the finder, you have to open safari and view the page from your local web server.

eg

http://localhost:8888/nameofpage.php
QUOTE Thanks

Post Reply New Thread Subscribe


« Is it possible to save a file made in Pages as HTM? | keynote 08 question »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
problems importing files from appleworks atoli_84 OS X - Apps and Games 1 11-24-2007 09:24 AM
automator/finder - renaming files (again) eric OS X - Apps and Games 7 02-14-2007 08:24 AM
Can't copy files on to my mac accordingi2ime OS X - Operating System 0 01-02-2007 05:44 AM
Problems copying files... PC to Mac... ps zburd Running Windows (or anything else) on your Mac 0 10-10-2005 03:10 PM
Setting up PHP and PHP Nuke EvoMac Web Design and Hosting 2 02-18-2005 01:38 PM

All times are GMT -4. The time now is 06:14 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?