[SOLVED] Migration of the Development and Production Platform at PHP 8.1 |
8/18/2022 7:14:04 PM |
PHPRunner Tips and Tricks | |
![]() I think we must keep our production platforms as updated as possible. I have decided to migrate everything to PHP 8.1 and in this article I explain how it has gone. The reasons why we must keep the platforms as update as possible are:
Change Tracking 07/24/2022
08/11/2022
08/16/2022 . I have already finished the conversion of the ResFull Api Server application that with PHP 8.1, it is required to use Slim 4.0 At the moment, I am very happy to have done the update and I recommend it to all those who have your platforms with versions prior to PHP 7.4. Phprunner 10.7 works very well in PHP 8.1 and from my point of view, you have to take advantage of the work done by XLINESOFT for the PHP 8.1 support |
|
S
|
silvio 8/20/2022 |
thank you very much! |
J
|
jackwood 8/20/2022 |
Hi fhumanes , Do you Install PHP with VS16 x64 Non Thread Safe Or VS16 x64 Thread Safe in windows OS? |
![]() |
fhumanes author 8/20/2022 |
Hello, I always install the PHP with Thread Safe Cheers, |
J
|
jackwood 8/20/2022 |
I've tried both version PHP8.1 with Thread Safe and NTS, and PHP 7.4 PHP8.1 TS and NTS failed to load with Error like this. Fatal error: Uncaught Error: Call to undefined function mysql_connect() in D:\xampp\htdocs\sgl\connections\MySQLConnection.php:71 Stack trace: #0 D:\xampp\htdocs\sgl\connections\Connection.php(57): MySQLConnection->connect() #1 D:\xampp\htdocs\sgl\connections\MySQLConnection.php(20): Connection->construct() #2 D:\xampp\htdocs\sgl\connections\ConnectionManager.php(26): MySQLConnection->construct() #3 D:\xampp\htdocs\sgl\connections\ConnectionManager_base.php(95): ConnectionManager->getConnection() #4 D:\xampp\htdocs\sgl\connections\ConnectionManager_base.php(115): ConnectionManager_Base->byId() #5 D:\xampp\htdocs\sgl\include\appsettings.php(1332): ConnectionManager_Base->getDefault() #6 D:\xampp\htdocs\sgl\include\dbcommon.php(90): include('...') #7 D:\xampp\htdocs\sgl\menu.php(6): require_once('...') #8 {main} thrown in D:\xampp\htdocs\sgl\connections\MySQLConnection.php on line 71 I don't know what issue if I Install PHP8.1 manual from official Site, |
J
|
jackwood 8/21/2022 |
Hi, I'm still not confident if I user php 8.1 in production, Fatal error: Array and string offset access syntax with curly braces is no longer supported in E:\xampp\htdocs\system\plugins\PHPExcel\Shared\ZipStreamWrapper.php on line 78 PHPExcel Plugin maybe has not support PHP8.1 |
![]() |
fhumanes author 8/22/2022 |
Hi Jackwood, I have done an Export and Import test project in Phprunner 10.7 and I have executed it with PHP 8.1, and everything has worked well for me. Please facilitate in what circumstances there is the error that indicates that it occurs in your project. Cheers, |
C
|
ckranichDevClub member 10/3/2022 |
Hi jackwood, Hi fhumanes, I now try to migrate to PHP 8 (XAMP 8.1.6) too (using still PHPrunner 10.7 as 10.8 does not start here and throws error about not beeing able to start embedded server(NodeJS?))
This is very strange as I suppose that all tables are using the same connection and the bespoke table exists (as seen in phpMyAdmin) Any ideas? Kind Regards, M. |
C
|
ckranichDevClub member 10/4/2022 |
It might be that PHPrunner 10.8 uses any COM/DCOM features 10.7 did not use? Plan B (Against reinstall Windows): Moving PHPrunner development to VM:
Why all that hassle? Greetings, M. |
C
|
ckranichDevClub member 10/4/2022 |
SOLVED - Finally was able to get 10.8 running... Was installation issue.
Will report how the upgrade to PHP8 (which still caused issues with 10.7) worked under 10.8 Greetings |
C
|
ckranichDevClub member 10/4/2022 |
Hi All, Some Updates: => you can verify that you cannot access the table in phpMyAdmin too! 1932 - Table 'xxxx.yyy' doesn't exist in engine and 'table busy in the table view of the database'=> This caused that some views in PHPrunner worked, some other did not work (see previous postings from me) Fix: |
![]() |
fhumanes author 10/4/2022 |
Hello, My explanation was exclusively the change of the PHP version to 8.1.x. If we change Apache and/or MySQL, it is another problem, much more complex. Cheers, |
![]() |
ffrinai 11/29/2022 |
I try a simple table with a field1,field2,field3 for attach (File/Image) in spreadsheet mode: the content of line of FileField.php 57 is searching online i found this solution for line 57 i think this solution should be implemented inside the phprunner, what do you think? //---- other unsatisfactory solutions i'm going out of order ! |
![]() |
fhumanes author 12/3/2022 |
Hi @ffrinai. I indicate the proof I have not done it. Faced with these problems and since you are working on the latest Phprunner build, I suggest you report these problems to XLINESOFT. There are many possibilities in the product and it is, in my opinion, relatively easy, that something that is not compatible with PHP 8.1.X. Cheers, |
![]() |
ffrinai 12/20/2022 |
Xlinesoft fix the problem. |
![]() |
fhumanes author 12/20/2022 |
Thank you very much for your message |