Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-23, 15:55:26

Author Topic: website di buka malah yang tampil source php nya.  (Read 8726 times)

0 Members and 1 Guest are viewing this topic.

Offline jabarmedia

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
website di buka malah yang tampil source php nya.
« on: 2013-03-18, 11:24:13 »
Sebelumnya saya minta maaf karena baru gabung sudah nanya-nanya.

Permasalahan begini, saya sudah install kloxo official, karena server down terus saya lihat ternyata ada kloxo-mr yang handal.
saya coba install ulang Centos dan install kloxo-mr. Tapi permasalahannya:
1. Kenapa pas di panggil website yang muncul malah source index.php nya? bisa ketahuan dong user dan pass kalau yang di ketik config.php

Sekarang saya install ulang semua plus Kloxo-mr nya. Mudah-mudahan tidak ada masalah lagi.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: website di buka malah yang tampil source php nya.
« Reply #1 on: 2013-03-18, 11:59:44 »
Baca dulu viewtopic.php?f=4&t=684

Infokan server anda pakai 'sh /script/sysinfo'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline jabarmedia

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: website di buka malah yang tampil source php nya.
« Reply #2 on: 2013-03-18, 13:15:35 »
OK, pak saya sudah baca2.

Ini errornya, Nginx belum terinstall, cara install nginx aja kali ya pak. Maaf baru masalah server.... soalnya petunjuk pakai bahasa inggris semua, harus translate dulu.

Code: [Select]
[root@linux ~]# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.c.2013031707

B. OS: CentOS release 5.9 (Final) i686

C. Apps:
   1. MySQL: mysql-5.0.95-5.el5_9
   2. PHP: php-5.2.17-28.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
      with: dovecot-1.0.7-7.el5_7.1
   7. Dns: bind-9.9.2-2.P1.el5

D. Php-type (for Httpd/proxy): mod_php_ruid2

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          7848        860       6988          0         57        548
   -/+ buffers/cache:        253       7594
   Swap:         5439          0       5439

[root@linux ~]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline jabarmedia

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: website di buka malah yang tampil source php nya.
« Reply #3 on: 2013-03-18, 15:17:42 »
Sudah saya install semua, tapi masalahnya masih juga ada, kalau file .html bisa, tapi kalau file .php kebaca kayak file .txt saja

Info:
Code: [Select]
[root@linux ~]# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.c.2013031707

B. OS: CentOS release 5.9 (Final) i686

C. Apps:
   1. MySQL: mysql-5.0.95-5.el5_9
   2. PHP: php-5.2.17-28.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: lighttpd-1.4.32-1.el5
   5. Nginx: nginx-special-1.3.11-2.mr.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
      with: dovecot-1.0.7-7.el5_7.1
   7. Dns: bind-9.9.2-2.P1.el5

D. Php-type (for Httpd/proxy): mod_php_ruid2

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          7848        561       7287          0         37        371
   -/+ buffers/cache:        152       7696
   Swap:         5439          0       5439

[root@linux ~]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: website di buka malah yang tampil source php nya.
« Reply #4 on: 2013-03-18, 17:40:14 »
itu gak salah ?

Code: [Select]
C. Apps:
   1. MySQL: mysql-5.0.95-5.el5_9
   2. PHP: php-5.2.17-28.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: lighttpd-1.4.32-1.el5
   5. Nginx: nginx-special-1.3.11-2.mr.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
      with: dovecot-1.0.7-7.el5_7.1
   7. Dns: bind-9.9.2-2.P1.el5

point 3,4,5 semua di install?

ini setup server saya baru saya install

Code: [Select]
C. Apps:
   1. MySQL: mysql-5.0.95-5.el5_9
   2. PHP: php53u-5.3.21-1.ius.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.14-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
   7. Dns: bind-9.9.2-2.P1.el5

« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline jabarmedia

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: website di buka malah yang tampil source php nya.
« Reply #5 on: 2013-03-18, 17:53:08 »
Jadi yang harus di install dan yang tidak perlu di install yang mana saja pak?
Mohon petunjuk. Dari pagi belom selesai2 nih.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: website di buka malah yang tampil source php nya.
« Reply #6 on: 2013-03-18, 17:59:06 »
mas mau pakai webserver apa ?
apa nginx, apa lighty, atau apache. atau nginx proxy ?
nah mas tinggal pilih ajah di menu server > localhost > switch program
mas bisa pilih disana mau pakai apa. :D
kalo saya prefer nginx proxy :D
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline jabarmedia

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: website di buka malah yang tampil source php nya.
« Reply #7 on: 2013-03-18, 18:24:01 »
sudah selesai mas, saya pake nginx, tapi masalahnya kalau html bisa di baca seperti biasa web, kalau php nah itu, bisa ketahuan kode nya dong... heheheh

Contoh webnya : http://jabarmuslim.com
buka http://jabarmuslim.com/index.php sama http://jabarmuslim.com/index.html
kalau php pasti kayak buka teks saja, kalau html sudah benar.

Kira2 itu dari mananya ya? apa settingan nginx nya?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: website di buka malah yang tampil source php nya.
« Reply #8 on: 2013-03-18, 19:13:28 »
1. coba anda pilih lighttpd dulu di 'switch apps' kemudian ganti dengan pilihan nginx-proxy
2. Ubah php branch ke 'php53u' dan php-type 'php-fpm_event' dan enable 'secondary php'
3. Jika ingin cepat/fix karena masalah sebelumnya, lakukan 'sh /script/fixweb; sh /script/restart-services'

Infokan hasil akhirnya 'sh /script/sysinfo'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline jabarmedia

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: website di buka malah yang tampil source php nya.
« Reply #9 on: 2013-03-18, 20:52:54 »
Hasilnya ini:

Code: [Select]
[root@linux ~]# yum install php53u-xcache
Loaded plugins: fastestmirror, priorities, protectbase, replace, security
Loading mirror speeds from cached hostfile
 * base: mirror.nus.edu.sg
 * extras: mirror.nus.edu.sg
 * kloxo-mr-epel: mirror.nus.edu.sg
 * kloxo-mr-ius: ftp.neowiz.com
 * updates: mirror.nus.edu.sg
Excluding Packages from Kloxo-MR - centalt - i386
Finished
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53u-xcache.i386 0:3.0.1-1.ius.el5 set to be updated
--> Processing Dependency: php53u(zend-abi) = 20090626 for package: php53u-xcache
--> Processing Dependency: php53u(api) = 20090626 for package: php53u-xcache
--> Running transaction check
---> Package php53u-common.i386 0:5.3.21-1.ius.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch       Version                Repository          Size
================================================================================
Installing:
 php53u-xcache       i386       3.0.1-1.ius.el5        kloxo-mr-ius       113 k
Installing for dependencies:
 php53u-common       i386       5.3.21-1.ius.el5       kloxo-mr-ius       623 k

Transaction Summary
================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total download size: 737 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): php53u-xcache-3.0.1-1.ius.el5.i386.rpm            | 113 kB     00:06
(2/2): php53u-common-5.3.21-1.ius.el5.i386.rpm           | 623 kB     00:17
--------------------------------------------------------------------------------
Total                                            16 kB/s | 737 kB     00:45
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /etc/php.ini from install of php53u-common-5.3.21-1.ius.el5.i386 conflicts with file from package php-common-5.2.17-28.el5.i386
  file /usr/lib/php/modules/curl.so from install of php53u-common-5.3.21-1.ius.el5.i386 conflicts with file from package php-common-5.2.17-28.el5.i386
  file /usr/lib/php/modules/json.so from install of php53u-common-5.3.21-1.ius.el5.i386 conflicts with file from package php-common-5.2.17-28.el5.i386
  file /usr/lib/php/modules/zip.so from install of php53u-common-5.3.21-1.ius.el5.i386 conflicts with file from package php-common-5.2.17-28.el5.i386

Error Summary
-------------

[root@linux ~]# sh /script/fixweb; sh /script/fixdns; sh /script/fixmail; sh /script/restart-services

- For help, type '/script/fixweb --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config
- 'defaults' and 'php-fpm' at 'localhost'
- 'syahidpeace.com' ('syarif') at 'localhost'
- 'linux.sonysugemacollege.com' ('admin') at 'localhost'
- 'jabarmuslim.com' ('jbmislam') at 'localhost'

- For help, type '/script/fixdns --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing DNS server config
- 'syahidpeace.com'('syarif') at 'localhost'
- 'linux.sonysugemacollege.com'('admin') at 'localhost'
- 'jabarmuslim.com'('jbmislam') at 'localhost'

- For help, type '/script/fixmail --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Mail accounts (also 'lists' if exists)
- 'postmaster@syahidpeace.com' ('syarif') at 'localhost'
- 'postmaster@linux.sonysugemacollege.com' ('admin') at 'localhost'
- 'postmaster@jabarmuslim.com' ('jbmislam') at 'localhost'
Changing softlimit for incoming/receive mailserver
- For imap4
- For imap4-ssl
- For pop3
- For pop3-ssl
- For smtp
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.d/rpaf.conf: Cannot load /etc/httpd/modules/mod_rpaf-2.0.so into server: /etc/httpd/modules/mod_rpaf-2.0.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
Stopping nginx:.                                           [  OK  ]
Starting nginx:                                            [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
Stopping Dovecot Imap:                                     [FAILED]
Starting Dovecot Imap: Error: service(pop3-login): listen(*, 110) failed: Address already in use
Error: service(pop3-login): listen(*, 995) failed: Address already in use
Error: service(imap-login): listen(*, 143) failed: Address already in use
Error: service(imap-login): listen(*, 993) failed: Address already in use
Fatal: Failed to start listeners
                                                           [FAILED]
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
[root@linux ~]# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.c.2013031707

B. OS: CentOS release 5.9 (Final) i686

C. Apps:
   1. MySQL: mysql-5.0.95-5.el5_9
   2. PHP: php-5.2.17-28.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.14-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
      with: dovecot-2.1.15-1.mr.el5
   7. Dns: bind-9.9.2-2.P1.el5

D. Php-type (for Httpd/proxy): mod_php_ruid2

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          7848        681       7166          0         60        453
   -/+ buffers/cache:        167       7680
   Swap:         5439          0       5439

[root@linux ~]#

Malah gak ke baca mas websitenya.

Saya juga menunggu dari mas goblog mudah-mudahan memantau ke daleman server saya.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: website di buka malah yang tampil source php nya.
« Reply #10 on: 2013-03-18, 21:02:11 »
Angin darimana sampai anda install dovecot segala?. Makanya server anda kacau begitu.  :lol:

Anda tidak bisa install (dijamin conflict) module php 5.3 pada php 5.2.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline jabarmedia

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: website di buka malah yang tampil source php nya.
« Reply #11 on: 2013-03-18, 21:06:42 »
Heheheh.... maklum langsung install pak.

saya ngikuti yang ini pak:
Code: [Select]
http://forum.mratwork.com/viewtopic.php?f=4&t=644
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: website di buka malah yang tampil source php nya.
« Reply #12 on: 2013-03-18, 21:12:31 »
Quote from: "jabarmedia"
Heheheh.... maklum langsung install pak.

saya ngikuti yang ini pak:
Code: [Select]
http://forum.mratwork.com/viewtopic.php?f=4&t=644
Kan tidak ada tutor untuk install dovecot. Artinya ya jangan install dulu. Dovecot itu sebagai pengganti courier-imap-toaster tapi menang belum siap untuk dipakai. Baru di versi akan datang (6.5.1) ada courier-to-dovecot.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: website di buka malah yang tampil source php nya.
« Reply #13 on: 2013-03-18, 21:16:54 »
Karena ini bukan 'bug' di Kloxo-MR tapi kekeliruan anda ya anda perbaiki sendiri atau hire member lain untuk perbaiki (adalah patut anda bayar untuk ini).

Dalam situasi anda ya install ulang saja OS dan Kloxo-MR.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline jabarmedia

  • Junior Member
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: website di buka malah yang tampil source php nya.
« Reply #14 on: 2013-03-18, 21:21:12 »
OK pak, kemungkinan install ulang OS dan kloxo-mr nya.

Masalah mungkin banyak install program yang tadi ya pak. karena saya belum ngerti juga nginx.

nanti balik lagi kalau sudah selesai.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.047 seconds with 21 queries.

web stats analysis