Chapter 16 . PHP Development 453 Note Figure (Web hosting faq)
Chapter 16 . PHP Development 453 Note Figure 16-3: Unpacking the PHP archive 2. Change into the newly created PHP directory. If you have an existing PHP source directory that you ve previously configured from, be sure to either remove the directory or at remove the config.cache file contained therein. It is at this point where decisions must be made regarding your existing Apache installation as well as other options, you may want to enable with PHP. I ll show an example configuration that enables MySQL on an Apache server that uses Dynamic Shared Objects. 3. To configure PHP in the environment described in Step 2, type ./configure –with-mysql –with-apxs You may receive an error message similar to that in Figure 16-4. 4. If you receive the error message shown in Figure 16-4, note what the message points out and respond accordingly. In this installation, I needed to add the path to the apxs module for Apache. First I needed to find it: find / -name apxs For the example, apxs is located in a couple of places; I chose the one in /usr/local/apache/bin/ (your location may be different).
If you are looking for cheap and quality webhost to host and run your website check Jboss Web Hosting services.