AI WordPress technical details
Website limits increase
To ensure correct generation of websites, the following values are automatically set for the parameters:
- in the configuration file
/etc/nginx/vhosts/USER/SITE.conf:proxy_connect_timeout— 30sproxy_send_timeout— 120sproxy_read_timeout— 180s
- in the configuration file
/var/www/USER/data/www/SITE/wp-config.php:WP_MEMORY_LIMIT— 512M
- in the configuration file
/etc/apache2-isp-php_VERSION/vhosts-php/SITE.conf:max_execution_time= 300max_input_time= 180upload_max_filesize= 128Mpost_max_size= 128M
After generation of a website is complete, the nginx parameter values are automatically reset to their previous values. The rest of the parameters remain unchanged.
PHP mode and version selection
Generated sites are configured to use the user's default PHP mode and a PHP version of 8.1 or the closest to it from the versions available to the user.
Configuration file
Module configuration data is added to the panel's configuration file /usr/local/mgr5/etc/ispmgr.conf:
AIWP_LICENSE_KEY— AI WordPress license key.AIWP_USERS_GENERATION_RESET_AT— the date and time of the next generation attempts reset, in theYYYY-MM-DD HH:MM:SSformat.AIWP_MONTHLY_RESET_CHECK_PERIOD— the period after which the panel checks if generation attempts reset is required, in minutes. Default value: 1440, i.e., once a day.AIWP_CACHE_TOTAL— the cached number of site generations available per license. The value is displayed in the ispmanager interface.AIWP_CACHE_UPDATED_AT— the date and time the generation attempts cache was last updated, in theYYYY-MM-DD HH:MM:SSformat.AIWP_CACHE_BILLING_HOST— the cached billing host accessed by AI WordPress.AIWP_CACHE_BILLING_HOST_UPDATED_AT— the date and time of the last host update inYYYY-MM-DD HH:MM:SSformat.
Database
The following parameters are added to the userprops table for the user:
limit_aiwordpress— the number of generations available to the user. Default value: 0. Default value for www-root: unlimited.aiwp_generation_count— the number of generations used.