Trying to load yii framework on a server that hasn’t got mod_php in Apache:
when I run yiic I get this error:
PHP Notice: Undefined index: SCRIPT_FILENAME in /blah/blah/blah/yiisite/framework/base/CApplication.php on line 136
Server admin quotes this reason for using CGI instead of mod_php:
Any thoughts if this is the problem…?
mdomba
(Maurizio Domba Cerin)
2
Could be some PHP configuration problem. Seems that on that server $_SERVER[‘SCRIPT_FILENAME’] is not defined.
http://php.net/manual/en/reserved.variables.server.php