Results 1 to 4 of 4

Thread: PHP Files

  1. #1
    PHP Files

    Member Since
    Dec 22, 2007
    Posts
    5
    PHP Files
    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

  2. #2
    PHP Files

    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    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

  3. #3
    PHP Files

    Member Since
    Dec 22, 2007
    Posts
    5
    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

  4. #4
    PHP Files

    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP scripts outputs files I cannot see even as root
    By dataskills in forum OS X - Operating System
    Replies: 0
    Last Post: 12-15-2010, 03:15 PM
  2. I want to activate PHP to read downloaded files
    By fishmaven in forum OS X - Apps and Games
    Replies: 1
    Last Post: 10-12-2009, 01:39 PM
  3. how to write php files with MAMP ?
    By Eisa in forum Web Design and Hosting
    Replies: 3
    Last Post: 05-18-2008, 11:32 AM
  4. .php files?? how can i see them???
    By rypod81 in forum Switcher Hangout
    Replies: 5
    Last Post: 07-08-2005, 02:31 PM
  5. .php files, how can i see them??
    By rypod81 in forum Apple Notebooks
    Replies: 3
    Last Post: 07-08-2005, 02:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •