Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

What is the PHP type of VestaCP?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
tanquang
Posts: 14
Joined: Wed Nov 21, 2018 4:55 pm

Os: CentOS 5x
Web: apache
What is the PHP type of VestaCP?
  • Quote

Post by tanquang » 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

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?
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password