Additional PHP 5.2 installation for subdomain

nostech

Verified User
Joined
Jun 5, 2009
Messages
37
Hello,

I recently switched from my old dedicated server to a new VPS server. Installed DA and via CB Apache + MySQL + PHP 5.3.29

One site that runs on the server requires the Zend Guard (which I have installed), but the files were compiled for PHP v5.2 and give an error now.

There is no newer version available of the software (so compilation for php 5.2 was the final). So I guess there is only 1 option, that is to install php v5.2 next to the currect PHP5.3.
The site (actually piece of software via browser) that requires Zend is running on it's own subdomain.
So I'm wondering is it possible, or maybe even an easy way, to have just that subdomain running php 5.2, and all the rest the default 5.3 (including other subdomains of that domain)? Maybe I can only load the 5.2 php module (and have it installed via yum) via the apache config, but I'm not sure what can be done and what isn't allowed, in order to not break custombuild and DA.

Thanks.
 
Thanks for the hint. I followed the guidelines but I ended up with my original php 5.3 being overwritten and some missing config files (although my setup was the same).
But never mind I got another work around.
 
That mean that you did not change --prefix and --with-config-file values in configure.php to point to another location
 
Back
Top