magic_quotes OFF pada Joomla 3

Discussion in 'Masalah Teknik dan Keamanan' started by cyberidiot, 7 Jul 2013.

Thread Status:
Not open for further replies.
  1. cyberidiot

    cyberidiot Poster 2.0

    Messages:
    126
    Likes Received:
    12
    Trophy Points:
    18
    Selamat siang,


    apa ya efek dari meng-OFF kan magic_quotes pada settingan PHP untuk kerperluan Joomla 3?
    berhubung ini WHM untuk Shared Hosting, apakah ada efek untuk akun hosting lainnya, jika meng-OFF kan pada magic_quotes ?

    magic_quotes_gpc = Off
    magic_quotes_sybase = Off


    Mohon pencerahannyaa :39:
     
  2. jaapns

    jaapns Hosting Guru Web Hosting

    Messages:
    3,260
    Likes Received:
    443
    Trophy Points:
    83
    betul , Joomla 3 magix_quotes_gpc harus off,

    Supaya tidak menganggu kinerja account lainnya, di perlakukan saja Global PHP.INI dari root, jadi hanya klien tertentu yg request off yg di setting.
     
  3. cyberidiot

    cyberidiot Poster 2.0

    Messages:
    126
    Likes Received:
    12
    Trophy Points:
    18
    bagaimana pak biar klien tertentu yg request off saja?

    saya pakai WHM, centos, php5.3.x

    :confused:
     
  4. jaapns

    jaapns Hosting Guru Web Hosting

    Messages:
    3,260
    Likes Received:
    443
    Trophy Points:
    83
    Dalam operasional Server saya pake Global Php.Ini dan khusus klien yg request baru saya setting dengan cara ;

    Edit
    /opt/suphp/etc/suphp.conf file:

    Pake nano /opt/suphp/etc/suphp.conf


    Cari ini :

    [phprc_paths]
    ;Uncommenting these will force all requests to that handler to use the php.ini
    ;in the specified directory regardless of suPHP_ConfigPath settings.
    ;application/x-httpd-php=/usr/local/lib/
    ;application/x-httpd-php4=/usr/local/php4/lib/
    ;application/x-httpd-php5=/usr/local/lib/

    Hilangkan tanda ; sehingga menjadi :
    [phprc_paths]
    ;Uncommenting these will force all requests to that handler to use the php.ini
    ;in the specified directory regardless of suPHP_ConfigPath settings.
    application/x-httpd-php=/usr/local/lib/
    application/x-httpd-php4=/usr/local/php4/lib/
    application/x-httpd-php5=/usr/local/lib/



    Kalo mau custom di user tertentu edit file :

    nano /usr/local/lib/php.ini

    Misal :
    [PATH=/home/username/public_html]
    register_globals=On
    post_max_size=5000M


    Kalo seperti request anda ya masukkan :
    [PATH=/home/username/public_html]
    magic_quotes_gpc = Off
    magic_quotes_sybase = Off



    note :

    username : di isi username cpanel klien
    dibawahnya apa yg akan di on off kan

    Abis itu restart apache.

    Gunanya disable global ini, supaya klien tidak seenaknya sendiri edit2 php.ini, hacker juga pake cara2 edit php.ini, itu sebabnya saya disable dari root.
     
    cyberidiot likes this.
  5. dhyhost

    dhyhost Hosting Guru Web Hosting

    Messages:
    3,932
    Likes Received:
    614
    Trophy Points:
    113
    kalau pengalaman saya dalam penginstalan joomla 3 di akun shared bisa langsung create file php.ini didalam folder public_html
    lalu masukan ini

    di save beres deh

    disini juga ada tutornya
    http://docs.joomla.org/How_to_turn_off_magic_quotes_gpc_for_Joomla_3
     
  6. jaapns

    jaapns Hosting Guru Web Hosting

    Messages:
    3,260
    Likes Received:
    443
    Trophy Points:
    83
    iya itu bisa, kalo create php.ini nya di ijinkan.

    Kalo yg cara saya itu konsepnya : disable php.ini dari root, kemudian memberikan akses user tertentu.
     
  7. galuh82

    galuh82 Hosting Guru Web Hosting (Company)

    Messages:
    2,514
    Likes Received:
    186
    Trophy Points:
    63
    benar kata jaapns, kalau php.ini bisa override dari user langsung agak riskan, mending metode suphp.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...