Syntax error Unexpected END_OF_LINE in line 2 php.init

Asked

Viewed 33 times

-3

see the Error

inserir a descrição da imagem aqui

You’re saying it’s in this file I just can’t tell where, can anyone identify?

  • Post the contents of the php.init file.

  • He’s too big, how can I put it all?

  • Put at least the beginning, this part of line 2.

  • 4

    This is probably an error syntax revise your code, it must be missing a = in some setting or comparison

1 answer

0


Check if there is in the first line this:

session.gc_maxlifetime[PHP]

And if there’s this line much further down:

session.gc_maxlifetime = 1440

If yes, try removing the first line in the case:

session.gc_maxlifetime[PHP]

It is possible that he is trying to set maxlifetime twice.

  • 1

    someone gave you a negative when I didn’t do it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.