Environment: WIN2003+IIS6+PHP5
This machine, 2003 under IIS6, Configuration Php5,mysql, phpMyAdmin.
Now PHP and MySQL can be normal operation, Phpwind forum can also be normal operation.
After configuring several parameters for Ecshop (that is, the username, password, etc.), run Ecshop in the browser,
Returns the following prompt:
Warning:require (.. /includes/init.php) [function.require]: failed to open stream:no such file or directory into c:appservwwwindex.php on line 22
Fatal Error:require () [function.require]: Failed opening required '. /includes/init.php ' (include_path= '.; C:php5pear ') in c:appservwwwindex.php on line 22
The original reason is this: PHP program to the server, can only run in the directory, can not run in the root directory of the site, or directory permissions issues. /www.phpky.cn
The workaround is as follows
Look, D disk permissions for the administrator, the following directory for the Web site Directory Web, permissions for the administrator, and then the Web directory is the directory of various sites, such as the Ecshop directory, The usual method is to Ecshop directory permissions for the administrator, and then build the data directory and the Web directory, the permissions of the two directories is Administrator+web_ecshop (IIS running account), so the problem comes, The root directory of the PHP program will appear a variety of problems, that is not normal operation, this should be directory permissions to inherit the problem.
The correct permission setting is Ecshop directory permissions for Administrator+web_ecshop (IIS running account), the following two directory permissions are inherited, that is, the site root directory permissions to the parent directory and the same as the site root permissions This is a good thing.