ini file:
1. Open the php.ini file and locate the extension_dir directive and assign it
C:\php\ext\. If you installed PHP in another directory, modify this path
accordingly.
2. Locate the line ;extension=php_xmlrpc.dll. Uncomment this line by removing
the preceding semicolon. Save and close the file.
3. Restart the Web server and the extension is ready for use from within PHP. Keep in
mind that some extensions have additional configuration directives that may
be found later in the php.ini file.
CHAPTER 2 ?– CONFIGURING YOUR EN V IRONMENT 27
When enabling these extensions, you may occasionally need to install other software.
See the PHP documentation for more information about each respective
extension.
Run-Time Configuration
It??™s possible to change PHP??™s behavior at run time on both Windows and Linux
through the php.ini file. This file contains a myriad of configuration directives that
collectively control the behavior of each product. The remainder of this chapter
focuses on PHP??™s most commonly used configuration directives, introducing the
purpose, scope, and default value of each.
Managing PHP??™s Configuration Directives
Before you delve into the specifics of each directive, this section demonstrates the
various ways in which these directives can be manipulated, including through the
php.ini file, Apache??™s httpd.conf and .htaccess files, and directly through a PHP script.
Pages:
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106