Solved

php conf file

Posted on 2011-09-17
1
463 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
kaskhedikar_tushar earned 500 total points
ID: 36555702
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

726 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