Hello, After a nth discussion on phpdev with Stig, Sebastian and me, I post this message to ask you the way we should go to solve the problem of useless constants define in config.w32.h (see bottom).
The main idea is to check if an environment is available and use it. It will not be too complicated to do it and makes the php configuration easier under win32 and, why not, more flexible on others platforms (if there is a need), which something like a per host or per user under CLI mode configuration. I do not have enough knowledge on the php intern processes to help here (*sick*), but at least, I can ran compile tests and running tests under different windows platforms. Any comments ? hth pierre <code> #define CONFIGURATION_FILE_PATH "php.ini" #define PEAR_INSTALLDIR "c:\\php4\\pear" #define PHP_BINDIR "c:\\php4" #define PHP_CONFIG_FILE_PATH #(getenv("SystemRoot"))?getenv("SystemRoot"):"" define #PHP_CONFIG_FILE_SCAN_DIR "" define PHP_DATADIR "c:\\php4" #define PHP_EXTENSION_DIR "c:\\php4" #define PHP_INCLUDE_PATH ".;c:\\php4\\pear" #define PHP_LIBDIR "c:\\php4" #define PHP_LOCALSTATEDIR "c:\\php4" #define PHP_PREFIX "c:\\php4" #define PHP_SYSCONFDIR "c:\\php4" </code> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php