This is probably a fairly easy fix, but I can't seem to find the answer. Ok, so first I ran phpinfo() to find the php.ini file. I opened it up, changed some things, saved it. Then I restarted httpd, re-ran phpinfo() and the changes did not show up.
I did the above two more times, just to make sure I didn't miss anything. What am I missing here?
Btw, I am running PHP Version 4.2.3, Apache 1.3.26 on Linux. And I am running PHP as a module in Apache.
problem with php.ini
Moderator: General Moderators
You mean the changes I made to php.ini? Yea, everytime I checked the file, the changes I had made were still there.volka wrote:but the previous changes were still there?
how did you restart the httpd? You couldn't access the site while the process restarted?
Ahhh.. so I just tried to stop httpd and reload phpinfo(). And I could. which means I am not stopping/starting httpd correctly. I thought it was a simple matter of say:
/usr/local/apache/bin/httpd restart
Any hints?
maybe httpd restart is far to quick to notice the effect.
what happens if you really stop the webserver?
/usr/local/apache/bin/httpd stop
(/usr/local/apache/bin/httpd start to start it again after you've tested the connection)
If you still can access the site you stopped the wrong server but I doubt you have more than one running
settings phpinfo() shows are devided into two groups, Local Value and Master Value. Does none of them change?
what happens if you really stop the webserver?
/usr/local/apache/bin/httpd stop
(/usr/local/apache/bin/httpd start to start it again after you've tested the connection)
If you still can access the site you stopped the wrong server but I doubt you have more than one running
settings phpinfo() shows are devided into two groups, Local Value and Master Value. Does none of them change?