mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-17 01:18:55 +00:00

removing the others git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78562 c90b9560-bf6c-de11-be94-00142212c4b1
324 lines
11 KiB
XML
324 lines
11 KiB
XML
<!-- D O N O T E D I T T H I S F I L E ! ! !
|
|
|
|
it is still here for historical reasons only
|
|
(as translators may need to check old revision diffs)
|
|
|
|
if you want to change things documented in this file
|
|
you should now edit the files found under en/reference
|
|
instead -->
|
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.7 $ -->
|
|
<reference id="ref.iisfunc">
|
|
<title>IIS Administration functions</title>
|
|
<titleabbrev>IIS Functions</titleabbrev>
|
|
|
|
<partintro>
|
|
<simpara>
|
|
This extension is available for Win32 only. It provides functions
|
|
to administrate Microsoft Internet Information Server (IIS).
|
|
The extension includes function to create web sites and virtual
|
|
directories as well as configuring security and script mapping.
|
|
These functions have been added in PHP 4.
|
|
</simpara>
|
|
</partintro>
|
|
|
|
<refentry id="function.iis-get-server-by-path">
|
|
<refnamediv>
|
|
<refname>iis_get_server_by_path</refname>
|
|
<refpurpose>Return the instance number associated with the Path</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_get_server_by_path</methodname>
|
|
<methodparam><type>string</type><parameter>path</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Each vertual server in IIS is associated with an instance number.
|
|
<function>iis_get_server_by_path</function> Finds the instance number
|
|
from the actual path to the root directory.
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-get-server-by-comment">
|
|
<refnamediv>
|
|
<refname>iis_get_server_by_comment</refname>
|
|
<refpurpose>Return the instance number associated with the Comment</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_get_server_by_comment</methodname>
|
|
<methodparam><type>string</type><parameter>comment</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-add-server">
|
|
<refnamediv>
|
|
<refname>iis_add_server</refname>
|
|
<refpurpose>Creates a new virtual web server</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_add_server</methodname>
|
|
<methodparam><type>string</type><parameter>path</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>comment</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>server_ip</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>port</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>host_name</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>rights</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>start_server</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-remove-server">
|
|
<refnamediv>
|
|
<refname>iis_remove_server</refname>
|
|
<refpurpose>Removes the virtual web server indicated by ServerInstance</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_remove_server</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-set-dir-security">
|
|
<refnamediv>
|
|
<refname>iis_set_dir_security</refname>
|
|
<refpurpose>Sets Directory Security</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_set_dir_security</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>directory_flags</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-get-dir-security">
|
|
<refnamediv>
|
|
<refname>iis_get_dir_security</refname>
|
|
<refpurpose>Gets Directory Security</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_get_dir_security</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-set-server-rights">
|
|
<refnamediv>
|
|
<refname>iis_set_server_rights</refname>
|
|
<refpurpose>Sets server rights</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_set_server_rights</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>directory_flags</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-get-server-rights">
|
|
<refnamediv>
|
|
<refname>iis_get_server_rights</refname>
|
|
<refpurpose>Gets server rights</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_get_server_rights</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-set-script-map">
|
|
<refnamediv>
|
|
<refname>iis_set_script_map</refname>
|
|
<refpurpose>Sets script mapping on a virtual directory</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_set_script_map</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>script_extension</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>engine_path</parameter></methodparam>
|
|
<methodparam><type>int</type><parameter>allow_scripting</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-get-script-map">
|
|
<refnamediv>
|
|
<refname>iis_get_script_map</refname>
|
|
<refpurpose>Gets script mapping on a virtual directory for a specific extention</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_get_script_map</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>script_extension</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-set-app-settings">
|
|
<refnamediv>
|
|
<refname>iis_set_app_settings</refname>
|
|
<refpurpose>Creates application scope for a virtual directory</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_set_app_settings</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>virtual_path</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>application_scope</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-start-server">
|
|
<refnamediv>
|
|
<refname>iis_start_server</refname>
|
|
<refpurpose>Starts the virtual web server</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_start_server</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-stop-server">
|
|
<refnamediv>
|
|
<refname>iis_stop_server</refname>
|
|
<refpurpose>Stops the virtual web server</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_stop_server</methodname>
|
|
<methodparam><type>int</type><parameter>server_instance</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-stop-service">
|
|
<refnamediv>
|
|
<refname>iis_stop_service</refname>
|
|
<refpurpose>Stops the service defined by ServiceId</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_stop_service</methodname>
|
|
<methodparam><type>string</type><parameter>service_id</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-start-service">
|
|
<refnamediv>
|
|
<refname>iis_start_service</refname>
|
|
<refpurpose>Starts the service defined by ServiceId</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_start_service</methodname>
|
|
<methodparam><type>string</type><parameter>service_id</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<refentry id="function.iis-get-service-state">
|
|
<refnamediv>
|
|
<refname>iis_get_service_state</refname>
|
|
<refpurpose>Starts the service defined by ServiceId</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>iis_get_service_state</methodname>
|
|
<methodparam><type>string</type><parameter>service_id</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
</reference>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
-->
|
|
|