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 352283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:43:21+00:00 2026-05-12T11:43:21+00:00

Is there any drawback to this setup? I want to be able to run

  • 0

Is there any drawback to this setup?

I want to be able to run PHP5 filters and functions. Will renaming a file to something.php5 allow me to do this?

My hosting provider suggested this instead of upgrading to PHP5.
The default is still php4 with registered_globals ON.

  • 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. Editorial Team
    Editorial Team
    2026-05-12T11:43:21+00:00Added an answer on May 12, 2026 at 11:43 am

    Changing the file extensions won’t change the version of PHP that’s installed on the server. If your host only has PHP4 then you can only use PHP4 unless they’re willing to give you PHP5. The only way this will work is if your host already has PHP5 running and has it setup to only work with files that have the .php5 extension (this is an entirely possible scenario).

    I’d say the first thing to do is to create a simple phpinfo file, like below, and name it with the .php5 extension and see what it says.

    <?php
      phpinfo();
    ?>
    

    phpinfo() will give you the PHP version in big bold text at the top of the file. So if a file with .php says it’s PHP 4.x and a .php5 file says its PHP 5.x, then your host has both installed on the server and is telling Apache to use PHP5 with .php5 files and PHP4 with .php files.

    And on a side note if your host has register_globals turned on and they won’t turn them off, I’d recommend putting the following in a .htaccess file at your document root.

    php_flag register_globals off
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any drawback to putting code (which will interact with the DOM, adding
Is there any drawback (except allowing the value or array to grow too large)
Is there any cost/drawback (apart from typing too much) to adorning a class with
Is there any way I can run class files (i.e. with main as the
Is there any limit theoretically on the size of file that can be uploaded
I am wondering if there is any drawback for using forward declarations in all
Is there any way to change the BackColor of the border of a panel
Is there any native compression (for javascript/css files) available in ASP.NET?
Are there any open-source compression/decomp libraries available for Ruby? Has anyone implemented LZW? Or,
Is there any way to view the reduction steps in haskell, i.e trace the

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.