0
我的codeigniter 3应用程序使用休息服务器。我的应用程序在本地工作,当我上传应用程序工程时,除了剩余服务器路径的后端点给出500错误但没有任何错误日志文件。上传到主机后Codeigniter休息服务器500出错
Server使用
PHP 5.3.28 (cli) (built: Dec 17 2013 00:28:38)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
和服务器为Linux 3.2.28-45.63.amzn1.x86_64 x86_64
我在ampps设置中使用5.3。在本地设置一切正常。
路线文件定制路线
$route['api/subscription/notify'] = 'api/subscription/notify';
$route['api/ussd/receiver'] = 'api/ussd/receiver';
添加Subscription.php和USSD驻留在控制器文件夹内的文件夹中的API。我使用.htaccess
文件从URLS中删除index.php
。
它
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|imapp|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [L]
而且
$config['index_page'] = '';
是config.php
检查您的日志。 –
但错误日志文件没有。 – user2473015
我设置了日志阈值1 @ Fred-ii- – user2473015