Where is php.ini?
I just installed mandrake 9.1 and I had it install apache with php. Now i need to config my php.ini file and i can't find it. Does anyone know where it's at?
I've tried doing a search but my search locks up and can't find anything. if i run phpinfo() it says it should be in /etc but i can't seem to find it. |
find / -name "*php.ini*"
should return any locations with this file in it. |
locate php.ini
Location: /etc/php.ini |
I've looked in /etc and i can't find php.ini its not in there.
if i do find / -name "*php.ini*" it doesn't return anything. i had mandrake install apache and php for me, is that why i can't find it? is this file stored under another name? thanks |
root]# find / -name "*php.ini*"
/etc/php.ini |
try this /etc/php5/apache2/php.ini (or what ever version you are using)
on the second thought check for "Loaded Configuration File" in phpinfo() |
kir4n
Look at the dates on the posts before yours. Nearly 9 years old. |
Come on man does that really matters !! someone could find this post useful..
besides googling "php.ini linux" will list this thread as 3rd in the SERP |
Thank you!
I'm a noob to Linux and running apache2/php5/MySQL on it. I'm running Linux Mint 13. Anyway, someone above mentioned that the first posts were in 2003! I must say, thank you LinuxQuestions.Org for not deleting this post because even though today is 01Sep2012-Saturday, I still found the information posted from 9 years ago highly useful! Thank you! Now, with reference to installing the PECL whachamacallit's, I found the php.ini file by using: locate php.ini, and then I used nano /path/to/php.ini to edit it.
Ranito1980, M.Ed. Marion, Illinois United States |
All times are GMT -5. The time now is 06:30 PM. |