This topic is locked

Migration to PHP 7

3/4/2019 8:13:06 AM
PHPRunner General questions
P
Philip author

Actually I'm running several PHPR 10 applications on a Windows Server; there I use PHP 5.6.40 and run it as FastCGI application.

I would like to migrate to PHP version 7.

When I just switch to for example PHP 7.1.26 all HTML pages work fine, but all PHPR applications show this error (or similar):
Fatal error: Failed to create COM object `ADODB.Connection': Access is denied. in E:\www\...\connections\Connection.php on line 661
Has someone an idea what is going wrong and can assist?
Thanks

Philip

admin 3/4/2019

As a first step make sure that php_com_dotnet.dll extension is enabled in PHP settings.

P
Philip author 3/4/2019



As a first step make sure that php_com_dotnet.dll extension is enabled in PHP settings.


Thanks Sergey - I will check this with my provider.

P
Philip author 3/14/2019

Unfortunately we can't get it working.
QUESTION:

Is anyone working on a windows server + PHPR 10.1 + php version 7.x?
Any advice is appreciated!

admin 3/14/2019

This has nothing to do with PHPRunner. Once you have a simple PHP page connecting to the same database under PHP 7 PHPRunner app will work as well.

A
acpan 3/28/2019

Hi, you might want to check if there is any <? tags in your custom php codes, if there is replace it with <?php
First thing failed for me when i tried 10.1 on php7 was that.
ACP