What is the PHP type of VestaCP?
Posted: Sat Dec 08, 2018 3:49 pm
I wonder which of the following syntax is true for VestaCP? And how to know what kind of php is it running?
Type 1
Type 2
What is correct with VestaCP? Type 1 or Type 2 or both is wrong? If wrong, please correct?
Type 1
Code: Select all
<IfModule php5_module>
php_value upload_max_filesize 2G
php_value post_max_size 2G
</IfModule>
<IfModule mime_module>
AddType application/x-httpd-ea-php56 .php .php5 .phtml
AddHandler application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
Code: Select all
<IfModule mod_php5.c>
php_value upload_max_filesize 2G
php_value post_max_size 2G
</IfModule>
<IfModule mime_module>
AddType application/x-httpd-php56 .php .php5 .phtml
AddHandler application/x-httpd-php56 .php .php5 .phtml
</IfModule>