Jump to content

Spoof PHP Version


Doyley

Recommended Posts

why does your auditor want you to switch to php5?

 

Surely the latest release of 4 will do - simply inform those who have sites on the server that you will be switching to php in 2 months so they have plenty of time to make the switch...

Link to comment
https://forums.phpfreaks.com/topic/40176-spoof-php-version/#findComment-194507
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.

Link to comment
https://forums.phpfreaks.com/topic/40176-spoof-php-version/#findComment-194735
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
https://forums.phpfreaks.com/topic/40176-spoof-php-version/#findComment-194852
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.