Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Safari 2.0 Not Displaying Local .php Files

Safari 2.0 Not Displaying Local .php Files
Thread Tools
Mac Elite
Join Date: Sep 2004
Location: Theory - everything works in theory
Status: Offline
Reply With Quote
Apr 30, 2005, 12:43 PM
 
I posted this in a Mac OS forum thread:
Originally Posted by E's Lil Theorem
....
Now, I'm having a problem where I can't get 2.0 to display local .php files, instead it displays the code. 1.3 used to display .php files, just not the portion that needed to connect to an external database, if any existed.
Any ideas as to how I can get Safari 2.0 to display local .php files?
     
Professional Poster
Join Date: Oct 2002
Location: Off the Tobakoff
Status: Offline
Reply With Quote
Apr 30, 2005, 12:58 PM
 
If you upgraded your entire system, PHP will be turned off, again, by default. You need to enable it again.
"You rise," he said, "like Aurora."
     
mdc
Addicted to MacNN
Join Date: Feb 2003
Location: NY²
Status: Offline
Reply With Quote
Apr 30, 2005, 01:09 PM
 
this is not the case of having php turned off.
if you drag and drop a .php file into safari it displays the code of the page.

my webpage files are .php. they have all the regular html but a handful of php scripts. in < 1.3 if i dragged the file into safari it would display the page without any of the php scripts excecuted. this was fine with me since i could develop my sites on my local machine, then upload them to my web server and that has php installed.

now with safari you don't even see the html rendered.

oh well.
     
Mac Elite
Join Date: Sep 2004
Location: Theory - everything works in theory
Status: Offline
Reply With Quote
Apr 30, 2005, 02:21 PM
 
Originally Posted by mdc
this is not the case of having php turned off.
if you drag and drop a .php file into safari it displays the code of the page.

my webpage files are .php. they have all the regular html but a handful of php scripts. in < 1.3 if i dragged the file into safari it would display the page without any of the php scripts excecuted. this was fine with me since i could develop my sites on my local machine, then upload them to my web server and that has php installed.

now with safari you don't even see the html rendered.

oh well.
Exactly!
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 06:38 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2