请求帮助??高手 请进,谢谢谢
[pre]<?phpdefine('PERPAGE',10); //rewiew: 检查是否去掉define('RUN_IN','FRONT_END');error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_WARNING)); ob_start();if(file_exists('config/config.php')){ require('config/config.php'); ob_end_clean(); define('CORE_INCLUDE_DIR',CORE_DIR. ((!defined('SHOP_DEVELOPER') || !constant('SHOP_DEVELOPER')) && version_compare(PHP_VERSION,'5.0','>=')?'/include_v5':'/include')); if(isset($_GET['cron']) && $_GET['cron']){ require(CORE_INCLUDE_DIR.'/crontab.php'); $_GET['action'] = $_GET['cron']; new crontab(); }else{ require(CORE_INCLUDE_DIR.'/shopCore.php'); new shopCore(); } }else header('Location: install/');?>[/pre][pre] [/pre][pre] [/pre][pre]俺LAMP刚刚搭建完,网页也放到指定的目录。测试的时候就出现这种提示,,看不懂,,,所以来请教!!!![/pre]
作者: lxh3385321 发布时间: 2011-08-17
貌似是没有解析PHP文件,检测下,如果是Apache,检查下配置文件中有没有加 Addtype application/x-httpd-php .php .phtml
作者: 李明 发布时间: 2011-08-17