Forum Moderators: coopster

Message Too Old, No Replies

php won't execute on mac os x?

         

adamohern

1:53 pm on Dec 17, 2007 (gmt 0)

10+ Year Member



Has anybody had problems with certain php files refusing to execute under mac os x? Everything was working fine until last week. Now any file I leave alone works fine, but as soon as I make a change and save it, the server returns the code instead of running it. Any ideas?

A couple details: Two files in the same dir, with similar names (test.php and test2.php), with the exact same contents, both set to 777. test.php works, test2.php doesn't. Ah!

whoisgregg

6:17 pm on Dec 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What code does the server return? Do you mean source code?

Also, what version of Mac OS X are you running? "Stock" PHP or a custom build like the Entropy build, MAMP, or similar?

adamohern

6:59 pm on Dec 17, 2007 (gmt 0)

10+ Year Member



I was running php 5.2 on Apache 1.3, everything working fine, then suddenly things got strange.

Mac OS X.4.11 I believe. Switched to MAMP and things seem to be returning to normal. Thanks for your help!