Installation Issues

Learn how to handle PHP issues during the installation process.

Most of the time installation problems occur due to limited resources, for example on shared hosting servers. Here’s an overview of the PHP configuration settings you should check and increase if needed.

Setting Description
post_max_size This is the amount of data in a single form submission using the POST method.
upload_max_filesize This is the size of an individual file uploaded.
max_execution_time This is the number of seconds a script is allowed to run before it is terminated by the parser.
memory_limit This is the amount of memory in bytes that a script is allowed to allocate.

You may need to allocate more resources for PHP by modifying the php.ini file. If this is not possible, you can try setting the PHP settings through a .htaccess file on your web server. However, this also depends on your hosting server and whether it allows the usage of .htaccess overrides.

php.ini

To change the PHP configuration through the php.ini file, use the following syntax.

# example of recommended settings
post_max_size = 8M
upload_max_filesize = 8M
max_execution_time = 60
memory_limit = 128M

.htaccess

To change the PHP configuration through a .htaccess file, use the following syntax.

# example of recommended settings
php_value post_max_size 8M
php_value upload_max_filesize 8M
php_value max_execution_time 60
php_value memory_limit 128M

YOOtheme Pro