Page 1 of 1

What is the PHP type of VestaCP?

Posted: Sat Dec 08, 2018 3:49 pm
by tanquang
I wonder which of the following syntax is true for VestaCP? And how to know what kind of php is it running?
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>
Type 2

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>
What is correct with VestaCP? Type 1 or Type 2 or both is wrong? If wrong, please correct?