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-27, 19:45:45

Author Topic: kenapa file.php tidak terbaca oleh server  (Read 5162 times)

0 Members and 1 Guest are viewing this topic.

Offline kusworo

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
kenapa file.php tidak terbaca oleh server
« on: 2016-03-25, 14:08:52 »
saya baru instal kloxo-mr dan berhasil mengarahkan domain ke ip vps kloxo-mr ane. dan saya mau install wordpress tpi kena afile index.php wordpress tidak terbaca oleh servr atau tidak berfungi pada umunya,,saya udah cek dibagian services semua ll green normal contohnya pada domain saya yang satu ini http://americanindiansinchildrensliterature.tk/ semua file php malah kaya dibaca sebagai file text document oleh server,,

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kenapa file.php tidak terbaca oleh server
« Reply #1 on: 2016-03-25, 14:28:18 »
Infokan hasil 'sh /script/sysinfo; dir -l /etc/httpd/conf.d'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kusworo

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: kenapa file.php tidak terbaca oleh server
« Reply #2 on: 2016-03-25, 14:33:29 »
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016030202
   - Web: hiawatha-10.1.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: vultr.guest
C. Services:
   1. MySQL: MariaDB-server-10.0.24-1.el6.x86_64
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Used: --Use PHP Branch--
   3. Web Used: nginxproxy
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: nginx-1.9.12-1.el6.ngx.x86_64
     - Httpd: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: nsd
     - Bind: --uninstalled--
     - DJBDns: --uninstalled--
     - NSD: nsd-4.1.7-3.el6.x86_64
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
      - spam: bogofilter
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:           742        575        166         31         18        211
   -/+ buffers/cache:        345        396
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        15G  3.6G   11G  26% /


*** Process Time: 00:00:00:02.2043 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

total 88
-rw-r--r-- 1 root root   78 Mar 25 10:46 define.conf
-rw-r--r-- 1 root root   78 Mar 25 08:49 define.conf.rpmsave
-rw-r--r-- 1 root root  111 Mar 25 11:37 fastcgi.conf
-rw-r--r-- 1 root root  256 Mar 25 08:49 fastcgi.conf.rpmsave
-rw-r--r-- 1 root root  111 Mar 25 11:37 fcgid.conf
-rw-r--r-- 1 root root  111 Mar 25 08:49 fcgid.conf.rpmsave
-rw-r--r-- 1 root root  111 Mar 25 10:46 _inactive_.conf
-rw-r--r-- 1 root root  111 Mar 25 11:37 itk.conf
-rw-r--r-- 1 root root 1961 Mar 24 19:42 ~lxcenter.conf
-rw-r--r-- 1 root root  111 Mar 25 11:37 php.conf
-rw-r--r-- 1 root root  111 Mar 24 19:42 php.conf.rpmsave
-rw-r--r-- 1 root root  566 Dec  5  2005 proxy_ajp.conf
-rw-r--r-- 1 root root  392 Jul 23  2015 README
-rw-r--r-- 1 root root  526 Mar 25 10:46 rpaf.conf
-rw-r--r-- 1 root root  111 Mar 25 11:37 ruid2.conf
-rw-r--r-- 1 root root  867 Mar 25 10:46 ssl.conf
-rw-r--r-- 1 root root  867 Mar 25 08:49 ssl.conf.rpmsave
-rw-r--r-- 1 root root  111 Mar 25 11:37 suphp.conf
-rw-r--r-- 1 root root  111 Mar 25 08:49 suphp.conf.rpmsave
-rw-r--r-- 1 root root  121 Mar 25 10:46 __version.conf
-rw-r--r-- 1 root root  352 Apr 25  2012 webalizer.conf
-rw-r--r-- 1 root root  299 Sep  9  2004 welcome.conf

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kenapa file.php tidak terbaca oleh server
« Reply #3 on: 2016-03-25, 14:42:30 »
Jalankan 'cp -f /opt/configs/httpd/conf.d/fastcgi.conf /etc/httpd/conf.d/fastcgi; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kusworo

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: kenapa file.php tidak terbaca oleh server
« Reply #4 on: 2016-03-25, 15:25:15 »
cp: cannot stat `/opt/configs/httpd/conf.d/fastcgi.conf': No such file or directory

Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------

Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kenapa file.php tidak terbaca oleh server
« Reply #5 on: 2016-03-25, 15:45:41 »
Wah salah.

Coba 'cp -f /opt/configs/apache/etc/httpd/conf.d/fastcgi.conf /etc/httpd/conf.d/fastcgi; sh /script/restart-web -y'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kusworo

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: kenapa file.php tidak terbaca oleh server
« Reply #6 on: 2016-03-25, 16:11:45 »
[root@vultr ~]# cp -f /opt/configs/apache/etc/httpd/conf.d/fastcgi.conf /etc/httpd/conf.d/fastcgi; sh /script/restart-web -y
cp: cannot stat `/opt/configs/apache/etc/httpd/conf.d/fastcgi.conf': No such file or directory

Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------

Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kenapa file.php tidak terbaca oleh server
« Reply #7 on: 2016-03-25, 16:21:05 »
Coba 'cp -f /opt/configs/apache/etc/conf.d/fastcgi.conf /etc/httpd/conf.d/fastcgi; pkill -9 httpd; sh /script/restart-web -y'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kusworo

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: kenapa file.php tidak terbaca oleh server
« Reply #8 on: 2016-03-25, 16:27:40 »
[root@vultr ~]# cp -f /opt/configs/apache/etc/conf.d/fastcgi.conf /etc/httpd/conf.d/fastcgi; pkill -9 httpd; sh /script/restart-web -y

Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------

Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'
[root@vultr ~]#

tetapi masih tidak terbaca file index.php oleh server gan ini contohnya http://datsite06.tk/

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kenapa file.php tidak terbaca oleh server
« Reply #9 on: 2016-03-25, 16:57:38 »
wah salah. Coba rename fastcgi menjadi fastcgi.conf dengan 'mv /etc/httpd/conf.d/fastcgi /etc/httpd/conf.d/fastcgi.conf'. Kemudian restart.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kusworo

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: kenapa file.php tidak terbaca oleh server
« Reply #10 on: 2016-03-25, 17:08:44 »
[root@vultr conf.d]# mv /etc/httpd/conf.d/fastcgi /etc/httpd/conf.d/fastcgi.conf
mv: overwrite `/etc/httpd/conf.d/fastcgi.conf'? y
[root@vultr conf.d]# sh /script/restart-web -y

Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------

Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 127.0.0.1:30080
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kenapa file.php tidak terbaca oleh server
« Reply #11 on: 2016-03-25, 17:12:44 »
Ya, jalankan lagi 'pkill -9 httpd; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kusworo

  • Valuable Member
  • *
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: kenapa file.php tidak terbaca oleh server
« Reply #12 on: 2016-03-25, 17:23:23 »
nah alhamdulilah khirnya muncul juga intalasi wordprss terimakaish maha guru..itu klo disimpulkan kira2 letak dimana error atau kesalahnnya ya guru? biar bisa bwt belajar ane,

oh iya klo bwt create database via putty bisa juga gak,,klo di webzuo kan pake create database domain; nah di kloxo-mr mengetahui password mariadb dimana ya?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: kenapa file.php tidak terbaca oleh server
« Reply #13 on: 2016-03-25, 17:30:57 »
1. Sebenar pada update dari Kloxo-MR selanjutnya memang perl di-disable dengan alasan security. Update belum bisa karena server untuk compile sedang bermasalah

2. Memang kadangkala jika apache (httpd) punya kelakuan aneh yaitu gagal direstart (stop + start) pada tahap stop.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.032 seconds with 22 queries.

web stats analysis