Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/feed-rss2.php on line 8
Setup – AKLWEB HOST LLC Support Center https://support.aklwebhost.com Tue, 19 Mar 2024 04:42:27 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.4 How to Setup ionCube Loader on CentOS 7 https://support.aklwebhost.com/knowledgebase/how-to-setup-ioncube-loader-on-centos-7/ https://support.aklwebhost.com/knowledgebase/how-to-setup-ioncube-loader-on-centos-7/#respond Tue, 19 Mar 2024 04:42:25 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3836 Most commercial PHP applications require ionCube Loader, a PHP plugin that enables a web server to run PHP files that have been encoded using ionCube Encoder.

We will install ionCube Loader for PHP 7.1 on CentOS 7 in this article. Other platform instructions may differ.

Prerequisites

  • A CentOS 7 x64 instance.
  • An Apache web server properly installed. Say the web root directory is /var/www/html.
  • PHP version 7.1.
  • A sudo user.
  • Firewall rules finely tuned. At least the HTTP 80 port should be open.

Step 1: Download and prepare ionCube Loader packages for CentOS 7

Since CentOS 7 is a 64-bit Linux distribution, you should download the ionCube 64-bit Linux package as follows:

cd
wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
sudo tar -zxvf ioncube_loaders_lin_x86-64.tar.gz -C /usr/lib64/php/modules
sudo chown -R root:root /usr/lib64/php/modules/ioncube
sudo cp /usr/local/ioncube/loader-wizard.php /var/www/html
sudo systemctl restart httpd.service

Now, an ionCube Loader setup script loader-wizard.php has been copied to the web root directory /var/www/html. We will use that script to Configure and test ionCube Loader on the server.

Note: This tutorial assumes your Document Root is /var/www/html. If you have your web server configured differently, you need to place loader-wizard.php in a directory where you can access it via your web browser.

Step 2: Configure ionCube Loader

  1. Point your web browser to http://203.0.113.1/loader-wizard.php to enter the ionCube Loader Wizard interface.
  2. In the ionCube Loader Wizard interface, choose the Dedicated or VPS (server with full root ssh access) option.
  3. Input hosting provider name and URL as follows:
  1. click the Next button.
  2. Create an PHP ini file to specify the location of ionCube Loader for PHP 7.1:echo ‘zend_extension = /usr/lib64/php/modules/ioncube/ioncube_loader_lin_7.1.so’ | sudo tee /etc/php.d/00-ioncube.ini

Note: If your version of PHP is different from PHP 7.1, you should specify the proper ionCube Loader file in above command accordingly. Use the command php -v to confirm the PHP version.

  1. Restart Apache to load the update:sudo systemctl restart httpd.service
  2. Go back to the ionCube Loader Wizard interface, and then use the link click here to test the Loader to test your installation.
  3. If nothing goes wrong, you should see the Loader Installed Successfully message.
  4. For security purposes, you should delete the IonCube loader wizard script in the web root directory once you pass the test:sudo rm /var/www/html/loader-wizard.php

That’s all. Having the ionCube Loader module properly installed, you are eligible to install any app licensed with ionCube on your server now. Enjoy it.

]]>
https://support.aklwebhost.com/knowledgebase/how-to-setup-ioncube-loader-on-centos-7/feed/ 0
Setup a Symfony 3 Application on Linux https://support.aklwebhost.com/knowledgebase/setup-a-symfony-3-application-on-linux/ https://support.aklwebhost.com/knowledgebase/setup-a-symfony-3-application-on-linux/#respond Sun, 17 Mar 2024 10:21:18 +0000 https://support.aklwebhost.com/?post_type=manual_kb&p=3832 One of the most widely used PHP frameworks, Symfony, makes it simple and quick to create your own applications. With a large developer community and a variety of decoupled and reusable components, Symfony has drawn a lot of interest from the open-source community.

I’ll walk you through the process of installing and configuring Symfony 3.0.0 for AKLWEB HOST LEMP VPS application development in this post.

  • Install a Linux server instance that has PHP upgraded to at least PHP 5.4. The application for Vultr LEMP is eligible.
  • Use sudo rights to log in as a non-root user.

Step 1: Download the Symfony installer

The officially recommended method to install Symfony is to use the Symfony installer.

Log in from an SSH terminal, input:

sudo curl -LsS http://symfony.com/installer -o /usr/local/bin/symfony
sudo chmod a+x /usr/local/bin/symfony

Now you can use the symfony command from your shell.

Step 2: Create the Symfony application

Create a new application with Symfony:

symfony new my_project

This command will create a directory called my_project in your home directory to host all of your application files.

If you want to specify the version of Symfony, append the version number to the command mentioned above, like:

symfony new my_project 2.6
symfony new my_project 2.6.5
symfony new my_project 2.7.0-RC1
symfony new my_project lts

Step 3: Run and verify the Symfony application

Execute the following commands to start the Symfony application:

cd my_project/
php bin/console server:run

If the operation was successful, you will see the prompt [OK] Server running on http://127.0.0.1:8000 appear on your screen. You can verify the result by accessing the URL http://127.0.0.1:8000/ from a web browser.

Keep the command running in the current SSH terminal. Open another SSH terminal and download a text browser called Lynx:

sudo yum install -y lynx

Visit http://127.0.0.1:8000/ from Lynx:

lynx http://127.0.0.1:8000/

You will see the welcome page of Symfony: “Welcome to Symfony 3.0.0”. Then press Shift + Q to quit Lynx.

If by any chance you see a blank page or an error page instead of the welcome page, you can try to fix the problem by reconfiguring the permissions on the ~/my_project/var/cache and ~/my_project/var/logs directories. Visit the Symfony website for more details.

Step 4: Check Symfony application configuration

You can also use a server configuration tester to check if your environment is ready for using Symfony. Access the following URL while your Symfony application is running:

lynx http://localhost:8000/config.php

In the Vultr LNMP environment, the server configuration tester will recommend us to install and enable the intl extension (used for validators) for a better Symfony experience. Here is the solution:

  1. Press the down arrow once, then press Shift + Q to quit the Lynx browser.
  2. Check the version of PHP on the server: php -v
  3. Query and install the intl extension of the same version (my server was running PHP 5.5): yum list php*intl sudo yum install php55u-intl.x86_64
  4. Reboot the system: sudo reboot
  5. Log in and check the Symfony application configuration again, you will find that the problem has been solved (“All checks passed successfully.”).

Congratulations! You have setup a Symfony application.

]]>
https://support.aklwebhost.com/knowledgebase/setup-a-symfony-3-application-on-linux/feed/ 0