"where is php.ini? [duplicate]" Answer’s

0

Run this code (and I am assuming your php is running, you are not able to just locate the php.ini file)

<?php

phpinfo();

?>

And check the location of the config file:

Wednesday, March 31, 2021
 
mistero
answered 11 Months ago
0

You should find it in /private/etc if it exists, otherwise:

sudo cp /private/etc/php.ini.default /private/etc/php.ini
Tuesday, June 15, 2021
 
barden
answered 8 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :