|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52790 [ZH] php install translation error
Submitted: 2010-09-07 10:54 UTC Modified: 2010-10-24 15:29 UTC
From: ya0wei at live dot cn Assigned: kalle (profile)
Status: Closed Package: Translation problem
PHP Version: 5.3.3 OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: ya0wei at live dot cn
New email:
PHP Version: OS:


 [2010-09-07 10:54 UTC] ya0wei at live dot cn

Tell Apache to parse certain extensions as PHP. For example, let's have Apache parse .php files as PHP. Instead of only using the Apache AddType directive, we want to avoid potentially dangerous uploads and created files such as exploit.php.jpg from being executed as PHP. Using this example, you could have any extension(s) parse as PHP by simply adding them. We'll add .php to demonstrate. 


In chinese version,is not update.It is a security problem.

15. 告知 Apache 将特定的扩展名解析成 PHP,例如,让 Apache 将扩展名 .php
    解析成 PHP。可以将任何扩展名指定为 PHP,只需添加它们,每一个用空格分隔。
    例如,要添加 .phtml:
    AddType application/x-httpd-php .php .phtml
    通常还将 .phps 扩展名设置成显示高亮的 PHP 源文件,可以这样来完成:
    AddType application/x-httpd-php-source .phps


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-23 10:02 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: honestqiao
 [2010-10-23 10:02 UTC]
Honestqiao, I don't know if the phpdoc-zh project at google code is aware of this issue, if not it might be a good idea to review
 [2010-10-23 12:25 UTC]
-Summary: php install translation error +Summary: [ZH] php install translation error
 [2010-10-24 15:29 UTC]
-Status: Assigned +Status: Closed -Assigned To: honestqiao +Assigned To: kalle
 [2010-10-24 15:29 UTC]
There was a bug in the revision number causing it not to show up as outdated, I have fixed this and let the documentation team know about the fault and the file should be updated soonish
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 07:01:28 2024 UTC