Thank you for the valuable information carol.
We will now see how to copy php.ini to your public_html
You will have first fire the command
to check the path of your php.ini the above command will give you the output like:
Quote:
php -i | grep php.ini
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini
|
OR
Quote:
php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
|
Then copy that to your public_html like:
If you are already into your public_html directory then fire the below command:
Quote:
cp /usr/local/lib/php.ini .
or
cp /etc/php.ini .
|
If you are out side your public_html then fire the below command:
Quote:
cp /usr/local/lib/php.ini /home/user/public_html
or
cp /etc/php.ini /home/user/public_html
|
That's it!!
Now the php.ini is copied under your public_html and now you can proceed with the steps provided by carol.
