Your server is running PHP version 4.4.9 but WordPress 3.2.1
-> Tips Wordpress

#1: Your server is running PHP version 4.4.9 but WordPress 3.2.1 Author: officialwebhosting PostPosted: Fri Sep 30, 2011 12:50 pm
    ----
Kasus ini muncul ketika anda menginstall atau upgrade website yang membutuhkan PHP versi 5. Di webhosting kami, beberapa server menggunakan php handler utk mengaktifkan php 5, beberapa sudah diset secara default utk php 5.

Untuk mengatasi kasus ini, anda cukup mengedit file .htaccess.
Untuk membuka file ini, login ke cpanel, kemudian klik File Manager Legacy, pastikan anda mencentang pilihan Show hidden files. Nah di bawah folder www atau public_html itu biasanya ada file .htaccess.

Jika anda tak menemukannya, anda bisa create file sendiri dari menu file manager anda.

Untuk wordpress, biasanya isian file .htaccess nya seperti ini:

Code::
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Nah masukkan kode spt ini di baris pertama:
Code::
suPHP_ConfigPath /home/username-cpanel/www 
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml

Sehingga isian file .htaccess anda spt ini lengkapnya:
Code::
suPHP_ConfigPath /home/username-cpanel/www 
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

JANGAN LUPA: Edit username-cpanel pada kode di atas menjadi username cpanel anda.



-> Tips Wordpress

All times are GMT + 7 Hours

Page 1 of 1