• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 474
  • Last Modified:

How do I make Apache default to php 5.2 instead of 5.3

I am running Ubuntu 12.04 with php 5.3 installed.  I have also managed to install php 5.2.  I am struggling to force apache to use 5.2 instead of 5.3.  Can anyone tell me what I need to do?  Thanks!
0
cvonrabe
Asked:
cvonrabe
  • 2
1 Solution
 
ABCStoreCommented:
Find
LoadModule php5_module modules/libphp5.so

Open in new window

in you Apache config and point it to the correct module (whatever it is called on your system for PHP 5.2)
0
 
cvonrabeAuthor Commented:
Thanks I am still a little confused.  How do I find the other module?
0
 
ABCStoreCommented:
This page explains how to install multiple versions of PHP on the same server using FastCGI.

http://www.linuxplayer.org/2011/05/intall-multiple-version-of-php-on-one-server
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now