Prev | Current Page 1193 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

The numbering can be confusing when it comes to Apache.
Many of the updates to the HTTPD server are bug and security fix releases, and the core releases continue
to be available. As of this writing, Apache HTTP Server 1.3.39 and 2.0.61 legacy releases are
also currently available.
The server should automatically start once the installation is finished, which means that you??™re
now ready to install PHP.
Installing PHP
Now you??™re ready to install and test the PHP module in Apache. This is the most common method
for installing PHP, but it introduces some security concerns on multiuser systems because all PHP
scripts are run as the same user as the Apache daemon. Be sure to read the Security section of the
PHP manual at http://php.net/manual/en/security.php before granting other users
access to manipulate PHP files on your server.
The PHP Apache module is contained in the php5 or php4 package, which is installed using APT.
The following lines download and install the Apache php4 module and the MySQL extensions,
configure Apache to load the module automatically, and instruct Apache to reload its configuration:
# apt-get install libapache-mod-php4 php4-mysql php4-gd
# apache-modconf apache enable mod_php4
Replacing config file /etc/apache/modules.


Pages:
1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205