Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dan Field's Blog:
Deploying PHP Applications on Red Hat Linux
Jun 14, 2010 @ 08:44:53

Dan Field has a new post to his blog today about deploying PHP applications "The Red Hat Way" - as a single RPM package that can be dropped into any RedHat system and installed easily.

Red Hat is one of the largest Linux distributions in the enterprise market and there are a multitude of other RPM based distributions such as CentOS, Fedora, Mandriva, SuSE. Many people are deploying their web projects into RPM based environments and it makes a lot of sense to try to do things the "Red Hat Way". This post deals with introducing the Red Hat filesystem layout and automatically deploying a web application into it with the RPM package management tool and a YUM repository.

He shows how to build the configuration files, making a build properties file, creating the Apache configuration, setting up a config for the VirtualHost to be added to the Apache install and finally, building the tarball package and making it into an RPM.

tagged: deploy application redhat rpm yum package