6. mod_php and its prerequisites6.1. What is mod_php
Since Version 4 PHP capable and robust enough for enterprise webapplications. It is powerful, supports almost all important databases natively, and other through ODBC (Open DataBase Connectivity). It a few times faster than ASP on Windows Systems on the same Hardware. There are other extensions available like APC (Alternative PHP Cache), which speed up processing about 50-400% (depends on the php-code you wrote) 6.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. 6.2.1. IMAP client6.2.1.1. What is IMAP clientIMAP means »Internet Mail Application Protocol« and is a substitute for the POP (Post Office Protocol) 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 6.2.3. Building and installing
6.2.4. PostgreSQL6.2.4.1. What is PostgreSQLPostgreSQL 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, PostgreSQL is your friend 6.2.4.2. Download the sourceOrigin-Site: http://www.postgresql.org (Select a mirror close to you) 6.2.5. Sablotron6.2.5.1. What is Sablotron
6.2.5.2. Download the sourceOrigin-Site: http://download-2.gingerall.cz/download/sablot/Sablot-0.97.tar.gz 6.2.6. pdflib6.2.6.1. What is pdflib
From the authors point of view:
6.2.6.2. Download the sourceOrigin-Site: http://www.pdflib.com/pdflib/download/pdflib-4.0.3.tar.gz 6.2.7. gettext6.2.7.1. What is gettextgettext is a library for i18n (Internationalization, "I", 18 chars and "n") of software, and needed by php 6.2.7.2. Download the sourceOrigin-Site: ftp://ftp.gnu.org/gnu/gettext (select a mirror close to you) 6.2.8. zlib6.2.8.1. What is zlibzlib is a lossless data-compression library for use on virtually any computer hardware and operating system 6.2.8.2. Download the sourceOrigin-Site: ftp://ftp.info-zip.org/pub/infozip/zlib/zlib-1.1.4.tar.gz (select a mirror close to you) 6.3. Building and installing PHP4
Edit the Makefile and add -lstdc++ to the variable EXTRA_LIBS. This is currently only needed, when using Sablotron version 0.9.7
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-dist 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.27 default httpd.conf does lack of this entries. You have to add them instead of uncommenting
Restart Apache by issuing the following command:
Linux HOWTO full list |
|||||||||||||||||||||||||||||||||||||||||
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |