PHP compilation Options Description (2)

Source: Internet
Author: User

!--? xml:namespace prefix = o ns = "Urn:schemas-microsoft-com:office:office"/-->  

syntax:--enable-discard-path
Note: This option is turned on so that the user cannot read the. htaccess and system security-related files through the browser.

High-precision math function
Syntax:--enable-bcmath
Description: Open a high-precision function. This function library must be installed before this option is valid.
Forced CGI
Syntax:--enable-force-cgi-redirect
Example: If you use CGI VERSION mode to perform PHP, opening this option increases security. For example, a
user-read http://my.host/cgi-bin/php/secret/doc.html encounters a more knowledgeable PHP system
Customer user may have entered the following URL http://my.host/secret/ Doc.html to read the relevant funding
news. If PHP and Apache are compiled together to make PHP a part of Apache, you do not need to add this
option.
Do not use short tags
Syntax:--disable-short-tags
Description: Set this option, the PHP program can not use the short; > mark, be sure to use <?php
...? Long marks for >.
Introducing Remote Archives
Syntax:--enable-url-includes
Description: Setting this option allows PHP programs to introduce (include) files from the remote HTTP or FTP server
.
Turn off syntax effects
Syntax:--DISABLE-SYNTAX-HL
Description: Use this option to turn off the color effect of the PHP syntax.
Function Library Path
Syntax: Cppflags=-idir and Ldflags=-ldir
Description: If PHP is secure or compiles the required library in a particular path, you need to add this option, Ldflags
represents the path to the library, Cppflags Represents the path of the header file.
Example: Ldflags=-l/my/lib/dir cppflags=-i/my/include/dir./configure



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.