Jump to content

Featured Replies

Posted

Running InvisionCommunity Under Windows. PHP versions 7.4 and 8.0 are both installed on the server, and the environment variable for PHP 8.0 is set first in the Windows Environment Variables. Typing "Php -v" at the command line confirms that PHP 8.0 is found first, but our web site is insisting it's running under 7.4. How do I get it to see PHP 8.0?

 

Thanks for any help,

-Pete

  • Community Expert

Our software would be merely reporting what PHP is reporting to us. Keep in mind that the "php -v" only reports what is set for your command line. Please ensure that the directory your Invision Community install is in is also using the same PHP version. It may be this is set via appropriate server configurations there for multiple PHP setup.

It is also worth mentioning that Windows servers are outside our scope of support. 

  • Community Expert

The command line is different than the interpreter that can be loaded for the virtual host.  Since you have multiple versions of PHP installed, you need to tell your server which one to use for your site.  

  • Author

I understand, but does anyone know how to set the version it's looking for in a Windows/IIS environment? Best I found was to change the environment variables, but that was ineffective.

Open the IIS Manager app, go to Handler Mappings and change the path for the PHP entries you have there.

Edited by Nathan Explosion

Hi,

IIS manager > select your site > PHP Manager > Change PHP version:

Could contain: File, Webpage, Page, Text

Environment variables:

Could contain: Page, Text, File

OPENSSL_CONF is required for Push notifications.

Edited by Luuuk

Recently Browsing 0

  • No registered users viewing this page.