admin/check/index.php needs to check PHP vers better

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mushu
Posts: 201
Joined: 04 Jan 2017, 17:41

admin/check/index.php needs to check PHP vers better

Post by mushu »

There should be no wanring for this because my PHP version is higher than required:

With:

Code: Select all

C:\>php -v
PHP 5.6.24 (cli) (built: Jul 20 2016 21:19:24)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

C:\>
I get:

Code: Select all

Checking your MantisBT installation...
PHP
There is a performance issue on windows for PHP versions < 5.4 in openssl_random_pseudo_bytes
For best performance upgrade to PHP > 5.4.0.	WARN
atrol
Site Admin
Posts: 7919
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: admin/check/index.php needs to check PHP vers better

Post by atrol »

Maybe there is more than one PHP version installed on your system.
One for CLI (Command Line) and another one which is used by your web server.

To see the version, create a file test.php with the following content in the root directory of your Mantis installation and run the script in your browser

Code: Select all

<?php
phpinfo();
Please use Search before posting and read the Manual
mushu
Posts: 201
Joined: 04 Jan 2017, 17:41

Re: admin/check/index.php needs to check PHP vers better

Post by mushu »

OMG. How did that happen? I installed php via the WebPI plugin within the IIS 8.5 management console. This means it fubar'd the php install (thanks microsoft!) and now I'm stumped. Do I uninstall php completely and then manually install the one specific version? Or do I attempt to figure out where it put the 5.3 version and manually update just that to 5.6? Bleh. Thanks for the clue that showed me what's happening at any rate.
mushu
Posts: 201
Joined: 04 Jan 2017, 17:41

Re: admin/check/index.php needs to check PHP vers better

Post by mushu »

Just a followup in case anyone cares, here is how to remove one of the installed versions of PHP:

http://serverfault.com/questions/273225 ... ion-of-php
Post Reply