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

I need to modify parameters on php.ni

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
chayhaik
Posts: 3
Joined: Mon Jan 11, 2016 5:01 pm

I need to modify parameters on php.ni
  • Quote

Post by chayhaik » Mon Jan 11, 2016 5:05 pm

But I can not access to fix it please help me
Here's a picture
Image
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I need to modify parameters on php.ni
  • Quote

Post by skurudo » Tue Jan 12, 2016 8:37 am

You're do it wrong, use command to start text editor

Example:

Code: Select all

nano /etc/php.ini
or

Code: Select all

vi /etc/php.ini
Top

chayhaik
Posts: 3
Joined: Mon Jan 11, 2016 5:01 pm

Re: I need to modify parameters on php.ni
  • Quote

Post by chayhaik » Tue Jan 12, 2016 9:02 am

thank you I'm having trouble with code like in this picture do not know can help me edit to suit my source is not
Image
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I need to modify parameters on php.ni
  • Quote

Post by skurudo » Tue Jan 12, 2016 9:45 am

If I understand correct: right - what do you have now and left - what you need.

Then it's pretty simple - search in php.ini parameters and change values:
- add, those off by default
output_buffering = On
magic_quotes_gpc = On

- change value
max_execution_time = 120
session.gc_maxlifetime = 14400
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I need to modify parameters on php.ni
  • Quote

Post by skurudo » Tue Jan 12, 2016 9:47 am

And you need to know, may be your script for older php version like php 5.2 and don't work with php 5.4
It makes sense to consult with the author of your script (via e-mail or forum).
Top

chayhaik
Posts: 3
Joined: Mon Jan 11, 2016 5:01 pm

Re: I need to modify parameters on php.ni
  • Quote

Post by chayhaik » Tue Jan 12, 2016 10:35 am

the problem is I do not know where edit php.ini and how
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: I need to modify parameters on php.ni
  • Quote

Post by skurudo » Tue Jan 12, 2016 10:51 am

chayhaik wrote:the problem is I do not know where edit php.ini and how
via ssh
viewtopic.php?p=37373#p37358
Top


Post Reply
  • Print view

7 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