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

Posted on 2012-08-30
Last Modified: 2012-09-14
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!
Question by:cvonrabe
    LVL 2

    Expert Comment

    LoadModule php5_module modules/

    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)

    Author Comment

    Thanks I am still a little confused.  How do I find the other module?
    LVL 2

    Accepted Solution

    This page explains how to install multiple versions of PHP on the same server using FastCGI.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
    The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    The viewer will learn how to count occurrences of each item in an array.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now