Other configuration options

Source: Internet
Author: User
-- Enable-sysvsem includes SysV signals (supported by most Unix systems ). For more information, see the signal and shared memory documentation. -- Enable-sysvshm supports SysV shared memory (supported by most Unix systems ). For more information, see the signal and shared memory documentation. -- With-xml includes the XML syntax for an informal version -- enable-sysvsem

Including the Sys V signal (supported by most Unix systems ). For more information, see the signal and shared memory documentation.

-- Enable-sysvshm

Including support for Sys V shared memory (supported by most Unix systems ). For more information, see the signal and shared memory documentation.

-- With-xml

This includes support for an informal version of XML syntax, using James Clark's expat library. See the XML function guide for details.

-- Enable-maintainer-mode

Open additional related and compilation warning information, which is often used by PHP3 developers.

-- With-system-regex

The library that uses the system regular expression is better than the bound one. If you compile PHP3 as a server component, you must use the same library when compiling and connecting to the server. If you need something in the system, open this option. if possible, we recommend that you use a database bundled with PHP3.

-- With-config-file-path

This path is used to find the position of the php3.ini file when PHP3 is started.

-- With-exec-dir

It can only be executed in the secure mode Directory. the default value is/usr/local/bin /. This option can only be set as default. it can be implemented by modifying safe_mode_exec_dir in the preparation file.

-- Disable-debug

Debugging information is not included in the database or execution. Debugging information helps you quickly identify the problem. Therefore, it is best to retain debugging information as long as PHP is still in alpha or beta testing.

-- Enable-safe-mode

By default, the "safe_mode" option is enabled. this option imposes some restrictions on the PHP function. for example, you can only open files under your WEB root directory, read the security chapter for details. CGI users should always keep this option open. This option can only be set as default, but you can enable or disable this option by modifying the configuration file (php3.ini.

-- Enable-track-vars

Use PHP3 to save the path of the request GWT/POST/cookie from HTTP_GET_VARS, HTTP_POST_VARS or HTTP_COOKIE_VARS. This option is set to the default value. you can also set the value of track_vars in the configuration file to change its attributes (enabled or disabled ).

-- Enable-magic-quotes

Set to make magic reference the default value. This option only sets this default situation. it can be set to available or unavailable by specifying magic_quotes_runtime in configuration file. For more information, see magic_quotes_gpc and magic_quotes_sybase.

-- Enable-debugger

Activate the internal PHP3 debugger support. This feature is only in the experimental stage. See Debugger configuration in Configuration file.

-- Enable-discard-path

If this attribute is set to available, PHP's binary CGI can be safely protected outside The WED tree, and others cannot use some special means to obtain access permissions. Refer to section in the security chapter about this option.

-- Enable-bcmath

This allows any precision mathematical functions in the BC style to be used. See configuration file options in configuration file.

-- Enable-force-cgi-redirect

Use security check to redirect internal servers. This feature is required if you need to run CGI programs on Apache.

When PHP is used as CGI binary, as the default setting, PHP will first check whether it is used for redirection (for example, using activity indication on Apache ). This will confirm that PHP binary cannot be directly called to skip the standard WEB server authentication program, for example: http://my.host/cgi-bin/php/secret/doc.html. In this example, access http://my.host/secret/doc.html, but no security settings have been made by httpdfor directory/secret.

Disable this check without using this option and use the bypass HTTPD security and identity settings at the same time. If you want to do this, unless your server software cannot point out a secure redirection, and files in your folder root directory and user directory will be accessed by anyone.

See the security chapter for details about this option.

-- Disable-short-tags

Disable short-term PHP3 tags . If you want to use XML (eXtended Markup Language), you must disable So, PHP code labels are left . This option can only be set to default. You can enable or disable this option by modifying the short open tag command in the configuration file.

-- Enable-url-includes

Using the include () function, PHP3 can directly run the code of other HTTP and FTP sites. See the include path option in the configuration file.

-- Disable-syntax-hl

Disable the syntax highlighting function.

CPPFLAGS and LDFLAGS

To locate the header file and library file in different paths during PHP installation, modify the cppllags and ldflags environment variables. If you are using a smart shell (command interpreter), you should be able to set 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.