> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dangoweb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PHP Websites

<img src="https://mintcdn.com/dangowebsolutions/1OoprS6K7ywKu0_w/banners/php-websites.png?fit=max&auto=format&n=1OoprS6K7ywKu0_w&q=85&s=ac2dc0e11b469b6b30f2447a9b010809" alt="PHP Websites" width="2800" height="650" data-path="banners/php-websites.png" />

PHP websites are dynamic websites that use PHP as the server-side scripting language. PHP allows you to create interactive and data-driven websites, making it a popular choice for web development. In this guide, we will show you how to upload your PHP website on <Icon icon="https://mintcdn.com/dangowebsolutions/h7v7ncdoSDUTq6Mf/icons/directadmin/directadmin.svg?fit=max&auto=format&n=h7v7ncdoSDUTq6Mf&q=85&s=c0de1870528a3e8f5ac7adc3d416a84a" width="100" height="100" data-path="icons/directadmin/directadmin.svg" /> **DirectAdmin**.

## Upload Files

<Note>[FTP & SFTP](/help/web-hosting/directadmin/ftp) can be used instead of the online file manager.</Note>

Open your [<Icon icon="https://mintcdn.com/dangowebsolutions/h7v7ncdoSDUTq6Mf/icons/directadmin/directadmin.svg?fit=max&auto=format&n=h7v7ncdoSDUTq6Mf&q=85&s=c0de1870528a3e8f5ac7adc3d416a84a" width="100" height="100" data-path="icons/directadmin/directadmin.svg" /> DirectAdmin](/help/web-hosting/directadmin/logging-in) control panel's <Icon icon="https://mintcdn.com/dangowebsolutions/h7v7ncdoSDUTq6Mf/icons/directadmin/files.svg?fit=max&auto=format&n=h7v7ncdoSDUTq6Mf&q=85&s=ba101ac11f7f9301e4ea725babf30e92" width="50" height="50" data-path="icons/directadmin/files.svg" /> **File Explorer** and navigate to the `public_html` folder on the left. Your website files should appear in front of you.

Delete all files in the `public_html` folder and upload your website files to the `public_html` folder.

Once you have done that, close the <Icon icon="https://mintcdn.com/dangowebsolutions/h7v7ncdoSDUTq6Mf/icons/directadmin/files.svg?fit=max&auto=format&n=h7v7ncdoSDUTq6Mf&q=85&s=ba101ac11f7f9301e4ea725babf30e92" width="50" height="50" data-path="icons/directadmin/files.svg" /> **File Manager** tab and reload your domain. The website template should be visible on your domain. If it does not appear when you reload the page, try accessing the domain on another browser or device, or clearing your browser's cache.

## Enable Required Extensions

Use the <Icon icon="https://mintcdn.com/dangowebsolutions/j-uP3DKiLJ2Amixo/icons/directadmin/php-selector.svg?fit=max&auto=format&n=j-uP3DKiLJ2Amixo&q=85&s=a16186d1e9b53299237991c0e99459a2" width="150" height="150" data-path="icons/directadmin/php-selector.svg" /> **PHP Selector** in <Icon icon="https://mintcdn.com/dangowebsolutions/h7v7ncdoSDUTq6Mf/icons/directadmin/directadmin.svg?fit=max&auto=format&n=h7v7ncdoSDUTq6Mf&q=85&s=c0de1870528a3e8f5ac7adc3d416a84a" width="100" height="100" data-path="icons/directadmin/directadmin.svg" /> **DirectAdmin** to enable the required PHP extensions for your website. You can find the <Icon icon="https://mintcdn.com/dangowebsolutions/j-uP3DKiLJ2Amixo/icons/directadmin/php-selector.svg?fit=max&auto=format&n=j-uP3DKiLJ2Amixo&q=85&s=a16186d1e9b53299237991c0e99459a2" width="150" height="150" data-path="icons/directadmin/php-selector.svg" /> **PHP Selector** in the **Advanced Features** section of your <Icon icon="https://mintcdn.com/dangowebsolutions/h7v7ncdoSDUTq6Mf/icons/directadmin/directadmin.svg?fit=max&auto=format&n=h7v7ncdoSDUTq6Mf&q=85&s=c0de1870528a3e8f5ac7adc3d416a84a" width="100" height="100" data-path="icons/directadmin/directadmin.svg" /> **DirectAdmin** control panel. Learn more about how to use the <Icon icon="https://mintcdn.com/dangowebsolutions/j-uP3DKiLJ2Amixo/icons/directadmin/php-selector.svg?fit=max&auto=format&n=j-uP3DKiLJ2Amixo&q=85&s=a16186d1e9b53299237991c0e99459a2" width="150" height="150" data-path="icons/directadmin/php-selector.svg" /> **PHP Selector** below:

<Card title="PHP Selector" icon="https://mintcdn.com/dangowebsolutions/j-uP3DKiLJ2Amixo/icons/directadmin/php-selector.svg?fit=max&auto=format&n=j-uP3DKiLJ2Amixo&q=85&s=a16186d1e9b53299237991c0e99459a2" color="#33ccff" href="/help/web-hosting/directadmin/php#php-selector" horizontal width="150" height="150" data-path="icons/directadmin/php-selector.svg" />
