Changes in php.ini have no effect
| From: | Harry Sufehmi | Date: | Tue, 16 Mar 2004 15:10:04 +0000 |
| Subject: | Changes in php.ini have no effect | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180545@lists.php.net to get a copy of this message | ||
(sorry if this post is a double for you, but I didn't get it and it doesn't exist in the
archive - so I assume it was never posted before)
The following is a question that seems obvious, but somehow manages to elude me until today ... :-}
hopefully someone here could point out my stupidity in this case.
Problem:
Changes made in c:\winnt\php.ini doesn't have any effect even after restarting Apache.
Steps tried:
# looking for other copies of php.ini - none found
# entering the related values in Apache's httpd.conf file instead - works for some values, but
not for others.
# entering the related values in Apache's .htaccess file - doesn't work at all
PHP version: 4.3.3
phpinfo() output - http://www.harrysufehmi.com/inf.php
If you at the output of phpinfo(), it stated that the configurations were read from c:\winnt\php.ini
- but it got several different config, such as:
# php is installed at c:\php\php-4.3.3\ --- not c:\php4
# extension_dir is set to c:\php\php-4.3.3\extensions\ in php.ini --- but phpinfo() says different
things
# php_gd2.dll is enabled, but not according to phpinfo()
Any pointer will be very much appreciated.
Thanks,
Harry