And then you would copy
php.ini-dist
from the distribution to
/etc/php.ini
and edit it to make any local changes you want.
And add:
... to the global properties, or to the properties of the
VirtualDomain you want to have PHP support added to.
-
-
-
The %build section will look something like this:
-
-
Make sure you restart Apache, and you now have PHP 3 with
MySQL support using RPM's. Note that it is probably much
easier to just build from the distribution tarball of PHP 3
and follow the instructions in
INSTALL.REDHAT
found in that distribution.