5. Install PHPDownload the latest PHP distribution and unpack it. Change to the php directory and run the configure script. You need to pass certains options to the script. To enable PHP access Sybase, you need --with-sybase-ct. You will also need to specify the web server interface to use; in our case, this is Apache, so we use --with-apache To build a CGI version of PHP, (which is also very useful as a shell scripting tool), just leave out the --with-apache. Here is a complete configure script with the above two options, as well as a number of other options that are useful.
You will need to change to apache path to wherever you unpacked your apache distribution. If the configure scripts completes successfully, you can then proceed:
PHP should compile without any hitches. After it has installed, you need to install the php.ini file:
Now we need to change a few things in /usr/local/lib/php.ini. Set the following parameters to the ones specified below:
I also like to set the following:
You have now completed the PHP installation. 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 |