Unix file vs. Mac file formats

From: Date: Wed, 09 May 2001 16:42:21 +0000
Subject: Unix file vs. Mac file formats
Groups: php.general 
Request: Send a blank email to php-general+get-52139@lists.php.net to get a copy of this message
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 -- ..::.:..::.::.:.:..::..:::...:.:.::.::.::.:.. jon mclaughlin digitalnoise.com a division of PLATFORM.NET .:.:.:..::.:.:....::..:::...:.:.::.::.:.::.:. p:646.613.3510 c:917.612.8261 f:646.613.3599 e:jon@digitalnoise.com ..::.:..::.::.:.:::...:.:.::.::..:..::.:.::.:

« previous php.general (#52139) next »