Solved

php conf file

Posted on 2011-09-17
1
457 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
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
This article discusses four methods for overlaying images in a container on a web page
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

910 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

24 Experts available now in Live!

Get 1:1 Help Now