728x90 AdSpace

  • Latest News

    Tuesday, 1 August 2017

    Where is php.ini located on lubuntu?

    Where is php.ini located on lubuntu?

    As php developer, you will find your self enabling or disabling some features in php, therefore you need to edit the php.ini file, the question is where this php.ini located on lubuntu/ubuntu?

    If you have a php 5 most likely the php.ini is located on /etc/php5/cli/php.ini, and if you are running php 7 the php.ini should be located at /etc/php/7.0/cli/php.ini.
    /etc/php5/cli/php.ini
    /etc/php/7.0/cli/php.ini

    But these location could be changed, the better way to find out where php.ini located is to ask php itself, you can run this command to ask php where is the php.ini located.
    php -i | grep php\.ini
    That's the best way to do it!


    If You Like This Please Leave a Comment Or Share this Post

    Full Softwares Android Apps
    • Blogger Comments
    • Facebook Comments

    0 comments:

    Post a Comment

    Item Reviewed: Where is php.ini located on lubuntu? Rating: 5 Reviewed By: Unknown
    Scroll to Top