Where do I find php.ini?

Discussion in 'General' started by alkosmurf, Jan 17, 2010.

  1. alkosmurf

    alkosmurf New Member

    Hello.
    Where do I find the correct php.ini file for Ispconfig 3? I find alot of php.ini files, but which is correct? Need to change post max upload size and things like that.
     
  2. oilyflutesalad

    oilyflutesalad ISPConfig Developer

    You can change most settings within a PHP script using the ini_set() function. If you really need to alter the main php.ini try
    Code:
    /etc/php5/apache2/php.ini
    That's where it is on Ubuntu anyway. Depending on what distro you use it could be somewhere completely different, but you didn't say, so...
     
  3. alkosmurf

    alkosmurf New Member

    thx it works :D
     
    Last edited: Jan 17, 2010
  4. BorderAmigos

    BorderAmigos New Member

    I had 5 different php.ini files showing up. I changed 4 of them to symbolic links pointing to one. Easier to keep them all in sync.
     

Share This Page