Upgrading PHP

Given that Linux/Unix users can add so much functionality to PHP, just through various build options, it is likely that you will upgrade or modify PHP more often than Apache or MySQL. Regardless of whether you are upgrading to a new minor version or simply adding new functionality (or removing some you no longer need), the process for modifying or upgrading is exactly the same as installing it in the first place: configure, make, make install. The make install step will place the PHP module in the appropriate place in the Apache directory tree. Once your new module is in place, restart Apache—the new version of PHP should be in use.

Windows users have a different set of tasks to perform; adding new functionality to an existing module ...

Get Sams Teach Yourself PHP, MySQL® and Apache All in One now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.