How to Make Links Trigger Direct File Downloads
Learn how to make files download directly when you click their links, rather than opening…
In this article, we will show you How to Compile a Single PHP Version from DirectAdmin.
We all know that there are multiple PHP versions available on a hosting platform. Users had to put all of these versions together, which took a long time. However, using DirectAdmin’s SSH access, it is easy to create a single PHP version, saving time.
In order to compile a single PHP version, follow these steps.
1. You need to log in to DirectAdmin Via SSH.
Note - Have a basic view of the PHP versions that are available?
2. Now you need to Enter the Command.
grep -P ‘php[\d]_’ /usr/local/directadmin/custombuild/options.conf
On the screen, you can see a list of PHP versions that are available.
3. You should choose a PHP version (if PHP 7.3) and attempt to run the code. (This is the version to use.)
1 cd /usr/local/directadmin/custombuild
2 ./build set php1_release 7.3
3 ./build update
4 ./build php_expert 7.3 php-fpm
5 ./build rewrite_confs
DirectAdmin will only compile the single PHP version you specified in the code with it.
We hope that you now have a good understanding of How to make a single PHP version out of DirectAdmin.If you continue to have problems with the protocol outlined above, please contact the bodHOST Team for constructive assistance 24×7. Also, check out the latest cPanel Web Hosting Plans.
Explore more hosting insights, tips and industry updates.
Learn how to make files download directly when you click their links, rather than opening…
AWStats is a free, open-source web analytics tool that generates detailed reports about your website’s…
The IP Address for a domain controller is statically assigned to a server. It might…