|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-06-26 18:30 UTC] rafael dot amador at gmail dot com
Description: ------------ in IIS 5.1, PHP ISAPI Module and .Net framework 2.0 installed, following instructions from install.php, PHP doesn't read the options in file php.ini if i put php.ini in c:\php\ (the webserver init php but you can't configure any option, php don't load any modules and in phpinfo() page you look strange values) example: Configuration File (php.ini) Path: "C:\WINDOWS" must be "c:\php\php.ini" extension_dir: "C:\php5" "C:\php5" in phpinfo() in php.ini the value is: extension_dir = ""c:/php/ext/" i've PATH pointing to c:\php\, my document_root is well configured and i put php.ini in other place php shows message "No input file specified." i'm experimenting the Bug #37843 and other bug (if you put php5isapi.dll in ISAPI Filters when you shutdown the server ISS crash allways) Reproduce code: --------------- <? phpinfo(); ?> Expected result: ---------------- that my changes to php.ini are reflected in phpinfo() Actual result: -------------- php shows strange parameter configurations (i can't load any module) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 22:00:02 2025 UTC |
Do this: * Go to Control Panel and open the System icon (Start -> Settings -> Control Panel -> System, or just Start -> Control Panel -> System for Windows XP/2003) * Go to the Advanced tab * Click on the 'Environment Variables' button * Look into the 'System variables' pane * Click on 'New' and enter 'PHPRC' as the variable name and the directory where php.ini is located as the variable value (e.g. C:\php) * Press OK and restart your computer