squirrelmail, phpmyadmin can install one copy and sharing across all the virtual host.
And it can easily be accomplished when php is configured as mod_php
But I have no ideas how to configure these apps to work with php fastcgi across all virtual host.
I searched thru all forum post but no clue.
I want to when create a new virtual server
http://webmail.virtualserver1.com -> squirrelmail
http://phpmyadmin.virtualserver1.com -> phpmyadmin
http://webmail.virtualserver2.com -> squirrelmail
http://phpmyadmin.virtualserver2.com -> phpmyadmin
http://webmail.virtualserver3.com -> squirrelmail
http://phpmyadmin.virtualserver3.com -> phpmyadmin
I tried using Alias in each virtualhost directive but not work.
For example Alias /phpmyadmin /usr/share/phpmyadmin