php.ini php 7.2?

Discussion in 'General OpenLiteSpeed Discussion' started by adz, Aug 3, 2018.

  1. adz

    adz New Member

    i can't seem to find the php.ini file anywhere, i compiled the php 7.2 from the admin console
    ubuntu

    on phpinfo.php it says Configuration File (php.ini) Path - /usr/local/lsws/lsphp7.2/lib
    there's no php.ini file in there
     
  2. Pong

    Pong Administrator

    Last edited: Aug 6, 2018
    adz likes this.
  3. adz

    adz New Member

    nope can't find it anywhere, even with the commands above
    php-production or php-developement is not found
     
  4. Pong

    Pong Administrator

    Sample php.ini can be found from a lot of places:
    I just download the php 72 source code,
    Code:
    wget http://php.net/distributions/php-7.2.8.tar.gz
    unpack it and you will find php.ini-production there.

    Alternatively, you can dwonload from https://github.com/php/php-src/blob/PHP-7.2.9/php.ini-production

    but the question is, why donot you just use apt-get? it is much easier.
     
    adz likes this.
  5. adz

    adz New Member

    nice one. not sure why but i should've used the apt-get lol
     

Share This Page