OpenEMR Installation fails

Hi, I’m helping a client of mine in getting OpenEMR installed onto his PC server, however every time when attempting to install OpenEMR it fails on Step 3 error message “Maximum execution time of 30 seconds exceeded in C:\amapp\htdocs\openemr\library\classes\Installer.class.php on line 599”.

I have looked into this and found people saying the time out needs to be increased but everything I try it just does help matters.

Would be most grateful if someone could throw some light into this issue and help me resolve it.

Many thanks,
APITSupport

@APITSupport,

Not sure if you’ve done yet, but please double check your settings in the php.ini as shown in the following link:
https://www.open-emr.org/wiki/index.php/FAQ#What_are_the_correct_PHP_settings_.28can_be_found_in_the_php.ini_file.29.3F

Greetings! I have been trying to install openemr on ubuntu 16 following the instruction in the link below
but failed,
https://www.open-emr.org/wiki/index.php/OpenEMR_5.0.1_Ubuntu-Debian_Package_Installation_with_PHP7

when I use sudo apt-get install -f i get the error blow

Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies:
openemr : Depends: makepasswd but it is not installed
Depends: libtiff-tools but it is not installed
Depends: imagemagick
Depends: php-gettext but it is not installed
Depends: php-ldap but it is not installable
E: Unmet dependencies. Try using -f.

The worse part of it is I cant remove it using purge or autoremove or clean etc, I am stuck I have tried solution oline to remove but failed

hi @Stephen_Oduor, did you try sudo apt-get install makepasswd to manually install missing package?

Thanks @stephenwaite Have tried but still give me the same error

hi @Stephen_Oduor ,

This line in error is very odd:
Depends: php-ldap but it is not installable

What php version are you using?

-brady

Hi @brady.miller Php version 7

What happens when do:
sudo apt-get update
sudo apt-get upgrade

If still not working, then what if:
sudo apt-get install php-ldap

Note php-ldap should install in ubuntu 16.04 per here:
https://www.howtoinstall.co/en/ubuntu/xenial/php-ldap

I get this > Reading package lists… Done

Building dependency tree
Reading state information… Done
Package php-ldap is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘php-ldap’ has no installation candidate

I get the same error

What’s your exact version of Ubuntu (16.04 vs. 16.10 vs. other)?