Skip to content

Tag: nginx

Magento: Class ‘DOMDocument’ not found

I’m installing Magento on Amazons AWS Lightsail system. I’ve installed NGINX, MySQL & PHP But I keep getting this error: Installed modules: PHP Info Available: http://13.239.86.161/info.php Answer You need to install the php-dom and php-xml packages, however it looks like from you PHP info. th…

Upgrade PHP on AWS Linux

I have an AWS server running a website with NGINX and PHP. I originally installed these using the following: sudo yum install -y nginx php-fpm The version of PHP that is installed is 5.3.29 which but I need at least 5.4 to run a payments plug-in. All the info online indicates a PHP upgrade actually involves a…

NGINX server configuration for Codeigniter

/etc/nginx/conf.d/default.conf my codeigniter folder is ‘ci’ which is located in /var/www/html/ci what configuration do I need to work url rewriting?… Answer I didn’t want to change the current document root (/var/www/html) since my ‘ci’ folder is located at /var/www/html/c…