Asked  7 Months ago    Answers:  2   Viewed   29 times

Possible Duplicate:
How do i edit php.ini file in xampp server

I ran phpinfo and it said it was in C:Windows but it's not there. It's not in the php folder. I did a system search and it wasn't found.

Where is it hiding?

 Answers

49

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:

Location

Wednesday, March 31, 2021
 
mistero
answered 7 Months ago
78

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 4 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 :