Help Lỗi không đọc file index.php

Tham gia
26/02/2015
Bài viết
17
Được Like
19
Server của mình sau khi cài lại kloxo thì giờ truy cập vô trang web nó chỉ hiện ra text trong file index.php chứ khong vô web như bt. pro nào biết các khắc phục xin chỉ dẫn :(
nội dung file index.php
<?php

$startTime = microtime(true);
$fileDir = dirname(__FILE__);

require($fileDir . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library');

XenForo_Application::initialize($fileDir . '/library', $fileDir);
XenForo_Application::set('page_start_time', $startTime);

$fc = new XenForo_FrontController(new XenForo_Dependencies_Public());
$fc->run();
 
  • Like
Reactions: THB

MacKen

Sergeant
Tham gia
30/11/2015
Bài viết
625
Được Like
542
tail -f /var/log/messages

tail -f /var/log/httpd/error_log
 
Sửa lần cuối:
  • Like
Reactions: THB

MacKen

Sergeant
Tham gia
30/11/2015
Bài viết
625
Được Like
542
1) Go to the Webserver Config icon in the Kloxo admin control panel. Change php-type to mod_php_ruid2.

2) Start a ssh session and issue this command.

sh /script/fix-chownchmod

3) Restart the web server (or reboot server).

service httpd restart

Good luck!
 
  • Like
Reactions: THB

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

Mobile/Zalo: 0906081284

Telegram: anhanhxf

Chỉ nhận web nội dung lành mạnh

Nhà Tài Trợ

Mút Xốp Không Gian
Mút Sofa Không Gian
Top Bottom