<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[AdminsForum - CloudPanel Sites & Nginx Guides]]></title>
		<link>https://adminsforum.com/</link>
		<description><![CDATA[AdminsForum - https://adminsforum.com]]></description>
		<pubDate>Thu, 15 Oct 2026 05:22:20 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[How to Create a PHP Site in CloudPanel (Step by Step, 2026)]]></title>
			<link>https://adminsforum.com/Thread-guide-how-to-create-a-php-site-in-cloudpanel-step-by-step-2026</link>
			<pubDate>Wed, 14 Oct 2026 19:43:21 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-how-to-create-a-php-site-in-cloudpanel-step-by-step-2026</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">How to create a PHP site in CloudPanel</span></span><br />
<br />
This guide walks through adding a PHP site in CloudPanel, from the Add Site button to tuning PHP and Nginx. It's tested on CloudPanel 2.5.4 on Ubuntu 24.04, and every screenshot is from that server.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">You'll need:</span> CloudPanel installed and your admin login, plus a domain (or subdomain) you control. Pointing its DNS A record at the server now saves time later when you add SSL.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Open Sites → Add Site</span></span><br />
Log in to CloudPanel, open <span style="font-weight: bold;" class="mycode_b">Sites</span> and click <span style="font-weight: bold;" class="mycode_b">+ Add Site</span>.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=267" target="_blank" title="">g1-01-rn00.jpg</a> (Size: 58.52 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Choose "Create a PHP Site"</span></span><br />
CloudPanel asks what kind of site you want. WordPress has its own one-click option (see our WordPress guide); for any other PHP code choose <span style="font-weight: bold;" class="mycode_b">Create a PHP Site</span>.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=268" target="_blank" title="">g1-02-ae00.jpg</a> (Size: 104.91 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Pick the application</span></span><br />
The <span style="font-weight: bold;" class="mycode_b">Application</span> menu writes the right Nginx configuration for you. <span style="font-weight: bold;" class="mycode_b">Generic</span> works for most PHP code. For frameworks and shops pick the matching template (Laravel, Symfony, Magento, WooCommerce and others) so the rewrite rules are correct from the start.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=269" target="_blank" title="">g1-03-ae03.jpg</a> (Size: 87.73 KB / Downloads: 7)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Domain, PHP version and site user</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Domain Name:</span> the domain or subdomain for this site.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">PHP Version:</span> any version from 7.1 to 8.5. We used 8.5, the newest.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Site User:</span> a real Linux user that will own the files and run the site's PHP processes. Each site gets its own, which keeps sites isolated from each other.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Site User Password:</span> CloudPanel generates a strong one. Save it in your password manager before you click <span style="font-weight: bold;" class="mycode_b">Create</span>.<br />
</li>
</ul>
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=270" target="_blank" title="">g1-04-ae04.jpg</a> (Size: 89.46 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 5: The site is created</span></span><br />
A few seconds later the site appears in the list with its site user and app type. Click <span style="font-weight: bold;" class="mycode_b">Manage</span> to open it.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=271" target="_blank" title="">g1-05-ae07.jpg</a> (Size: 72.1 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 6: Check the root directory</span></span><br />
The <span style="font-weight: bold;" class="mycode_b">Settings</span> tab shows the domain and its <span style="font-weight: bold;" class="mycode_b">Root Directory</span>. Frameworks like Laravel serve from a <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>public</code></div></div> subfolder, so change it here if your app needs that.<br />
<br />
Underneath is the full path where your code goes:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/SITE_USER/htdocs/YOUR_DOMAIN</code></div></div>Upload your files there over SFTP or with the File Manager.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=272" target="_blank" title="">g1-06-ae08.jpg</a> (Size: 100.32 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 7: Site user password and SSH keys</span></span><br />
Further down you can generate a new password for the site user, or paste your public SSH key to log in without a password.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=273" target="_blank" title="">g1-07-ae10.jpg</a> (Size: 76.29 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 8: Tune PHP for this site</span></span><br />
In <span style="font-weight: bold;" class="mycode_b">PHP Settings</span> you can switch the PHP version at any time and set <span style="font-weight: bold;" class="mycode_b">memory_limit</span>, <span style="font-weight: bold;" class="mycode_b">max_execution_time</span>, <span style="font-weight: bold;" class="mycode_b">max_input_time</span>, <span style="font-weight: bold;" class="mycode_b">max_input_vars</span>, <span style="font-weight: bold;" class="mycode_b">post_max_size</span> and <span style="font-weight: bold;" class="mycode_b">upload_max_filesize</span> for this site only, without editing any config files.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=274" target="_blank" title="">g1-08-ae11.jpg</a> (Size: 110.36 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 9 (optional): The Nginx vhost</span></span><br />
The <span style="font-weight: bold;" class="mycode_b">Vhost</span> tab holds the site's full Nginx configuration. CloudPanel fills in the placeholders for certificates, root and logs. You rarely need it, but it's there for custom redirects, headers or rules, and the config is tested before it's saved.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=275" target="_blank" title="">g1-09-ae44.jpg</a> (Size: 108.72 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Prefer the command line?</span></span><br />
As root, <span style="font-weight: bold;" class="mycode_b">clpctl</span> can create the same site, for example:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>clpctl site:add:php --domainName=example.com --phpVersion=8.5 --vhostTemplate='Generic' --siteUser=example --siteUserPassword='a-strong-password'</code></div></div><br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Next steps</span></span><ul class="mycode_list"><li>Add a free Let's Encrypt certificate: <span style="font-weight: bold;" class="mycode_b">How to install free SSL in CloudPanel</span> (CloudPanel Domains, DNS &amp; SSL Guides).<br />
</li>
<li>Create a database: <span style="font-weight: bold;" class="mycode_b">CloudPanel databases and phpMyAdmin</span> (CloudPanel Databases &amp; phpMyAdmin Guides).<br />
</li>
<li>Upload your files: <span style="font-weight: bold;" class="mycode_b">CloudPanel SSH, SFTP, FTP and File Manager</span> (CloudPanel Users, SSH &amp; SFTP Guides).<br />
</li>
</ul>
<br />
Stuck? Ask in <span style="font-weight: bold;" class="mycode_b">CloudPanel Sites &amp; Nginx Support</span>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CloudPanel guide series</span></span><br />
<ol type="1" class="mycode_list"><li><a href="https://adminsforum.com/Thread-guide-what-is-cloudpanel-complete-overview-of-the-free-hosting-control-panel-2026" target="_blank" rel="noopener" class="mycode_url">What is CloudPanel? Complete overview</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-system-requirements-2026-os-cpu-ram-disk-and-ports" target="_blank" rel="noopener" class="mycode_url">CloudPanel system requirements</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-features-the-complete-list-2026" target="_blank" rel="noopener" class="mycode_url">CloudPanel features: the complete list</a><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">How to create a PHP site</span> (you are here)<br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-install-a-free-let-s-encrypt-ssl-certificate-in-cloudpanel" target="_blank" rel="noopener" class="mycode_url">How to install free Let's Encrypt SSL</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-install-wordpress-in-cloudpanel-one-click-setup-guide" target="_blank" rel="noopener" class="mycode_url">How to install WordPress (one-click)</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-databases-create-a-database-users-and-use-phpmyadmin" target="_blank" rel="noopener" class="mycode_url">Databases, users and phpMyAdmin</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-ssh-sftp-ftp-and-file-manager-how-to-upload-files" target="_blank" rel="noopener" class="mycode_url">SSH, SFTP, FTP and File Manager</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-cron-jobs-logs-and-varnish-cache-complete-guide" target="_blank" rel="noopener" class="mycode_url">Cron jobs, logs and Varnish Cache</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-backups-and-security-remote-backups-firewall-and-basic-auth" target="_blank" rel="noopener" class="mycode_url">Backups, firewall and Basic Auth</a><br />
</li>
</ol>
]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">How to create a PHP site in CloudPanel</span></span><br />
<br />
This guide walks through adding a PHP site in CloudPanel, from the Add Site button to tuning PHP and Nginx. It's tested on CloudPanel 2.5.4 on Ubuntu 24.04, and every screenshot is from that server.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">You'll need:</span> CloudPanel installed and your admin login, plus a domain (or subdomain) you control. Pointing its DNS A record at the server now saves time later when you add SSL.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Open Sites → Add Site</span></span><br />
Log in to CloudPanel, open <span style="font-weight: bold;" class="mycode_b">Sites</span> and click <span style="font-weight: bold;" class="mycode_b">+ Add Site</span>.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=267" target="_blank" title="">g1-01-rn00.jpg</a> (Size: 58.52 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Choose "Create a PHP Site"</span></span><br />
CloudPanel asks what kind of site you want. WordPress has its own one-click option (see our WordPress guide); for any other PHP code choose <span style="font-weight: bold;" class="mycode_b">Create a PHP Site</span>.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=268" target="_blank" title="">g1-02-ae00.jpg</a> (Size: 104.91 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Pick the application</span></span><br />
The <span style="font-weight: bold;" class="mycode_b">Application</span> menu writes the right Nginx configuration for you. <span style="font-weight: bold;" class="mycode_b">Generic</span> works for most PHP code. For frameworks and shops pick the matching template (Laravel, Symfony, Magento, WooCommerce and others) so the rewrite rules are correct from the start.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=269" target="_blank" title="">g1-03-ae03.jpg</a> (Size: 87.73 KB / Downloads: 7)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Domain, PHP version and site user</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Domain Name:</span> the domain or subdomain for this site.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">PHP Version:</span> any version from 7.1 to 8.5. We used 8.5, the newest.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Site User:</span> a real Linux user that will own the files and run the site's PHP processes. Each site gets its own, which keeps sites isolated from each other.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Site User Password:</span> CloudPanel generates a strong one. Save it in your password manager before you click <span style="font-weight: bold;" class="mycode_b">Create</span>.<br />
</li>
</ul>
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=270" target="_blank" title="">g1-04-ae04.jpg</a> (Size: 89.46 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 5: The site is created</span></span><br />
A few seconds later the site appears in the list with its site user and app type. Click <span style="font-weight: bold;" class="mycode_b">Manage</span> to open it.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=271" target="_blank" title="">g1-05-ae07.jpg</a> (Size: 72.1 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 6: Check the root directory</span></span><br />
The <span style="font-weight: bold;" class="mycode_b">Settings</span> tab shows the domain and its <span style="font-weight: bold;" class="mycode_b">Root Directory</span>. Frameworks like Laravel serve from a <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>public</code></div></div> subfolder, so change it here if your app needs that.<br />
<br />
Underneath is the full path where your code goes:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/SITE_USER/htdocs/YOUR_DOMAIN</code></div></div>Upload your files there over SFTP or with the File Manager.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=272" target="_blank" title="">g1-06-ae08.jpg</a> (Size: 100.32 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 7: Site user password and SSH keys</span></span><br />
Further down you can generate a new password for the site user, or paste your public SSH key to log in without a password.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=273" target="_blank" title="">g1-07-ae10.jpg</a> (Size: 76.29 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 8: Tune PHP for this site</span></span><br />
In <span style="font-weight: bold;" class="mycode_b">PHP Settings</span> you can switch the PHP version at any time and set <span style="font-weight: bold;" class="mycode_b">memory_limit</span>, <span style="font-weight: bold;" class="mycode_b">max_execution_time</span>, <span style="font-weight: bold;" class="mycode_b">max_input_time</span>, <span style="font-weight: bold;" class="mycode_b">max_input_vars</span>, <span style="font-weight: bold;" class="mycode_b">post_max_size</span> and <span style="font-weight: bold;" class="mycode_b">upload_max_filesize</span> for this site only, without editing any config files.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=274" target="_blank" title="">g1-08-ae11.jpg</a> (Size: 110.36 KB / Downloads: 6)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 9 (optional): The Nginx vhost</span></span><br />
The <span style="font-weight: bold;" class="mycode_b">Vhost</span> tab holds the site's full Nginx configuration. CloudPanel fills in the placeholders for certificates, root and logs. You rarely need it, but it's there for custom redirects, headers or rules, and the config is tested before it's saved.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=275" target="_blank" title="">g1-09-ae44.jpg</a> (Size: 108.72 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Prefer the command line?</span></span><br />
As root, <span style="font-weight: bold;" class="mycode_b">clpctl</span> can create the same site, for example:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>clpctl site:add:php --domainName=example.com --phpVersion=8.5 --vhostTemplate='Generic' --siteUser=example --siteUserPassword='a-strong-password'</code></div></div><br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Next steps</span></span><ul class="mycode_list"><li>Add a free Let's Encrypt certificate: <span style="font-weight: bold;" class="mycode_b">How to install free SSL in CloudPanel</span> (CloudPanel Domains, DNS &amp; SSL Guides).<br />
</li>
<li>Create a database: <span style="font-weight: bold;" class="mycode_b">CloudPanel databases and phpMyAdmin</span> (CloudPanel Databases &amp; phpMyAdmin Guides).<br />
</li>
<li>Upload your files: <span style="font-weight: bold;" class="mycode_b">CloudPanel SSH, SFTP, FTP and File Manager</span> (CloudPanel Users, SSH &amp; SFTP Guides).<br />
</li>
</ul>
<br />
Stuck? Ask in <span style="font-weight: bold;" class="mycode_b">CloudPanel Sites &amp; Nginx Support</span>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CloudPanel guide series</span></span><br />
<ol type="1" class="mycode_list"><li><a href="https://adminsforum.com/Thread-guide-what-is-cloudpanel-complete-overview-of-the-free-hosting-control-panel-2026" target="_blank" rel="noopener" class="mycode_url">What is CloudPanel? Complete overview</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-system-requirements-2026-os-cpu-ram-disk-and-ports" target="_blank" rel="noopener" class="mycode_url">CloudPanel system requirements</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-features-the-complete-list-2026" target="_blank" rel="noopener" class="mycode_url">CloudPanel features: the complete list</a><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">How to create a PHP site</span> (you are here)<br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-install-a-free-let-s-encrypt-ssl-certificate-in-cloudpanel" target="_blank" rel="noopener" class="mycode_url">How to install free Let's Encrypt SSL</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-how-to-install-wordpress-in-cloudpanel-one-click-setup-guide" target="_blank" rel="noopener" class="mycode_url">How to install WordPress (one-click)</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-databases-create-a-database-users-and-use-phpmyadmin" target="_blank" rel="noopener" class="mycode_url">Databases, users and phpMyAdmin</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-ssh-sftp-ftp-and-file-manager-how-to-upload-files" target="_blank" rel="noopener" class="mycode_url">SSH, SFTP, FTP and File Manager</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-cron-jobs-logs-and-varnish-cache-complete-guide" target="_blank" rel="noopener" class="mycode_url">Cron jobs, logs and Varnish Cache</a><br />
</li>
<li><a href="https://adminsforum.com/Thread-guide-cloudpanel-backups-and-security-remote-backups-firewall-and-basic-auth" target="_blank" rel="noopener" class="mycode_url">Backups, firewall and Basic Auth</a><br />
</li>
</ol>
]]></content:encoded>
		</item>
	</channel>
</rss>