Installing on Redhat alongside MySQL and PHP RPMs

OK I now have a new problem. I need to install Matrix on a Redhat Linux 7.1 server which has a PHP rpm installed. the server is configured to serve PHP, Perl with MySQL. Being a production server I need to make sure this install does not affect its operation.


If I was to build postgresql from source v8.0.1 and then build php from source by uninstalling the RPM,

a. will it create issues with Apache ?

b. do I need to uninstall and reinstall Apache and MySQL ?

c. do I need to take the server down at any point in time ?

d. Is it possible to take down the php rpm and reinstall with the source with --pgsql and GD and zlib ?

Answers:


a. Possibly. You need to be very careful not to affect the current Apache installation.

b. Not necessarily. You could create a new installation of Apache, but then you can't have both listening on port 80.

c. Not necessarily, depending on how compentent you are at installing PHP and PostgreSQL. Apache will need to be restarted though.

d. You could uninstall the PHP rpms and reinstall from source. You'll need to ensure that you have the apache-devel package installed to have access to axps. This is needed during the PHP build process to create the Apache module.