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:44:23

Author Topic: Seting .htaccess untuk multiphp dan rewrite url  (Read 9973 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #15 on: 2016-01-08, 19:18:35 »
Saya tidak menemukan masalah di wordpress yang pakai php 7.0 melalui .htaccess.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #16 on: 2016-01-09, 00:39:42 »
Apa semuanya ('php used', suphp dan fcgid) sama versi phpnya?.

kalo dari sysinfo
php-used sama dengan php branch pak, pakai php55u

Code: [Select]
[root@aljazari ~]# sh /script/sysinfo
A. Kloxo-MR: 7.0.0.b-2016010501
   - Web: hiawatha-10.0.0-f.6.mr.el6.i686
   - PHP: php54s-5.4.45-2.w6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) i686
   - Hostname: aljazari.hostmikro.com
C. Services:
   1. MySQL: MariaDB-server-10.0.23-1.el6.i686
   2. PHP:
      - Branch: php55u-cli-5.5.30-1.ius.el6.i686
      - Multiple:
        * php52m-5.2.17-102.mr.el6
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.45-2.w6
        * php55m-5.5.30-1.ius.el6
        * php56m-5.6.16-1.ius.el6
        * php70m-7.0.0-1.w6
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.i386
      - PHP Type: fcgid_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.9-1.el6.ngx.i386
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.i386
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:           498        456         41         17         23        185
   -/+ buffers/cache:        248        250
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        20G  2.9G   16G  16% /


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

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


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #17 on: 2016-01-09, 03:35:01 »
Maksud saya, wordpress yang tidak mau write tersebut diset pakai multiple php apa?. Misalnya pakai 'SetHandler x-httpd-php70' atau 'FCGIWrapper /home/kloxo/client/php70.fcgi .php'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #18 on: 2016-01-09, 04:11:10 »
Maksud saya, wordpress yang tidak mau write tersebut diset pakai multiple php apa?. Misalnya pakai 'SetHandler x-httpd-php70' atau 'FCGIWrapper /home/kloxo/client/php70.fcgi .php'?.

dua2nya sama saja pak
pakai SetHandler x-httpd-php70 atau FCGIWrapper /home/kloxo/client/php70.fcgi .php tetap tidak mau write

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #19 on: 2016-01-09, 04:18:49 »
Sudah anda jalankan 'sh /script/fix-chownchmod'?
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #20 on: 2016-01-09, 04:23:44 »
Sudah anda jalankan 'sh /script/fix-chownchmod'?

sudah pak
saya juga sudah coba gonta ganti php-type tetap sama saja
tidak bisa nulis

saya coba ganti pakai cms lain, joomla, pagekit, drupal masalahnya juga sama
error di write permission

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #21 on: 2016-01-09, 05:46:39 »
Pada directory terkait (uploads) ganti chown ke apache:apache (daripada chmod 777).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #22 on: 2016-01-09, 05:49:59 »
Pada directory terkait (uploads) ganti chown ke apache:apache (daripada chmod 777).

apache:apache bisa pak
berarti semua folder harus jadi apache:apache pak?
termasuk user2 non-admin yg di set sebagai 'reseller' dan 'client'?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #23 on: 2016-01-09, 06:06:09 »
Pada directory terkait (uploads) ganti chown ke apache:apache (daripada chmod 777).

apache:apache bisa pak
berarti semua folder harus jadi apache:apache pak?
termasuk user2 non-admin yg di set sebagai 'reseller' dan 'client'?
Jangan, hanya folder yang ditulis saja perlu dijadikan apache:apache.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #24 on: 2016-01-10, 09:16:01 »
Pada directory terkait (uploads) ganti chown ke apache:apache (daripada chmod 777).

apache:apache bisa pak
berarti semua folder harus jadi apache:apache pak?
termasuk user2 non-admin yg di set sebagai 'reseller' dan 'client'?
Jangan, hanya folder yang ditulis saja perlu dijadikan apache:apache.

sudah pak
sudah jalan

ngomong2, php70 gak ada ioncube nya ya pak?
soalnya saya coba pasang script yg perlu ioncube, muncul warning ini kalo pake php70
Code: [Select]
Site error: the file /home/admin/anakteknik.web.id/align/index.php requires the ionCube PHP Loader ioncube_loader_lin_7.0.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #25 on: 2016-01-10, 09:45:01 »
Php 7.0 belum ada ioncube. Ini karena pembuat ioncube belum menyediakannya untuk php 7.0.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #26 on: 2016-01-10, 16:26:07 »
Php 7.0 belum ada ioncube. Ini karena pembuat ioncube belum menyediakannya untuk php 7.0.

sip pak
turun ke php56 folder yg butuh ioncube
oia pak, bedanya phpXYm dengan phpXYs apa ya?
saya liat kalo eksekusi 'sh /script/phpm-all-install' Kloxomr akan install phpXYm dan phpXYs
dan di folder '/opt' ada folder phpXYm dan phpXYs

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Seting .htaccess untuk multiphp dan rewrite url
« Reply #27 on: 2016-01-10, 17:14:20 »
Misal php54s dan php54m. Yang 's' dikhususkan untuk menjalankan panel sedangkan yang 'm' untuk website.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.046 seconds with 18 queries.

web stats analysis