Solved

php conf file

Posted on 2011-09-17
1
454 Views
Last Modified: 2013-12-16
hello there,
I have installed the latest version of PHP v5.3.8 with apache 2.2 on centos v5.6
when I open a php file with phpinfo it shows

Configuration File (php.ini) Path       /etc
Loaded Configuration File       /etc/php.ini

when I make changes to the php.ini file

Max Memory Limit
Safemode
Magic Quotes GPC

it wont take effect, so I rename php.ini to php.test and restart httpd again and nothing..
it seems like no matter what changes I do to the php.ini file it wont detect.. what can I do?
0
Comment
Question by:XK8ER
1 Comment
 
LVL 11

Accepted Solution

by:
kaskhedikar_tushar earned 500 total points
Comment Utility
Make sure that when you are making changes,you should be login with root user.

Second thing is check the permission.Open the terminal - su root & then type chmod 777 /etc/php.ini & then try to make changes.

Regards,
Tushar Kaskhedikar
0

Featured Post

Easy Project Management (No User Manual Required)

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now