Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-08-2003, 06:39 PM
|
#1
|
LQ Newbie
Registered: Oct 2003
Posts: 2
Rep:
|
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.
|
|
|
10-08-2003, 06:50 PM
|
#2
|
Member
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849
Rep:
|
find / -name "*php.ini*"
should return any locations with this file in it.
|
|
|
10-08-2003, 06:52 PM
|
#3
|
Member
Registered: Feb 2002
Posts: 586
Rep:
|
locate php.ini
Location: /etc/php.ini
|
|
|
10-09-2003, 03:13 PM
|
#4
|
LQ Newbie
Registered: Oct 2003
Posts: 2
Original Poster
Rep:
|
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
|
|
|
10-09-2003, 06:24 PM
|
#5
|
Member
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849
Rep:
|
root]# find / -name "*php.ini*"
/etc/php.ini
|
|
|
05-05-2012, 09:08 AM
|
#6
|
LQ Newbie
Registered: May 2012
Posts: 2
Rep: 
|
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()
Last edited by kir4n; 05-05-2012 at 10:31 AM.
|
|
|
05-06-2012, 10:10 AM
|
#7
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
kir4n
Look at the dates on the posts before yours. Nearly 9 years old.
|
|
|
05-06-2012, 01:06 PM
|
#8
|
LQ Newbie
Registered: May 2012
Posts: 2
Rep: 
|
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
|
|
|
09-01-2012, 08:19 PM
|
#9
|
LQ Newbie
Registered: Jul 2012
Posts: 4
Rep: 
|
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 01:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|