Running install for first time returns fatal error
HI, Running QLO on an Amazon AWS linux instance and turn on debugging as I was getting a 500 error on first install.
The debug returned: Fatal error: Class 'SimpleXMLElement' not found in /var/www/html/hotel/install/classes/simplexml.php on line 27.
Line 27 in mentioned file reads:
class InstallSimplexmlElement extends SimpleXMLElement
I'm going to presume that it may be trying to install something on the server but may not have permissions, however, this is a guess!
Any help gratefully appreciated!
In Amazon AWS the php-libxml package does not come as default.
You will need to add xml library on your server
If running PHP 7.0 use
apt-get install php7.0-xml
Restart your apache server
service apache2 restart
All working now.