Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Migrating WEBERP from windows 2012 to Centos 7.9 can't login
11-10-2022, 08:32 PM,
#1
Migrating WEBERP from windows 2012 to Centos 7.9 can't login
OLD system:
Windows 2012
MySql 5.7.17
IIS8.5
PHP7.3

New System:
Centos 7.9
MySql5.7
Nginx 1.22
PHP 8.1

It is estimated that there is a problem with the early system installation or other reasons, and it has been unable to upgrade to php7.4 or above, and because of php and some other settings, the running speed of weberp is very slow. So yesterday I migrated weberp from windows2012 to centos7.9

The database inside was backed up, the database name, user name and password were modified, and now the following error occurred:
Fatal error: Uncaught Error: Call to undefined function putenv() in /www/wwwroot/erp/config.php:27 Stack trace: #0 /www/wwwroot/erp/includes/session.php(14): include() #1 /www/wwwroot/erp/index.php(4): include('...') #2 {main} thrown in /www/wwwroot/erp/config.php on line 27

I don't know how to solve it, I tried to find a solution in the forum, but not yet, can anyone provide some help?

Very urgent, anyone who can help to resolve it would be greatly appreciated!
Reply


Messages In This Thread
Migrating WEBERP from windows 2012 to Centos 7.9 can't login - by ALEXSHEN - 11-10-2022, 08:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)