Dear all,
I tried to set these value in Apache configuration file:
php_admin_value extension_dir "G:\egranary\software\apache\bin"
php_admin_value upload_tmp_dir "G:\egranary\software\PHP\Temp\php\upload"
php_value session.save_path "G:\egranary\software\PHP\Temp\php\session"
When testing by phpinfo() I see that the local values for these have been changed to new values, but the master value still the same and PHP doesn't load extensions that are supposed to be loaded. Here is the information from phpinfo():
Directive Local Value Master Value
extension_dir G:\egranary\software\apache\bin C:\php5
upload_tmp_dir G:\egranary\software\PHP\Temp\php\upload no value
session.save_path G:\egranary\software\PHP\Temp\php\session no value
So could you tell me what is the difference between Local Value and Master Value, and why PHP doesn't load extension even the Local Values are correct.
Note that if I set these values in php.ini then Local Value and Master Value are same and there is no problem.
All responses are appreciated,
WP
PS. Attachment is a zip file containing php.ini, httpd.conf and phpinfo().htm
PS2. I forgot to mention that PHP supposed to load these extensions: mysql, mysqli, curl, gd2, openssl and xmlrpc (as appeared in the end of php.ini). But in phpinfo().htm I don't see them.
Setting PHP values in Apache configuration file
Moderator: General Moderators
-
widernetproject
- Forum Newbie
- Posts: 2
- Joined: Tue Jun 03, 2008 5:02 pm
Setting PHP values in Apache configuration file
- Attachments
-
- wp.zip
- (37.06 KiB) Downloaded 77 times
-
widernetproject
- Forum Newbie
- Posts: 2
- Joined: Tue Jun 03, 2008 5:02 pm
Re: Setting PHP values in Apache configuration file
Could anyone answer my question, please.