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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
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
Distribution: Fedora Core 2
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: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,196
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:29 PM.
|
|
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
|
|