MRatWork Forum by Mustafa Ramadhan - eksekusi .htacees di multiple php

Sponsor:
Server and Web Integrator
Link:
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:

MRatWork Forum | Please login or register. | 2017-11-07, 15:27:54

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- eksekusi .htacees di multiple php

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: eksekusi .htacees di multiple php (Read 697 times)

0 Members and 1 Guest are viewing this topic.

#### redpages

- Senior Member
- Posts: 316
- Karma: +0/-0

##### eksekusi .htacees di multiple php

« on: 2017-07-03, 01:04:00 »
Pagi masta,
mau tanya apakah .htaccess hanya bisa jalan di type PHP mod_ruid2?
apakah multiple PHP ga bisa jalan di PHP FPM?
Adakah tools yg bisa mengkonversi .htacess ke konfigurasi nginx, karnea ingin banget menjalankan di nginx agar akses lebih cepat.
Saya perlu multiple PHP (php branch 7.0 dan php53u) dan .htaccess bisa jalan tapi bingung caranya.
Mohon pencerahannya.
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: eksekusi .htacees di multiple php

« Reply #1 on: 2017-07-03, 05:18:04 »
Htaccess bisa jalan di proxy (misal nginx-proxy) dan juga tentunya pure apache. Memang memerlukan beberapa penyesuaian.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### redpages

- Senior Member
- Posts: 316
- Karma: +0/-0

##### Re: eksekusi .htacees di multiple php

« Reply #2 on: 2017-07-04, 09:20:16 »
php type RUID2 koq ga ada dlm list ya. ini pake fcgid_event. .htaccess bisa jalan, tapi saat eksekusi form ada error spt terlampir (error 500)
Bagaimana cara mencari penyebab error tsb?
Gimana cara milih php_ruid2? apa mmg sudah dihapus di versi kloxo
Terima kasih atas pencerahannya
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: eksekusi .htacees di multiple php

« Reply #3 on: 2017-07-04, 11:54:29 »
Infokan 'sh /script/sysinfo'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### redpages

- Senior Member
- Posts: 316
- Karma: +0/-0

##### Re: eksekusi .htacees di multiple php

« Reply #4 on: 2017-07-04, 13:24:12 »
Berikut:
Quote

> [root@sg40 ~]# sh /script/sysinfo
> A. Control Panel:
> - Kloxo-MR: 7.0.0.c-2017062801
> - Web: hiawatha-10.6.0-f.1.mr.el6.i686
> - PHP: php56s - 5.6.30-2.ius.centos6 (fpm mode)
> B. Plateform:
> - OS: CentOS release 6.9 (Final) i686
> - Hostname: sg40.m2net.asia
> C. Services:
> 1. MySQL: MariaDB-server-10.0.31-1.el6.i686
> 2. PHP:
> - Installed:
> - Branch: php53u-cli-5.3.29-1.ius.centos6.i686
> - Used: --PHP Branch--
> - Multiple: disable
> 3. Web Used: nginxproxy
> - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.i686
> - Lighttpd: lighttpd-1.4.45-1.el6.i686
> - Nginx: nginx-1.13.2-1.el6.ngx.i386
> - Apache: httpd24u-2.4.25-4.ius.centos6.i686
> - PHP Type: fcgid_event
> - Secondary PHP: off
> 4. WebCache: none
> - ATS: --uninstalled--
> - Squid: --uninstalled--
> - Varnish: --uninstalled--
> 5. Dns: nsd
> - Bind: bind-9.9.9-1.mr.el6.i686
> - DJBDns: djbdns-1.05-17.4.mr.el6.i386
> - NSD: nsd-4.1.16-1.el6.i686
> - PowerDNS: pdns-4.0.3-1.el6.MIND.i686
> - Yadifa: yadifa-2.2.3-1.mr.el6.i686
> 6. Mail: qmail-toaster-1.03-1.3.56.mr.el6.i686
> - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.i686
> - smtp: qmail-toaster-1.03-1.3.56.mr.el6.i686
> - spam: bogofilter-1.2.4-1.el6.i686
> 7. FTP: pure-ftpd
> - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.i386
> 8. Stats: awstats
> - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
> D. Memory:
> total used free shared buffers cached
> Mem: 1024 634 389 76 0 109
> -/+ buffers/cache: 524 499
> Swap: 512 99 412
> E. Disk Space:
> Filesystem Size Used Avail Use% Mounted on
> /dev/ploop33084p1 74G 36G 34G 52% /

Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: eksekusi .htacees di multiple php

« Reply #5 on: 2017-07-04, 13:37:56 »
No options for ruid2 because 'php branch' as 'php53u-cli' instead 'php53u'. Fail to install 'php53u' because something wrong in install process.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### redpages

- Senior Member
- Posts: 316
- Karma: +0/-0

##### Re: eksekusi .htacees di multiple php

« Reply #6 on: 2017-07-04, 15:14:31 »
saya coba reinstall pake sh /script/upcp -y tidak ada perubahan. PHP ruid2 ttp belum ada di list.
Mohon bantuannya
Logged

#### NginxHolic

- Valuable Member
- Posts: 84
- Karma: +1/-0

##### Re: eksekusi .htacees di multiple php

« Reply #7 on: 2017-07-05, 00:08:25 »
Coba pada PHP Used ganti dengan PHP53U, tentunya install dulu pada multiple PHP.
Seperti mastah bilang diatas, tdk ada ruid karena versi PHP53-CLI, dan juga ada kemungkinan gagal dalam proses instalasi.
Logged

#### redpages

- Senior Member
- Posts: 316
- Karma: +0/-0

##### Re: eksekusi .htacees di multiple php

« Reply #8 on: 2017-07-05, 02:56:52 »
sudah yum remove php53*, setting php branch php53u, install php53m.
tapi yg muncul di php user = php53m.
saya cek php ruid2 masih belum ada?
apa beda php 53u dan 53m?
apakah harus install fresh kloxo ?
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: eksekusi .htacees di multiple php

« Reply #9 on: 2017-07-05, 13:24:58 »
1. mod_ruid2/mod_itk hanya jalan bila php basic terinstall (biasanya digambarkan sebagai php53u untuk php 5.3; jika dari sysinfo tampil php53u-cli maka artinya php basic tidak/gagal terinstall
2. Php yang diinstall melalui 'multiple php' akan digambarkan sebagai php53m yang sumber asalnya bisa dari php53u atau lainnya (misalnya php53w). Php yang dari 'multiple php' tidak bisa digunakan oleh prefork (mod_ruid2 pakai mpm prefork). Hanya php dari 'php branch' yang bisa digunakan oleh mod_ruid2 (yang tentunya php53u terinstall; bukan hanya php53u-cli)
3. Tidak ada alasan bahwa php-fpm (di apache pakai mpm worker/event) pada apache bermasalah dengan .htaccess karena .htaccess tidak terkait dengan php
4. Jika pakai apache 2.4, ruid2 masih bisa dipakai tapi apache sendiri sudah 'menganaktirikan' module yang berjalan dengan prefork
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### redpages

- Senior Member
- Posts: 316
- Karma: +0/-0

##### Re: eksekusi .htacees di multiple php

« Reply #10 on: 2017-07-06, 01:29:35 »
saya sudah reinstall kloxo mr. (fresh install). Kenapa type ruid2 masih blm ada di list? apa karena php53 cli? padahal benar2 freshinstall. gimana cara mengatasi ini.
Mohon bantuannya.
Quote

> A. Control Panel:
> - Kloxo-MR: 7.0.0.c-2017062801
> - Web: hiawatha-10.6.0-f.1.mr.el6.i686
> - PHP: php56s - 5.6.30-2.ius.centos6 (fpm mode)
> B. Plateform:
> - OS: CentOS release 6.9 (Final) i686
> - Hostname: sg40.m2net.asia
> C. Services:
> 1. MySQL: MariaDB-server-10.0.31-1.el6.i686
> 2. PHP:
> - Installed:
> - Branch: php53u-cli-5.3.29-1.ius.centos6.i686
> - Used: --PHP Branch--
> - Multiple: disable
> 3. Web Used: nginxproxy
> - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.i686
> - Lighttpd: lighttpd-1.4.45-1.el6.i686
> - Nginx: nginx-1.13.2-1.el6.ngx.i386
> - Apache: httpd24u-2.4.25-4.ius.centos6.i686
> - PHP Type: proxy_fcgi_worker
> - Secondary PHP: off
> 4. WebCache: none
> - ATS: --uninstalled--
> - Squid: --uninstalled--
> - Varnish: --uninstalled--
> 5. Dns: nsd
> - Bind: bind-9.9.9-1.mr.el6.i686
> - DJBDns: djbdns-1.05-17.4.mr.el6.i386
> - NSD: nsd-4.1.16-1.el6.i686
> - PowerDNS: pdns-4.0.3-1.el6.MIND.i686
> - Yadifa: yadifa-2.2.3-1.mr.el6.i686
> 6. Mail: qmail-toaster-1.03-1.3.56.mr.el6.i686
> - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.i686
> - smtp: qmail-toaster-1.03-1.3.56.mr.el6.i686
> - spam: bogofilter-1.2.4-1.el6.i686
> 7. FTP: pure-ftpd
> - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.i386
> 8. Stats: awstats
> - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
> D. Memory:
> total used free shared buffers cached
> Mem: 1024 638 385 75 0 353
> -/+ buffers/cache: 285 738
> Swap: 512 0 511
> E. Disk Space:
> Filesystem Size Used Avail Use% Mounted on
> /dev/ploop33084p1 74G 2.5G 68G 4% /

Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: eksekusi .htacees di multiple php

« Reply #11 on: 2017-07-06, 02:46:08 »
Apa alasan pakai php 5.3. Apa sudah dicoba pakai php 5.4 atau sekalian php 5.6?.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### redpages

- Senior Member
- Posts: 316
- Karma: +0/-0

##### Re: eksekusi .htacees di multiple php

« Reply #12 on: 2017-07-06, 05:25:36 »
aplikasi di webnya hanya bisa jalan di php53.
Logged

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- eksekusi .htacees di multiple php

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

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.04 seconds with 17 queries.

Mirror created by MasterkinG32.CoM