Page 1 of 1

I need to modify parameters on php.ni

Posted: Mon Jan 11, 2016 5:05 pm
by chayhaik
But I can not access to fix it please help me
Here's a picture
Image

Re: I need to modify parameters on php.ni

Posted: Tue Jan 12, 2016 8:37 am
by skurudo
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

Re: I need to modify parameters on php.ni

Posted: Tue Jan 12, 2016 9:02 am
by chayhaik
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

Re: I need to modify parameters on php.ni

Posted: Tue Jan 12, 2016 9:45 am
by skurudo
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

Re: I need to modify parameters on php.ni

Posted: Tue Jan 12, 2016 9:47 am
by skurudo
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).

Re: I need to modify parameters on php.ni

Posted: Tue Jan 12, 2016 10:35 am
by chayhaik
the problem is I do not know where edit php.ini and how

Re: I need to modify parameters on php.ni

Posted: Tue Jan 12, 2016 10:51 am
by skurudo
chayhaik wrote:the problem is I do not know where edit php.ini and how
via ssh
viewtopic.php?p=37373#p37358