I have an Apache 2.2.3 installation with default php (installed as a module) 5.1.6, on a CentOS distribution. Php and Apache were installed using yum install command. My document root is located under var/www/html folder. I have now to install a new website that requires Php 5.3 +; but i can't simply upgrade current php installation, else all current websites will break.
I downloaded and compiled php 5.4.4 and installed. It works too using it's built in web server.
I would like now to create a folder var/www/html/myfolder in which Php 5.4.4 should be used. All other websites should continue to use php 5.1.6; but really i do not know how to make this.