执行方法 进入到CI框架的根目录下: php index.php 控制器 方法 [root@localhost ~]# php /www/myphp/index.php goods index 43<br>43[root@localhost ~]#