Kode php biasanya di awali dengan tag “<?” atau “<?php”. Beberapa waktu yang lalu saya mendapatkan masalah karena program php saya tidak dapat dijalankan. Masalahnya terletak pada tag php yang saya gunakan. Saya menggunakan tag “<?” dan pada xampp terbaru setting php defaultnya yang bisa dijalankan dengan tag “<?php” .
Agar tag “<?” dapat dijalankan, berikut caranya:
- Buka file php.ini pada “C:\xampp\php”
- Kemudian tekan “Control + F” untuk membuka fasilitas find.
- Cari baris berikut “short_open_tag = off” (tanpa tanda kutip)
- Setelah itu ganti nilai “off” dengan “on”
- Kemudian restart apachenya.
Selamat Mencoba, semoga bermanfaat
Jika anda mengalami masalah seperti judul di atas, file mp3 anda ada gambar icon gembok pada sistem operasi Microsoft Windows 7, kemungkin file mp3 anda berada di dalam folder yang statusnya di share. Berikut cara menghilangkan icon tersebut:
- Disable sharing folder tersebut
- Klik kanan pada folder
- Pilih Properties
- Pilih tab Sharing dan pilih Advaced sharing
- Unchek pada pilihan Share this folder
- Jika belum hilang juga, maka
- Klik kanan pada folder
- Pilih Share with >
- Pilih Nobody
Semoga bisa membantu dan bermanfaat.
Today I found this error while trying to open Fantastico page in cPanel.
Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings.
Running a check on Fantastico it IS installed at that location.
Though I did not do this in my case, if you are facing same problem, first of all, try restarting cpanel.
root@hosting# service cpanel restart
I have made it confirm that ioncube is installed. However, I reinstalled it by following command:
root@hosting# /scripts/phpextensionmgr install IonCubeLoader
This did not solve the problem. Then somewhere in forum/blog I have read it that rebuilding cpanel’s internal php may solve it. I did that:
root@hosting# /scripts/makecpphp
I have restarted cPanel (look above for command) , and fantastico running now.
1. Login via SSH to your server and enter following commands:
root@hosting# cd /usr/local/cpanel/whostmgr/docroot/cgi
root@hosting [/usr/local/cpanel/whostmgr/docroot/cgi]# wget http://www.netenberg.com/files/free/fantastico_whm_admin.tgz
root@hosting [/usr/local/cpanel/whostmgr/docroot/cgi]# tar -xzpf fantastico_whm_admin.tgz
root@hosting [/usr/local/cpanel/whostmgr/docroot/cgi]# rm -rf fantastico_whm_admin.tgz
root@hosting [/usr/local/cpanel/whostmgr/docroot/cgi]# chown -R root:root addon_fantastico.cgi
2. Now go to WHM, login as root and follow the link Plugins -> Fantastico De Luxe WHM Admin. One need to complete the installation by following the online screens.
untuk membersihkan cache dns di Windows Operating Sistem:
- Buka command prompt
- ketik pada command prompt seperti ini
C:\>ipconfig /flushdns
- Tekan Enter