on 5/9/01 9:42 AM, jon mclaughlin at [EMAIL PROTECTED] wrote:

> Help!
> 
> Does anyone have any tips on how to deal with this problem I'm having:
> PHP 4.0.5 (on Redhat Linux as an Apache module) won't properly execute
> included files that are saved in the Mac file format instead of a Unix file
> format. (they use different characters to signify an end of line)
> 
> The problem seems to arise with all code after a comment line declared with
> //. The code actually seems to display on the screen as HTML text. Changing
> the file to a Unix file format solves it.
> 
> I'm trying to avoid changing all the files as we're moving dozens of sites
> from a previous Linux server with PHP v4.0.3pl1 to this new server. This
> problem doesn't happen on the old server.
> 
> Is it an issue with the new version? Is there some sort of configuration
> switch I should be looking at? Any suggestions?
> 
> Thanks!
> 
> ..jon

In my experience PHP never has properly executed files in the Mac file
format. We also use Macs to code php here, but we have bbedit set to as Unix
file type.

There are several scripts out in the net both perl and bash that can do this
conversion for you, directory wide. Then tell your Mac programmers to change
their prefs and all should be well.


--
Dave Goodrich
Director of Interface Development
Reality Based Learning Company
9521 NE Willows Road, Suite 100
Redmond, WA 98052 
Toll Free 1-877-869-6603 ext. 237
Fax (425) 558-5655 
[EMAIL PROTECTED] 
http://www.rblc.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to