Install Ultimate SMS on Ubuntu Instance – 16.04/17.10/18.04 with APACHE2 AND PHP7.2
Install Ultimate SMS on Ubuntu Instance with APACHE2 AND PHP7.2
Ultimate SMS is a powerful, flexible and User friendly Bulk SMS Marketing Application. It’s also an all-in-one solution for your SMS marketing. It’s easy to use & install.
Please follow the following steps to install Ultimate SMS on Ubuntu Instance.
STEP 1: INSTALL APACHE2
Login with your ssh access then run the following commands.
sudo apt update sudo apt install apache2
Stop and start apache service:
sudo systemctl stop apache2.service sudo systemctl start apache2.service
STEP 2: INSTALL PHP7.2 AND DEPENDENCIES
sudo apt install php7.2 libapache2-mod-php7.2 php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-cli php7.2-zip
STEP 3: EDIT PHP SETTINGS AS PER ULTIMATE SMS RECOMMENDATIONS
sudo nano /etc/php/7.2/apache2/php.ini
Make following edits to php.in file:
memory_limit = 256M upload_max_filesize = 64M cgi.fix_pathinfo=0 max_input_vars=3000
STEP 4: COMPOSER INSTALL
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
Now upload Ultimate SMS Fresh_Installation_File folder files on /var/www/html folder.
Move to project root directory and Update Ownership of directory:
cd /var/www/html sudo chown -R www-data:www-data /var/www/html/
STEP 5: CONFIGURE VIRTUALHOST
Create virtualhost config file named as usms.conf:
sudo nano /etc/apache2/sites-available/usms.conf
Add below lines to the file:
I am creating virtualhost for codeglen.com
<VirtualHost *:80> #insert your email address instead akasham67@gmail.com ServerAdmin akasham67@gmail.com #its your project root directory DocumentRoot /var/www/html/ #your domain name or installation path url ServerName codeglen.com Options +FollowSymlinks AllowOverride All Require all granted ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost>
Enable rewrite module for .htaccess rewrites and redirects:
sudo a2enmod rewrite
STEP 6: ENABLE SITE AND RESTART APACHE2
Enable ultimate sms site on apache and then restart apache service:
sudo a2ensite usms.conf sudo systemctl restart apache2.service
STEP 7: INSTALL MySQL
Install MySQL on server please check this url: Install MySQL on Ubuntu Instance
STEP 8: INSTALL ULTIMATE SMS
Now browse or insert your ultimate sms installation domain URL on browser and follow the following video tutorial: https://youtu.be/XKBzca7ojHA?t=303
If you will face any issues with install Ultimate SMS on ubuntu instance then please let me know through my email akasham67@gmail.com or create an account with https://support.codeglen.com or with contact us through support form https://ultimatesms.codeglen.com/support/