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

php ini settings

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
aiweller
Posts: 3
Joined: Sat May 02, 2020 1:39 pm

Os: Ubuntu 15x
Web: nginx + php-fpm
php ini settings
  • Quote

Post by aiweller » Mon Jul 06, 2020 1:01 pm

Hi.

I have changed the max_execution_time and max_input_time setting in the php.ini configuration file but it is not reflecting in the site. I've set 60 as the max_execution_time, but when I check in phpinfo, it's showing 20. I'm changing it at VestaCP > Server > Apache2 > Configure PHP.ini. Is there any other place that I need to change the value?

Thanks,
Ashley
Top

tlozano
Posts: 37
Joined: Tue Nov 13, 2018 11:44 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: php ini settings
  • Quote

Post by tlozano » Mon Jul 06, 2020 1:26 pm

Has you restarted the php service after changes?
Do you have more than one php.ini?
Top

aiweller
Posts: 3
Joined: Sat May 02, 2020 1:39 pm

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: php ini settings
  • Quote

Post by aiweller » Tue Jul 07, 2020 12:30 pm

tlozano wrote: ↑
Mon Jul 06, 2020 1:26 pm
Has you restarted the php service after changes?
Do you have more than one php.ini?
Hi,

Yes, I have. Even restarted the server many times. phpinfo shows the php file is located in /etc/php/7.4/fpm/. I've manually changed the values in the php.ini file directly, but it does not take effect.
Top

aiweller
Posts: 3
Joined: Sat May 02, 2020 1:39 pm

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: php ini settings
  • Quote

Post by aiweller » Tue Jul 07, 2020 1:03 pm

Hi,

I've found it.. Seems the settings are in another file located at /etc/php/7.4/fpm/pool.d/<<domain>>.conf. The file is being created when I create a domain in the panel. Is there any way I could change the original values so that next time I create a domain, I don't have to come to this file and change the values? Or better still, remove the overriding values?
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

Re: php ini settings
  • Quote

Post by dpeca » Thu Jul 09, 2020 12:45 am

What Linux distribution do you use?
And is php7.4 automaticaly installed or you additionaly installed it?

These are very important questions.
Top

1080p
Posts: 3
Joined: Thu May 27, 2021 10:45 am
Contact:
Contact 1080p
Website

Os: CentOS 5x
Web: apache + nginx
Re: php ini settings
  • Quote

Post by 1080p » Thu May 27, 2021 11:00 am

Have you found a solution?
Top


Post Reply
  • Print view

6 posts • 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
 

 

Login  •  Register

I forgot my password