DirectAdmin Web Hosting
How to solve the error related to PHP session save path?
If you receive an error stating the PHP session path is not writable, you can simply update the session.save_path setting in the PHP Selector. From the Extra Features menu item in DirectAdmin: 1. Open Select PHP Version 2. Click Options 3. For the ...
How to solve a connection refused error when trying to use SMTP in DirectAdmin?
In our DirectAdmin hosting environments, outgoing SMTP via scripts/apps requires permission per user account. How do I request SMTP access? If your script/app needs to send via SMTP, simply submit a ticket to our support team and request that we ...
How do I use a different PHP version in a subdomain or folder?
There are times you may find the need to use a specific PHP version for a subdomain application that is different from your main account PHP version. The following will show you how to use a different PHP version in specific folder and/or subdomain ...
How do I run my cron job on a specific PHP version?
To run a cron job using a specific PHP version, you can use the following example code: /opt/alt/php81/usr/bin/php -q FILE_PATH Where "php81" is the PHP version you want to use (PHP 8.1) and can be changed to suit your needs. Such as php72, php73, ...
How do I enable and use Redis?
What is Redis? Redis is a super-fast, in-memory database that stores data in a key-value format, making it quick to access. It's often used for caching, real-time applications, and quick data lookups. Redis is versatile, supporting various data types ...
How do I access phpMyAdmin while using DirectAdmin?
Since we use SSO with DirectAdmin, phpMyAdmin can be accessed as follows: 1. Login to your DirectAdmin account. 2. Go to Account Manager --> Databases 3. Find the database you want to manage in phpMyAdmin and click Manage 4. Click the PHPMYADMIN ...
How can I access my website with DirectAdmin since userdir is no longer available?
Normally, connecting to your website hosted with DirectAdmin was as easy as accessing the temp URL http://[serveripaddress]/~[username]/ but since DirectAdmin chose to remove userdir_access, that is no longer possible. Workarounds include using a ...
What to do when we see Forbidden: PHP engine is disabled?
If you receive the error “Forbidden: PHP engine is disable”, it is due to “PHP Access” for the domain not being enabled. To enable it, simply go to Domain Setup in DirectAdmin and choose Modify. From there you can click the checkbox for PHP Access ...
How to create a wildcard SSL certificate when using Cloudflare?
Note: This only applies if/when using Cloudflare's nameservers with DirectAdmin. If you are using our default nameservers for your domain, this issue should not occur. When you create a wildcard SSL certificate in your control panel, Let's Encrypt ...
Can I change my main account username?
Due to unexpected issues we have seen when changing usernames on DirectAdmin, this is something we do not recommend. However, if your account is brand new, we can recreate it for you with an updated username upon request. If you have any further ...