Setting two virtual hosts, one for php4 and other for php5 that might be useful but what i really need is to run any version of php on the first httpd . the second httpd should be php5 . the two php and httpd have separate configuration . the exactly what i need is to load php extension on the second httpd that i don't want it to be available for the first httpd . i think if it is possible to install php4 and php5 on the same server it will be easy to install two copies of php5 or use two php.ini files . i am using fedora core 5 with apache 2 and php5