Knowledge Base
MilesWeb / DirectAdmin, How-Tos

How to Compile a Single PHP Version from DirectAdmin?

Approx. read time : 2 min

There are multiple PHP versions that are available on a hosting platform. Usually, users have to compile all these versions at once, which consumes a lot of time. However, it is possible to compile a single PHP version via SSH access of DirectAdmin and save time.

To Compile a Single PHP Version

1. Log in to DirectAdmin via SSH access.

First, you need to know the PHP versions available.

2. Enter the command:

A list of available PHP versions will appear.

3. Pick a PHP version (in this case, PHP version 7.3) and run this code. (Here the version is using)

With it, DirectAdmin will compile only the single PHP version that you mentioned in the code.

Prasad Khartadkar
Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.