This configure script utilizes the Apache SAPI extension
This configure script utilizes the Apache SAPI extension for Dynamic Shared Object (DSO) and the system MySQL installation. The script also enables FTP support and transparent ses- sion ID support for PHP. TIPIf you Linux distribution uses RPM packages and you are having problems getting a featurecompiled, you may go to rpm.pbone.net and download the development package for thefeature you are trying to install. Example: if you are enabling the foo package with PHP (–with-foo) and you get a complaint from PHP during compile, simply go do the RPM web- site and download RPMs for your platform for foo and foo-devel. Install these RPMs and tryto compile again. This is a basic set of options that do not require anything but Apache and MySQL installed on your system, so at this point your system should be configured to run this installation with- out any problems. NOTEDepending on which MySQL installation type you performed, you might need to modify the–with-mysql directive to the correct path of libmysqlclient located on your machine. In Chapter 9, MySQL: Installation and Administration, you performed a manual installa- tion; the path is /usr/local/mysql. With a pre-built package such as RPM, it might be /usr/mysql. If you want to enable additional extensions or features, you can do so by adding the directives for them in this script. Make sure that the last line of the script does not have a trailing back- slash but that all lines before the last do contain the trailing backslash. 1.Change the permissions on this script to enable you to execute and run it: chmod 755 php_install2.Run the installation script and watch for errors: ./php_install3.At this point, you should see the message Thank you for using PHP in the last portion of output in your console. If this is the case, you are ready to move on to the make process: cd php-5.0.0make4.Now you wait a little while and enjoy the show during the make process. If you do not see any error messages on the last few lines of output, you are clear to proceed with the make install: make install5.Your next small task is to copy the php.ini example file to the correct location: cp php.ini-dist /usr/local/lib/php.ini4337Book.
Note: If you are looking for good and affordable webspace to host and run your servlet application check Virtualwebstudio servlet hosting services