Which .ini file uses php (-develoment or -production)?

0

I am using php in Windows 10, so far I have been working without problems, I must clarify that I am working on a personal project that I wish to publish later.

What brings me back is the following problem, I need to make a modification to the ".ini" file of php, so far I had only left the two files

  

php.ini-development and   php.ini-production

without modifying them and I started working in that way, now that I need to modify the ".ini" file, it happens to me that:

  • I do not know which of the two I should modify xD.
  • If I modify "php.ini-development " or " php.ini-production ", should I delete the " -devolement" or " -production " and leave it as "php.ini" and now?
  • which file has been using the php engine so far, (I have no idea which is using :(), I'm explaining this using " php.ini-development " or " php.ini-production ", for configuration.
  • I know maybe it's 3 questions in one but I really appreciate that you can help me with this little problem.

    Thanks.

        
    asked by alvaroc 23.02.2018 в 20:34
    source

    1 answer

    0

    I am going to summarize what happened to me, we have to make sure that in the file httpd.conf of Apache is included PHPIniDir "tu_ruta_donde_estaphp" see , with this when you open the file phpinfo , you should see Loaded Configuration File ruta_en_la_que_estaphp , (in my case) This way when the server starts, php starts with the configuration of the .ini file that we have in our route

        
    answered by 24.02.2018 в 16:15