Whole document tree 4. mod_php and its prerequisites4.1. What is mod_phpQuoting www.php.net PHP is a server-side, cross-platform, HTML embedded scripting language. In the beginning it was just a simple guestbook-processor, and it was growing and growing Since Version 3 it is really powerful Webdevelopment-language From the authors point of view: Since Version 4 PHP capable and robust enough for enterprise webapplications. It is powerful, supports almost all important Databases natively, and other throught ODBC. It a few times faster than ASP on M$-Systems on the same Hardware. There are other extensions available like apc which speed up processing about 50-400% (depends on the php-code you wrote) 4.2. PrerequisitesDepending on your needs there are some software to install first. One already installed Software according this document is MySQL, because its needed by mod_auth_mysql. 4.2.1. IMAP client4.2.1.1. What is IMAP clientIMAP means "Internet Mail Application Protocol" and is a substitute for the POP protocol. It allows to keep all Mails in different folders on the server, which (should) be backed up - Never again lose important email, because your local harddrive crashed 4.2.3. Building and installing
Notice: imap.tar.Z is usually a symlink to the latest release, today its linked to imap-2001a.tar.Z If you dont need SSL-Support, remove the "SSLTYPE=unix" behind the make command 4.2.4. Postgres4.2.4.1. What is PostgresPostgres is a very Powerful and fast Database Like MySQL wonderful for Webapplications. From my Point of view, not as comfortable to handle as MySQL. If your Webapplication performs mostly writes, or you need proofed transaction-capabilities, Postgres is your friend 4.2.4.2. Download the sourceOrigin-Site: http://www.postgresql.org (Select a mirror close to you) 4.2.4.3. Building and installing
4.2.5. pdflib4.2.5.1. What is pdflibQuoting www.pdflib.com PDFlib: A library for generating PDF on the fly PDFlib is the premier software component if you want to generate PDF on your server, convert text and graphics, or implement PDF output in your own products. From the authors point of view: This is a commercial Procduct. Read the licence carefully to see if you need a commercial licence or not 4.2.5.3. Building and installing
4.2.6. gettext4.2.6.1. What is gettextgettext is a library for i18n (Internationalization, "I", 18 chars and "n") of software, and needed by php 4.2.6.2. Download the sourceOrigin-Site: ftp://ftp.gnu.org/gnu/gettext (select a mirror close to you) 4.2.6.3. Building and installing
4.2.7. zlib4.2.7.1. What is zlibzlib is a lossless data-compression library for use on virtually any computer hardware and operating system 4.2.7.2. Download the sourceOrigin-Site: ftp://ftp.info-zip.org/pub/infozip/zlib/zlib.tar.gz (select a mirror close to you) 4.2.7.3. Building and installing
4.3. php>
After installing your httpd.conf is modified by axps. It should now look as follows:
If you compiled Apache with mod_ssl then the php-module will only be loaded when staring Apache with ssl (apachectl startssl). If you will start Apache without ssl support (but compiled like described in this document) you need to change this:
Copy the sample php.ini to /usr/local/lib/php.ini
uncomment (remove the # at begin of line) the following lines in /usr/local/apache/conf/httpd.conf Apache 1.3.23 default httpd.conf does lack of this entries. You have to add them instead of uncommenting
you may wish to add the following:
Restart apache by issuing the following command:
|