How to configure my php.ini file

php

#1

I want to configure my php.ini but I don’t know where it is. Please help me :neutral_face:


#2

Hey @kshitij760,

I have actually been dealing with this very problem recently. Cloud9 generates it’s own php.ini file, which it stores in an inaccessible place (for reasons unbeknownst to me).

If you want to modify your own php.ini file, you can simply create one in the root directory of your workspace, and add any configuration you wish in there. Make sure that after you make your changes that you reload Apache. To check if it loaded correctly, run the command “php --ini” in terminal and see which file it mentions.

For further reference, view this article.

Hope it helped.


#3

Thanks @aaronjamesmarshallau for the reply :slightly_smiling: