Php.ini locations

Discussion in 'Installation/Configuration' started by cexar, Jul 28, 2006.

  1. cexar

    cexar New Member

    Hi i've followed the perfect_setup_ubuntu_6.06 totuorial to install apache2, php5 and mysql5
    i need to know where are locate dthe config. files for this.
    i've looked in /etc, but i can't founded
     
  2. vrajesh

    vrajesh New Member

    Hi, according to ubuntu wiki php.ini is located at /etc/php<version>/apache2/php.ini where <version> is the php version you're using. It's probably 4 or 5. You might want to look there. I dont have ubuntu so i can not verify.
     
  3. falko

    falko Super Moderator ISPConfig Developer

    You can also create a phpinfo() page:

    PHP:
    <?php
    phpinfo
    ();
    ?>
    and access it in your browser. It will tell you the location of your php.ini.
     
  4. Ben

    Ben ISPConfig Developer ISPConfig Developer

    or just try searching files....

    updatedb
    locate php.ini

    or

    find / -name php.ini
     
  5. cexar

    cexar New Member

    Found it

    Thx. I found it in /etc/php5/apache2/php.ini
    and by the phpinfo() page now i can know about the php.ini configuration.
    thanks.
     

Share This Page