Sure thing. It sounds like we’re getting closer. I noticed again that I have both PHP 7.0 and 7.2 installed. Could this set up a conflict issue? If so, what is the safe way to remove one and not the other? Or, can I remove both and then reinstall 7.2, without affecting the database?
First try: sudo a2dismod php7.0 and to be sure: sudo a2enmod php7.2
then to purge 7.0
- sudo apt-get purge php7.0 php7.0-common
- restart server
Also, check if you have say 5.6 e.t.c
Success!! I did as above. It asked with the purge if I wanted to remove openemr, and I certainly said no. I then made sure that nothing related to 7.0 (and also 5*) was installed with an apt-cache policy check. I restarted the server, and I am back in!!
I did get this suggestion when I did an autoremove:
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
openemr : Depends: php-xsl
Depends: php-curl
Depends: php-gettext but it is not installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
Should I go ahead and run apt --fix-broken install?
Also, the /etc/php folder still has 7.0. Okay to leave be?
–Venu
Great Venu,
I’d not remove anything by command line and leave it to package manager to do any purging.
First i’d run sudo apt update
Follow suggestions then fix the depends if necessary because, those openemr dependencies are needed at some point.
No problem and i’m glad it worked out. 'Til next time…
Hi @vrjula,
Just a reminder to not forget to cleanup your security where we added back admin.php and sql_upgrade.php.