598Part VRunning ServersThe core features of PHP are (Web site optimization)
598Part VRunning ServersThe core features of PHP are included within the PHP code itself, and additional fea- tures are implemented in the form of extensions. On Debian, PHP is contained inthe php4 package, and the extensions are stored in separate packages that can beinstalled at any time. Some of the most popular packages include: .php4-curl This extension interfaces with the CURL library, which containsinterfaces for several types of servers, including LDAP, HTTP, and FTP. .php4-domxml Functions related to processing XML. .php4-gd The GD library is used for creating images. It is most popular forits graph generation functions. .php4-ldap Functions for communicating with LDAP servers. .php4-mysql Functions for communicating with a MySQL database server. .php4-pear Functions and support programs for using the PHP Extension andApplication Repository (PEAR). PEAR is similar to the CPAN archive for Perlprograms and contains a large number of useful modules. (More informationabout PEAR modules can be found at http://pear.php.net.) .php4-pgsql Functions for communicating with a PostgreSQL database server. .php4-snmp Functions for performing network management using the SNMPprotocol. Setting Up Your LAMP ServerBefore proceeding through the examples in this section, be sure that your Debianoperating system is configured. You may also choose to set up a server on a systemthat has been configured using the layout and software packages intended for aworkstation, but that s not recommended unless you will only be providing servicesfor a very small number of users whom you know well and trust. Installing ApacheThe next step toward a functioning LAMP server is to install the Apache HTTPserver, which can be found in the apache package. Use APT to retrieve and installthe package: # apt-get install apacheDuring the configuration process, you will be asked whether you want to enable thesuexec mechanism. The suexec feature increases the security of CGI applicationsand is generally recommended. You can change your selection later using debconfto reconfigure the apache package. More information about debconfcan be foundin Chapter 9.32_
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.