設為首頁

收藏本站

導覽首頁 | 新登場    ◇聯盟溫泉 | 民宿 | 人力銀行 | 女性 |

類型:Linux_commend

在kloxo 7,pho7的伺服器增加php5.6的方法

1. goto to 'admin > webserver configure'
2. Install all php in 'multiple php install' until show in 'Multiple PHP Already Installed'
3. Use one 'phpXYm' in 'php used' as 'base php' in 'webserver configure'
4. select 'php-fpm_event' for 'php type' also enable 'Enable PHP 5.2 (use Php52s) As Secondary PHP' (it's wrong description because possible not php 5.2 only)
5. go to 'admin > switch program' and select apache or proxy (like nginxproxy)
6. Restart webserver with 'sh /script/restart-web -y' from ssh or 'admin > command center'
7. Add:

在要使用php5.6的網站根目錄中添加一個.htaccess

<Ifmodule !mod_php5.c>
AddHandler x-httpd-php56 .php
</Ifmodule>

104休閒信箱 2.3.0 © 104mm.com 2001 - 2021. 您尚未登錄
Page generated in 0.01132011 seconds with 3 Queries