Where is the php.ini file located in aws lightsail linux

1.7k views Asked by At

I want to migrate one of my websites to AWS lightsail and I need access the php.ini file. I have found a php.ini file located in opt/bitnami/php/etc/ but all the changes I do to that file doesn't reflect on the server. I'm using the "bitnami" user. I have tried to restart the apache server with the command
sudo /opt/bitnami/ctlscript.sh restart apache
I have even tried to reboot the lightsail instance but it's still not reflecting. I tried to run the command
php --ini
and it shows that the php.ini configuration file is located in /bitnami/lamp71stack-linux-x64/output/php/lib but I cannot find that path on my lightsail linux server. php --ini resutlt

0

There are 0 answers