I am new to the Zend Framework, and this code is used for downloading contents. This code is working on localhost but when I try to execute it on a linux server it shows er
The two typical issues I often see between local Windows (XP) dev environment and a Linux production environment are:
File permissions. Linux typically has a more restrictive model of file permissions.
Case-sensitivity of the filenames: Linux filenames are case-sensitive. In Windows, they are not.
Different directory separator: Windows uses \
, Linux uses /
. The PHP constant DIRECTORY_SEPARATOR
always contains the right value for the OS (thanks to @Svish).
Different include path separator: Windows uses ;
, Linux uses :
. The PHP constant PATH_SEPARATOR
always contains the right value for the OS.