php does't parse ! only show the code

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

remshad
New php-forum User
New php-forum User
Posts: 3
Joined: Fri Feb 11, 2011 6:01 am
Contact:

php does't parse ! only show the code

Postby remshad » Fri Nov 08, 2013 8:04 am

Hi,

i am using virtualmin

my problem is php doest parse , ( shows php codes in the page when open a php page in browser )

my /etc/httpd/conf/httpd.conf is

SuexecUserGroup "#503" "#503" ServerName *******.5ps.org ServerAlias www.*******.5ps.org ServerAlias webmail.*******.5ps.org ServerAlias admin.*******.5ps.org DocumentRoot /home/*******/public_html ErrorLog /var/log/virtualmin/*******.5ps.org_error_log CustomLog /var/log/virtualmin/*******.5ps.org_access_log combined ScriptAlias /cgi-bin/ /home/*******/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5

Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI allow from all AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch AddHandler fcgid-script .php AddHandler fcgid-script .php5 FCGIWrapper /home/*******/fcgi-bin/php5.fcgi .php FCGIWrapper /home/*******/fcgi-bin/php5.fcgi .php5

allow from all AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch

RewriteEngine on RewriteCond %{HTTP_HOST} =webmail.*******.5ps.org RewriteRule ^(.) https://*******.5ps.org:20000/ [R] RewriteCond %{HTTP_HOST} =admin.*******.5ps.org RewriteRule ^(.) https://*******.5ps.org:10000/ [R] RemoveHandler .php RemoveHandler .php5 php_admin_value engine on IPCCommTimeout 31 FcgidMaxRequestLen 1073741824

Return to “Server installation and configuration”

Who is online

Users browsing this forum: No registered users and 1 guest

cron