Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 174973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:37:03+00:00 2026-05-11T13:37:03+00:00

I have a server that hosts a bunch of sites in PHP5. I have

  • 0

I have a server that hosts a bunch of sites in PHP5. I have an old site that was designed for PHP4 that I also need on the server.

Originally, I was just going to port the code to PHP5, but have discovered that process is more intense that I have time for so I need to have PHP4 and PHP5 running on the same Server 2008 box.

I think this should be fairly easy if I can set which PHP.ini file to load. I remember reading somewhere about how you could set which PHP.ini file PHP would load, but I can’t seem to find that article anywhere.

Does anyone know how to run PHP4 and PHP5 parallel on IIS7, or how to specify which PHP.ini file to load for different version of PHP?

Thanks, Ryan.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:37:04+00:00Added an answer on May 11, 2026 at 1:37 pm

    I haven’t run php4 and php5 in parallel, but for the php.ini question: PHP should look for the PHP.ini file in

    • the php directory
    • the windows directory (%windir%)

    So if you make sure there is no php.ini in your windows directory (I have heard somewhere that it shouldn’t also be in your path, but I don’t have any evidence for that) and only in your php directory, you should be fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a dedicated server that hosts about 70 domains... some are just plain
I have a remote server that hosts my subversion repository on a non-standard ssh
BACKGROUND: I have application server logic that hosts stateful object instances. I plan to
I have one server, server.domain.local that hosts 3+ web applications. I have aliases for
I have just setup VisualSVN on my local machine and on our server that
So I have a bunch of URLs that I need to write, Is it
Scenario: I have a directory on a server that hosts my website that contains
I have a server running virtual hosts that get changed quite often. Rather than
I have set up an Apache server running locally that hosts my web application
We have a Windows Server 2003 machine running IIS6.0 that hosts two different websites.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.