Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

php conf file

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

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…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

718 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