apache - Weird behavior of apache2 on Ubuntu with php.ini file -


I am trying to solve the final PHP problem, after researching for a while I checked the session was to. The cookie_time value, which is set to 0, then the session data should be preserved.

After this I have the same info.php file for the configuration value loaded for the Php.ini file:

  / etc / php5 / apache2   

However, I have the php.ini file at this location. At this place, I have all the conf.d directories which exclude php.ini and three other file types. I do not know why and how it happened. In fact, I do not have the php.ini file on php.ini location

  / etc / apache2   

Can you please inform that what to do to get the correct php.ini file?

  1. Should I move the php.ini file from / etc / apache2 to / etc / php5 / apache2?

  2. If all is not a php.ini file, why loaded with info.php / etc / php5 / apache2 The configuration file is

    You must have your php.ini file in the / etc / php5 / apache2 directory

      /etc/php5/conf.d/ etc / php5 / apache2   

    should be there. The Con.d directory is symlinked in / etc / php5 / apache2, where you will get mysql and pdo ini files if you have it installed.

    In your case, if you do not have the above configuration, your php.ini file should be moved to / etc / php5 / apache2 /

    as you can upgrade to Apache or You can install something that has been changed to the php5 configuration.

    Hope it helps, Pat

Comments

Post a Comment

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -