[ASK] setting x-httpd-php

Discussion in 'Software Hosting dan Control Panel' started by java09, 10 Nov 2013.

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

    java09 Poster 2.0

    Messages:
    108
    Likes Received:
    1
    Trophy Points:
    18
    pagi Tuan :D lagi lagi saya nanyak :D maklum newbie Tuan utak atik php.ini gak ketemu juga :D

    problem buka blog justru muncul : http://prntscr.com/22zqwk
    download file
    padahal itu sudah saya install wordpress

    kira2 problem nya dimana yah.

    :D

    salam hening malam Tuan
     
  2. andhi

    andhi Hosting Guru

    Messages:
    1,678
    Likes Received:
    132
    Trophy Points:
    63
    coba recompile ulang apache nya lewat easyapache sya sndri default lancar2 sajah ya install wordpress,
     
  3. Mylo Sepz

    Mylo Sepz Apprentice 2.0

    Messages:
    532
    Likes Received:
    59
    Trophy Points:
    28
    Coba di konfigurasi apache atau mime type di tambahin:

    AddType application/x-httpd-php .php .phtml .php3
    AddType application/x-httpd-php-source .phps

    Refrensi:
    hxxp://stackoverflow.com/questions/2316610/php-files-are-downloaded-by-browser-instead-of-processed-by-local-dev-server-ma

    hxxp://forums.cpanel.net/f5/application-x-httpd-php-download-135305.html
     
  4. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Anda pakai control panel apa?. Atau memang tidak pakai?.

    Mestinya hal seperti sudah diselesaikan oleh control panel.
     
  5. java09

    java09 Poster 2.0

    Messages:
    108
    Likes Received:
    1
    Trophy Points:
    18
    Tuan itu yang di centang pada Short Options List :
    - Mod SuPHP
    - IonCube Loader for PHP
    - SourceGuardian Loader for PHP
    - Zend Guard Loader for PHP

    Exhaustive Options List :
    Deflate
    Expires
    Fileprotect
    Headers
    MPM Prefork
    Mime Magic
    Mod SuPHP
    Proxy
    IonCube Loader for PHP
    SourceGuardian Loader for PHP
    Zend Guard Loader for PHP
    Bcmath
    CGI
    Calendar
    CurlSSL
    Curlwrappers
    FTP
    GD
    Gettext
    Iconv
    Imap
    MailHeaders
    Mbregex
    Mbstring
    Mcrypt
    Mysql
    Mysql of the system
    MySQL "Improved" extension
    Openssl
    PDO
    PDO MySQL
    POSIX
    Path Info Check
    Pear
    Phar
    SQLite3
    Sockets
    TTF (FreeType)
    Zip
    Zlib


    kira itu benar tidak?
     
  6. java09

    java09 Poster 2.0

    Messages:
    108
    Likes Received:
    1
    Trophy Points:
    18
    udah aku tmbhin mas di mime.types tapi tetap
     
  7. Mylo Sepz

    Mylo Sepz Apprentice 2.0

    Messages:
    532
    Likes Received:
    59
    Trophy Points:
    28
    coba di restart dulu apachenya
     
  8. java09

    java09 Poster 2.0

    Messages:
    108
    Likes Received:
    1
    Trophy Points:
    18
    sudah saya restart mas
     
  9. andhi

    andhi Hosting Guru

    Messages:
    1,678
    Likes Received:
    132
    Trophy Points:
    63

    langsung build aja pilihan yg ini

    easy.jpg

    kalau sudah coba cek di /usr/local/apache/conf/php.conf

    PHP:
    root@tokyo [~]# cat /usr/local/apache/conf/php.conf
    # This file was automatically generated by the Cpanel PHP Configuration system
    # If you wish to change the way PHP is being handled by Apache on your system,
    # use the /usr/local/cpanel/bin/rebuild_phpconf script or the WHM interface.
    #
    # Manual edits of this file will be lost when Apache is updated.


    # SuPHP configuration for PHP5
    LoadModule suphp_module modules/mod_suphp.so
    suPHP_Engine on
    AddType application
    /x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
    <Directory />
        
    suPHP_AddHandler application/x-httpd-php5
    </Directory>

    # End of autogenerated PHP configuration.
    root@tokyo [~]#
    kalau sudah ada AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml berarti sudah terinstall
     
  10. java09

    java09 Poster 2.0

    Messages:
    108
    Likes Received:
    1
    Trophy Points:
    18
    iya itu kosong punya saya mas. brarti langsung build profile now
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...