Hi all,
When i try to install the 2.3 RC2 version of silverstripe to my shared hosting environment, i get the following error:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../../_ss_environment.php) is not within the allowed path(s): (/www/htdocs/meizon/:/tmp:/usr/share/php) in /www/htdocs/meizon/http/sapphire/core/Core.php on line 31
When fixing it by creating a empty _ss_environment.php file to the Silverstripe root (and chmod it to 777 in case Silverstripe want to write to it) the follow error appears:
Fatal error: SS_DATABASE_PASSWORD must be defined in your _ss_environment.php. See http://doc.silverstripe.com/doku.php?id=environment-management for more infomration in /www/htdocs/meizon/http/sapphire/conf/ConfigureFromEnv.php on line 46
i checked http://doc.silverstripe.com/doku.php?id=environment-management and it's clear to me that _ss_environment.php is NOT part of the installation process but a feature, not required for normal use of SS, which makes it possible to use one file with environmental credentials to your database for several projects. Great, but why is SS 2.3 RC2 checking for this file despite of it's optional use? Any suggestions how to fix this?