June 2005
Intermediate
720 pages
20h 6m
English
Enabling Extension SupportMany PHP configuration options can be altered by just editing the php.ini file. But enabling (or disabling) an extension—in other words, adding support for extended functionality—requires more effort. To enable support for an extension for just a single PHP page, you can use the dl() function. To enable support for an extension for all PHP scripts requires a bit of work. Unfortunately, for Unix and Mac OS X users, you’ll need to rebuild PHP with support for this new extension. Windows users have it easier: First, edit the php.ini file (see the steps in this section), removing the semicolon before the extension you want to enable. For example, to enable MySQL support, you’ll need to find the line that ... |
Read now
Unlock full access