Can I open and render a local .PHP document?

I have some .PHP documents on my local harddrive. I have Textmate (a text editor) set as the default application to open these documents. However, I would also like to open and render them in Safari. If I click COMMAND-O in Safari to get a Finder window, I can navigate to my .PHP documents, but I cannot open them because they are grayed out. I can't find any preference that would allow me to open them.
In Firefox I can open a .PHP document in this way and it will render (albeit somewhat incompletely). Is this functionality absent in Safari?

This doesn't work for me. I enabled web sharing in system preferences and enabled PHP5 by following the instructions here, but when I try to open a .PHP file in Safari, they are still grayed out in the Finder window.
Is the idea that I need to drop the .PHP files into the Sites directory and view them through Apache? (I'm hoping to be able to just view them from any directory on the harddrive, the same as I can do with Firefox.)
Message was edited by: billmcn

Similar Messages

  • How can I open and listen to the PDF documents with audio in my iPad?

    How can I open and listen to the PDF documents with audio in my iPad?

    You need to use a PDF reader that supports multimedia. Adobe Reader 10.3 does not. Adobe has not stated whether it will support multimedia in the future.
    In the meantime, you could buy an application that does like PDF Expert. Read about it here:
    Finding the Best Tablet PDF Reader

  • Can't open integration repository in local machine, but it can open in host

    I installed SAP XI in Windows2003 ent server and start service。But I found the problem that i can't open integration repository in local machine。I reinstall jdk1.4.2,but the problem always exist。
    I need help now。

    h,
    save the file by clicking the IR and then open the file which is saved in desktop, it will open then....check it out
    reward points if hepfull
    regards
    kummari
    Edited by: kummari on Jul 10, 2008 9:18 AM

  • Can i open and edit animated GIF in Adobe Photoshop Touch?

    Can i open and edit animated GIF in Adobe Photoshop Touch?

    No, only regular static GIF images are supported. The desktop version of Photoshop does support this however.

  • I am trying to install software for iTwin Connect, but after downloading the dmg file and launching the program, I receive a message saying the file can't open and to check my internet connection.  Any ideas?

    I am trying to install software for iTwin Connect, but after downloading the dmg file and launching the program, I receive a message saying the file can't open and to check my internet connection.  Any ideas?

    Many Thanks, Kurt.
    I knew I'd seen the solution you've provided somewhere - either in MacWorld or MacFormat - but couldn't remember the Gatekeeper bit!
    I shall save it somewhere VERY safe now in case this happens again …
    You have made an old man very happy and saved me from worrying that senile decay had suddenly set in. (I was 70 last week so you might understand the situation from that.)
    Best wishes
    OllyanDinah

  • How can I open and close private browsing using an IPAD mini in IOS 7?

    How can I open and close private browsing using an iPad mini in ios7?

    Tap the '+' to the right of the URL field to open a new tab, and at the bottom left of the screen there should be a 'Private' button - tap that and you can then go to the site that you want to go to

  • How can I open and print a unix E....le file

    how can I open and print a unix E...le file

    We have no idea what you're referring to. If you know how to use Terminal and the file has been compiled then it may run.

  • I bought a pdf book last year and had no problem reading it for a few months then all of a sudden I could no longer open it and to this day. Any other pdf download off internet I can still open and read, except for that particular book. Operating system i

    I bought a pdf book last year and had no problem reading it for a few months then all of a sudden I could no longer open it and to this day. Any other pdf download off internet I can still open and read, except for that particular book. Operating system is Windows 7 Home Premium, Adobe Reader XI 11.0.07.  When trying to open file I get msg "You did'nt login or your session has expired. Please log in to read this document for the first time". (Like I said I have read it before). So I log in but that prompts me to give the name of the file I want to export or convert to Word or something else, which is not what I want to do of course. I have not purchased any service from Adobe or Acrobat as I only need to read. Thanks for your help..

    Thank you for your reply. Operating system is Windows 7 Home Premium, Adobe Reader XI 11.0.07.  When trying to open file I get msg "You did'nt login or your session has expired. Please log in to read this document for the first time". (Like I said I have read it before). So I log in but that prompts me to give the name of the file I want to export or convert to Word or something else, which is not what I want to do of course. I have not purchased any service from Adobe or Acrobat as I only need to read. Thanks for your help.

  • TA25361 I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addres

    I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addresses.

    I tried Peggy's List > Select All > Copy > Paste into an AW spreadsheet suggestion.
    In my case, pasting into the spreadsheet lost all text formatting (mostly text set to bold). The results of formulas were pasted, and checkboxes were pasted as "on" or "off". The DB did not contain any pop-up menus or radio buttons, but I expect they would transfer as a number showing the list position of the chosen item.
    Pasting the copied List view data into a Numbers table gave a result similar to that with AppleWorks. I selected B2 as the target cell (for top left cell of the pasted data) to avoid any effects of posting into a header row or column. Bold and regular text formatting looked the same as it had in AW's List view.
    Based on that, I'd slip the 'paste into an AppleWorks Spreadsheet step, and paste directly into a Numbers Table.
    Regards,
    Barry

  • I have Adobe Acrobat 8 Standard and I had to reload it on my computer due to my hard drive crashing. Now I can only open and view PDF's  and I cannot edit them as I could before such as using Tools Comment

    I have Adobe Acrobat 8 Standard and I had to reload it on my computer due to my hard drive crashing. Now I can only open and view PDF’s  and I cannot edit them as I could before such as using Tools>Comment&Markup or Tools>Advanced Editing>TouchUp Text Tool. All the functions are greyed out. Please advise.

    What's your OS? Acrobat 8 is not compatible with any modern OS.
    On Thu, Jan 15, 2015 at 4:16 PM, thomasc1234 <[email protected]>

  • Can i open and edit nikon d810 raw files in lightroom 4.4

    can i open and edit nikon d810 raw files in lightroom 4.4

    No. Lightroom 4.x will never be able to open Raw files from the D810.
    D810 support has only just been added to the RC version of Camera Raw 8.6. It is never retrospectively added into older versions.
    Adobe Photoshop Camera Raw 8.6 RC for CC and CC 2014 Release Candidate | digital camera raw file support - Adobe Labs
    Adobe will probably add D810 support to the next version of Lightroom.
    Either way you'll have to upgrade to Lightroom 5 to be able to open D810 Raw files in Lightroom.

  • Can i open and edit a powerpoint doc in keynote?

         can i open and edit a powerpoint doc in keynote?

    Yes you can. It helps a lot if the fonts and effects used have the equivalent  in Keynote otherwise they will be substituted.  It can be saved as PowerPoint or as a Keynote file.

  • How can i open and edit microsoft documents in macbook pro

    how can i open and edit microsoft documents in macbook pro with retina display? I am a new user to mac book

    You could install Office for Mac. You could install a free Office-like program such as LibreOffice. You could open the documents with a program like Pages. Or you could install Windows and Office on your Macbook Pro.

  • How can I open and print PDF files?

    How can I open and print PDF files?

    With the free Reader if they are not print protected. With Acrobat otherwise.

  • How can I open and fill out a Secured Adobe PDF job application?

    How can I open and fill out a Secured Adobe PDF job application?

    Hi margueritew68053277,
    You should be able to fill that out using the free Adobe Reader, or Adobe Fill & Sign.
    Best,
    Sara

Maybe you are looking for