[ASK] setting x-httpd-php


Status
Not open for further replies.

java09

Poster 2.0
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
 

andhi

Hosting Guru
coba recompile ulang apache nya lewat easyapache sya sndri default lancar2 sajah ya install wordpress,
 

Mylo Sepz

Apprentice 2.0
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

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
 

mustafaramadhan

Hosting Guru
Anda pakai control panel apa?. Atau memang tidak pakai?.

Mestinya hal seperti sudah diselesaikan oleh control panel.
 

java09

Poster 2.0
coba recompile ulang apache nya lewat easyapache sya sndri default lancar2 sajah ya install wordpress,

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?
 

java09

Poster 2.0
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

udah aku tmbhin mas di mime.types tapi tetap
 

andhi

Hosting Guru
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?


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
 

java09

Poster 2.0
langsung build aja pilihan yg ini

View attachment 1182

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

iya itu kosong punya saya mas. brarti langsung build profile now
 
Status
Not open for further replies.

Top