开发者

Run Kohana framework+php script in linux command prompt

We have a ubuntu server where we dump our Kohana framework+php code & want to run it through cron job. But when we try it in command line it shows the following error:

root@andola-dev:~#  php /var/www/realradius/index.php /var/www/realradius/system/core/Bootstrap.php

Warning: require(/root/system/core/Boots开发者_StackOverflow中文版trap.php): failed to open stream: No such file or directory in /var/www/realradius/index.php on line 139

Fatal error: require(): Failed opening required '/root/system/core/Bootstrap.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/realradius/index.php on line 139


Linux filesystems are case sensitive, windows ones are not. Bootstrap.php is usually lowercase. Try fixing that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜