I am running Virtualmin Pro on CentOs 4.6. This is used for virtual hosting. I have a virtual domain whose php script requires PHP5. I have installed php5 based on the docs I have found here. However, the script requires execution mode as Apache mod_php (run as Apache’s user). When I changed to this mode, it only recognises PHP4 which is installed by default when I installed virtualmin.
Please advise how to have php5 recognise by Apache by default.
Thanks in advance.