Skip to content

Jack Huang – Blog

open source and ecommerce

Language

  • English
  • 中文

Menu

  • Home
  • Open Source
    • Bitcoin
    • DB-Toolkit
  • I.T.
    • System Admin
    • Developer
    • DBA
    • VoIP
  • Life
    • Travel
    • Personal
  • Contact Me
  • About Me

Virtualmin

Apache downloads php files instead of executing script when using cgi/fcgi in Virtualmin

Jack Huang System Admin Tuesday April 14th, 201523:28Apache, PHP, Virtualmin 3 Comments

Edit /etc/httpd/conf.d/php.conf

and replace these three lines:

<FilesMatch .php$>
SetHandler application/x-httpd-php
</FilesMatch>

with:

AddHandler php5-script .php

About Me

About Me

...

Read more

Tags

Apache Backup CentOS Cloud Computing Cloud Hosting coreseek DB-Toolkit Firewall Hacker Insight Interspire Linux Mirror MySQL Oempro PCRE PHP phpBB phplist pmta PowerMTA PowerShell qTranslate Replication scp Search sphinx SQL Sync Virtualmin voip WordPress
Copyright © 2025 Jack Huang – Blog.