Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

php conf file

Posted on 2011-09-17
1
Medium Priority
?
485 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 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

782 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