Jump to content

Spoof PHP Version


Doyley

Recommended Posts

Hi all,

 

Is it possible to spoof what version of PHP that we use?

We have some secutiry team auditing us and they want us to upgrade to the latest version of PHP when we are currently running 4.x and it woul cause a nightmare in the short amount of time we have.

 

Many thanks.

Link to comment
Share on other sites

er.. no.

 

I work with auditing in my current role, and you'd get a MAJOR grilling if I were to discover one of my teams was fradulently identifying tools.

 

You're client/customer wouldn't be pleased either.

 

PHP4 code will work in PHP5 anyway.

Link to comment
Share on other sites

PHP5 will give warnings with different things like static class functions etc. and it is hassle to switch over so that suggestion isn't so good.

However, you could probably download the source, find the file with the version number in it, edit it and compile it.

error_reporting(E_ALL ^ E_STRICT);

 

problem solved.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.