It didn’t work for me.
After installing and configuring Ubuntu Server v18.04.1 on a new server
OpenEMR v5.0.1 was successfully installed and configured using the file; openemr-php7_5.0.1-4_all.deb
At this point, I could log into OpenEMR and see that it appeared to be working although there was obviously none of our patient data yet.
***Up to this point all seemed well, the problems appeared when running the sql upgrade as in the following line:
Open openemr/sql_upgrade.php (http://localhost/openemr/sql_upgrade.php) in web browser, choose 5.0.1 and click ‘Upgrade Database’
***The resulting white page sat for six hours until I investigated the Apache2 error log and discovered this;
***[Sat Mar 28 21:34:35.066832 2020] [php7:error] [pid 25945] [client 192.168.1.123:57203] script ‘/var/www/openemr/sql_update.php’ not found or unable to stat
***[Sat Mar 28 21:34:35.368114 2020] [php7:warn] [pid 1345] [client 192.168.1.123:57224] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
***[Sat Mar 28 21:34:35.368213 2020] [php7:error] [pid 1345] [client 192.168.1.123:57224] PHP Fatal error: Unknown: Failed opening required ‘/var/www/openemr/sql_upgrade.php’ (include_path=’.:/usr/share/php’) in Unknown on line 0
***Assuming that I had made a mistake somewhere, I dropped the openemr database and at 03:16 rebooted the server and started the process again, the result is shown below.
[Sun Mar 29 03:24:14.248819 2020] [php7:warn] [pid 1309] [client 192.168.1.123:57295] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Sun Mar 29 03:24:14.249037 2020] [php7:error] [pid 1309] [client 192.168.1.123:57295] PHP Fatal error: Unknown: Failed opening required ‘/var/www/openemr/sql_upgrade.php’ (include_path=’.:/usr/share/php’) in Unknown on line 0
Been working this problem for a year now, yet to find the solution.