php.ini does not get reloaded when i restart apache. WHY???
Moderator: General Moderators
please stop the http daemon, check that there's no httpd running (http://thailandhaven.com/test.php should be unavailable then) and then start the httpd again.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Have you tried date_defaul_timezone_set()?ivj wrote:[Date]
date.timezone = "America/Vancouver"
However, when I check the timezone, I get America_NewYork: http://thailandhaven.com/test.php
The code is:
Any idea?Code: Select all
echo "<br>Timezone (set as "America/Vancouver" in php.ini: <b>".date("e")."</b><br>";
I'd trash the installation and start from scratch before wasting too much time with searching a spook. But most people don't like that, so I didn't suggest itivj wrote:Come on man you're an extreme guru, you gotta think of something. I consider myself an extreme guru in tomcat, and there's no way in hell that thing will be running without me specifying a conf file.
What do you mean by trashing the installation? What I have here is a bran new installation. What do you suggest I do?
"Have you tried date_defaul_timezone_set()?"
No but thanks for the tip. PHPMailer is not my priority right now. Right now I'm trying to figure out why the hell my php.ini isn't being read.
"Have you tried date_defaul_timezone_set()?"
No but thanks for the tip. PHPMailer is not my priority right now. Right now I'm trying to figure out why the hell my php.ini isn't being read.
A brand new system... i.e. nothing of notable value installed/configured? I would format the partitions, get me a current version of fedora core (FC6) and setup the server anew. But that's just meivj wrote:What do you mean by trashing the installation? What I have here is a bran new installation. What do you suggest I do?
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
There is some interesting information in the manual for get_cfg_var().