# How to Change PHP Version in DirectAdmin

1.Sign in at **[https://admin.dotroll.com/](https://admin.dotroll.com/?swcfpc=1)** with your username and password!

2.In the top menubar, click the **Services / My Services** menu!

3.From your services, click the DirectAdmin web hosting!

4.Scroll down, in the One Click Menu on the left, and click on the DirectAdmin option, which will take you to the DirectAdmin interface!

5.Click the **“Select PHP version”** option in the **Extra Features** block!

6\. **Default setting is native 7.3 version,** if you change it to another version, you can turn different PHP modules on and off, as you can see in the picture.

<div class="wpb_single_image wpb_content_element vc_align_center  vc_custom_1667557205042" id="bkmrk-"><figure class="wpb_wrapper vc_figure"><div class="vc_single_image-wrapper   vc_box_border_grey">![php-verzio-allitas-directadmin-1](https://dotroll.com/wp-content/uploads/2022/11/php-verzio-allitas-directadmin-1-800x400.webp "php-verzio-allitas-directadmin-1")</div></figure></div>7\. Above, if you click on the **Options** button, **you can edit different PHP settings**. If you want to change the modules, you can set the version to another (default is 7.3 native).

Most frequently used parameters:

<div class="wpb_text_column wpb_content_element " id="bkmrk-upload_max_filesize%C2%A0"><div class="wpb_wrapper">- **upload\_max\_filesize** – maximum file size that can be uploaded to a website
- **memory\_limit** – how much memory to use for a given PHP query
- **max\_execution\_time** – how long a PHP script should run.

</div></div><div class="wpb_single_image wpb_content_element vc_align_center  vc_custom_1667557212130" id="bkmrk--1"><figure class="wpb_wrapper vc_figure"><div class="vc_single_image-wrapper   vc_box_border_grey">![php-verzio-allitas-directadmin-2](https://dotroll.com/wp-content/uploads/2022/11/php-verzio-allitas-directadmin-2-800x400.webp "php-verzio-allitas-directadmin-2")</div></figure></div><div class="vc_empty_space" id="bkmrk--2">  
</div><p class="callout danger">The PHP version you set for the main domain will be valid for the hosting, but you can specify different PHP settings, the steps for which can be found in **[this article](https://dotroll.com/en/knowledge-base/books/directadmin/page/how-to-use-lsphp-on-my-directadmin-webspace)**.</p>