okay...turns out there was something strange going on with my ini file.
I copied its contents into a new file, saved that as "php.ini"...now
whenever I drop that in either C:\Windows or C:\PHP php will not
execute. If I move the file out of either of those two directories, it
executes fine.
Does this make any sense?
tg-php@xxxxxxxxxxxxxxxxxxxxxx wrote:
I had a similar issue a couple years ago when I was running Apache/PHP on a Windows box at a previous job. The information below helped. Check all the locations (regardless of what PHP is reporting it's using for php.ini's path). Try making some simple change that will show up on phpinfo(). You should find it eventually.
Good luck!
-TG
http://www.php.net/manual/en/install.windows.php
"php.ini is searched in these locations (in order):
* SAPI module specific location (PHPIniDir directive in Apache 2, -c command line option in CGI and CLI, php_ini parameter in NSAPI, PHP_INI_PATH environment variable in THTTPD)
* The PHPRC environment variable. Before PHP 5.2.0 this was checked after the registry key mentioned below.
* HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath (Windows Registry location)
* Current working directory (for CLI)
* The web server's directory (for SAPI modules), or directory of PHP (otherwise in Windows)
* Windows directory (C:\windows or C:\winnt) (for Windows), or --with-config-file-path compile time option"
= = = Original message = = =
I have php 5.2 up and running on IIS 5.1.
phpinfo tells me php is looking for my ini file in C:\Windows...I place
the file there, edit it, restart the server but I don't see the changes
I've made.
I've been dealing with this for a day and can't seem to find any
information as to what's causing this problem.
I've tried adding C:\PHP to my system path where C:\PHP is where php
lives. I also have PHPRC pointing ot C:\PHP...not sure if either of
those would have anything to do with my problem.
Does anyone have any ideas?
___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php