Frequently Asked Questions

FAQ / WordPress Hosting

How do I increase PHP limits for WordPress on Hosteasy using DirectAdmin?

If you need to increase PHP limits on your Hosteasy account via DirectAdmin, you have a few options:

Option 1: Edit PHP Settings via DirectAdmin Interface

Log In to DirectAdmin:
Access your DirectAdmin control panel.

Navigate to PHP Configuration:
Locate the PHP Settings or PHP Configuration section (this might be under Domain Setup or a similar area).

Modify PHP Limits:
Increase the following values as needed:
memory_limit: 256M
upload_max_filesize: 64M
post_max_size: 64M
max_execution_time: 300

Save Changes:
Save your new settings. The changes should take effect immediately or after a brief propagation period.

Option 2: Edit the php.ini File Directly

Access Your Files:
Use DirectAdmin s File Manager or an FTP client to locate your site's root directory.

Locate/Edit php.ini:
Find the php.ini file. If it doesn t exist in your public directory, you might need to create one or adjust the global configuration if permitted.

Update PHP Settings:
Add or update the following lines:
memory_limit = 256M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

Save and Apply:
Save your changes and restart your web service if necessary.

Option 3: Modify the .htaccess File (If Applicable)

If you re unable to access the PHP configuration directly, you can try adding these lines to your .htaccess file in your WordPress directory:

php_value memory_limit 256M
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300

After saving the file, the new PHP limits should be applied.

If you run into any issues or need further assistance, our Hosteasy support team is here to help!