开发者

Run Kohana framework+php script in linux command prompt

开发者 https://www.devze.com 2023-02-24 19:02 出处:网络
We have a ubuntu server where we dump ourKohana framework+php code & want to run it through cron job. But when we try it in command line it shows the following error:

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

精彩评论

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