#37919 [Opn->Fbk]: PHP doesn't read the configurations propertly
ID: 37919 Updated by: [EMAIL PROTECTED] Reported By: rafael dot amador at gmail dot com -Status: Open +Status: Feedback Bug Type: IIS related Operating System: Windows XP Pro SP2 PHP Version: 5.2.3 New Comment: What does phpinfo() have in the "Loaded configuration file" section? And above that, what does it have the path set to? Previous Comments: [2007-07-20 12:44:12] rafael dot amador at gmail dot com I've tested the last snapshot and the bug is present but now phpinfo shows a bit different result since the 1st time. i can't run any modules. Again notice the output of my phpinfo(), maybe this can give you a clue about what's happening. Configuration: PHP Core Directive Local Value Master Value | And should be ... doc_root no valueno value | "c:\inetpub\wwwroot" extension_dir C:\php5 C:\php5| "c:\php\ext" PHP Variables Variable Value _SERVER["DOCUMENT_ROOT"] = "c:\inetpub\wwwroot" _ENV["Path"] = "C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\QuickTime\QTSystem\;C:\php" Output from phpinfo() [2007-07-09 12:10:44] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Again, try the snapshot. I added the actual php.ini file in use to be shown with phpinfo() output, so check that after installing the snapshot. [2007-04-16 21:08:56] rafael dot amador at gmail dot com ok the point here that using ISAPI module in IIS and trying to use the Path method to configure the module, makes that PHP doesn't recognize propertly the php.ini path and its configuration that situation makes that php doesn't load any additional modules including mysqli and any others... becoming any php script in a useless piece of code... stills run but is not capable to call any functions of any module... i hope that this explanation make you clear what i'm reporting here... response to the questions a) with the specified conditions, yes, but without any configuration available no additional modules, php scripts become useless with this bug. b) yes , in addition with windows registry php configuration method. verified in 3 servers. c) i think that running php in FastCGI must works, but exists another anoying bug related with CGI and IIS that doesn't permit to write a cookie ... but this bug is from Microsoft. [2007-04-16 20:12:36] [EMAIL PROTECTED] It's not quite clear what does not work for you: a) Are you able to run PHP scripts at all? b) Does removing 'doc_root' setting from php.ini really fix this? c) How about running PHP as FastCGI? (I prefer this myself, running PHP as module is so 90's :) [2006-10-22 20:45:15] rafael dot amador at gmail dot com i've perfectly told that any other method works, with this statement i mean any other method DOESN'T WORK. and by the way i'm reporting a BUG i've a work arround but the bug still remains in the code. i've solved this with the register method now i've my server working with this method but the point here is that the PATH method doesn't work ... i've spend a lot of time reporting this bug and following the progress of it. i'm waiting that anyone there (Zend-PHP developer staff) take this seriously don't give me a pretext to close this bug. This danm bug is giving headaches to more than a couple of IT admins. i'm very annoyed about the response time showing a profesionless attitude ... sorry guys but it's the truth The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37919 -- Edit this bug report at http://bugs.php.net/?id=37919&edit=1
#37919 [Opn->Fbk]: PHP doesn't read the configurations propertly
ID: 37919 Updated by: [EMAIL PROTECTED] Reported By: rafael dot amador at gmail dot com -Status: Open +Status: Feedback Bug Type: IIS related Operating System: Windows XP Pro SP2 PHP Version: 5.1.4 or above New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Again, try the snapshot. I added the actual php.ini file in use to be shown with phpinfo() output, so check that after installing the snapshot. Previous Comments: [2007-04-16 21:08:56] rafael dot amador at gmail dot com ok the point here that using ISAPI module in IIS and trying to use the Path method to configure the module, makes that PHP doesn't recognize propertly the php.ini path and its configuration that situation makes that php doesn't load any additional modules including mysqli and any others... becoming any php script in a useless piece of code... stills run but is not capable to call any functions of any module... i hope that this explanation make you clear what i'm reporting here... response to the questions a) with the specified conditions, yes, but without any configuration available no additional modules, php scripts become useless with this bug. b) yes , in addition with windows registry php configuration method. verified in 3 servers. c) i think that running php in FastCGI must works, but exists another anoying bug related with CGI and IIS that doesn't permit to write a cookie ... but this bug is from Microsoft. [2007-04-16 20:12:36] [EMAIL PROTECTED] It's not quite clear what does not work for you: a) Are you able to run PHP scripts at all? b) Does removing 'doc_root' setting from php.ini really fix this? c) How about running PHP as FastCGI? (I prefer this myself, running PHP as module is so 90's :) [2006-10-22 20:45:15] rafael dot amador at gmail dot com i've perfectly told that any other method works, with this statement i mean any other method DOESN'T WORK. and by the way i'm reporting a BUG i've a work arround but the bug still remains in the code. i've solved this with the register method now i've my server working with this method but the point here is that the PATH method doesn't work ... i've spend a lot of time reporting this bug and following the progress of it. i'm waiting that anyone there (Zend-PHP developer staff) take this seriously don't give me a pretext to close this bug. This danm bug is giving headaches to more than a couple of IT admins. i'm very annoyed about the response time showing a profesionless attitude ... sorry guys but it's the truth [2006-09-27 07:25:47] mcloudteo at hotmail dot com 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 [2006-09-25 23:26:09] rafael dot amador at gmail dot com tested with lastest snapshot and the same result The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37919 -- Edit this bug report at http://bugs.php.net/?id=37919&edit=1
#37919 [Opn->Fbk]: PHP doesn't read the configurations propertly
ID: 37919 Updated by: [EMAIL PROTECTED] Reported By: rafael dot amador at gmail dot com -Status: Open +Status: Feedback -Bug Type: PHP options/info functions +Bug Type: IIS related Operating System: Windows XP Pro SP2 PHP Version: 5.1.4 or above New Comment: It's not quite clear what does not work for you: a) Are you able to run PHP scripts at all? b) Does removing 'doc_root' setting from php.ini really fix this? c) How about running PHP as FastCGI? (I prefer this myself, running PHP as module is so 90's :) Previous Comments: [2006-10-22 20:45:15] rafael dot amador at gmail dot com i've perfectly told that any other method works, with this statement i mean any other method DOESN'T WORK. and by the way i'm reporting a BUG i've a work arround but the bug still remains in the code. i've solved this with the register method now i've my server working with this method but the point here is that the PATH method doesn't work ... i've spend a lot of time reporting this bug and following the progress of it. i'm waiting that anyone there (Zend-PHP developer staff) take this seriously don't give me a pretext to close this bug. This danm bug is giving headaches to more than a couple of IT admins. i'm very annoyed about the response time showing a profesionless attitude ... sorry guys but it's the truth [2006-09-27 07:25:47] mcloudteo at hotmail dot com 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 [2006-09-25 23:26:09] rafael dot amador at gmail dot com tested with lastest snapshot and the same result [2006-09-23 10:19:02] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip [2006-07-27 17:21:12] rafael dot amador at gmail dot com the bug is present in 5.1.5. Nobody will fix this anoying bug? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37919 -- Edit this bug report at http://bugs.php.net/?id=37919&edit=1
#37919 [Opn->Fbk]: PHP doesn't read the configurations propertly
ID: 37919 Updated by: [EMAIL PROTECTED] Reported By: rafael dot amador at gmail dot com -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: Windows XP Pro SP2 PHP Version: 5.1.4 or above Previous Comments: [2006-09-27 07:25:47] mcloudteo at hotmail dot com 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 [2006-09-25 23:26:09] rafael dot amador at gmail dot com tested with lastest snapshot and the same result [2006-09-23 10:19:02] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip [2006-07-27 17:21:12] rafael dot amador at gmail dot com the bug is present in 5.1.5. Nobody will fix this anoying bug? [2006-06-27 02:16:12] rafael dot amador at gmail dot com i configured the php file with the registry entry pointing to it and didn't work but if i comment the doc_root option in php.ini all works WELL. a couple of questions come to me now: why the windows PATH method doesn't works? why the registry method works only with doc_root disabled? i saw a lot of bugs that have similar behavior. check this beacuse if isn't a bug then isn't documentated. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37919 -- Edit this bug report at http://bugs.php.net/?id=37919&edit=1
#37919 [Opn->Fbk]: PHP doesn't read the configurations propertly
ID: 37919 Updated by: [EMAIL PROTECTED] Reported By: rafael dot amador at gmail dot com -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: Windows XP Pro SP2 PHP Version: 5.1.4 or above New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Previous Comments: [2006-07-27 17:21:12] rafael dot amador at gmail dot com the bug is present in 5.1.5. Nobody will fix this anoying bug? [2006-06-27 02:16:12] rafael dot amador at gmail dot com i configured the php file with the registry entry pointing to it and didn't work but if i comment the doc_root option in php.ini all works WELL. a couple of questions come to me now: why the windows PATH method doesn't works? why the registry method works only with doc_root disabled? i saw a lot of bugs that have similar behavior. check this beacuse if isn't a bug then isn't documentated. [2006-06-26 21:09:11] rafael dot amador at gmail dot com i rebooted my server and again i've the same result [2006-06-26 19:58:59] rafael dot amador at gmail dot com and the same result in the lastest snapshot [2006-06-26 19:58:00] rafael dot amador at gmail dot com i've installed the version using the same php.ini and overwritting all fuiles in php directory , later i stoped the iisadmin/w3svc service and later started again The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37919 -- Edit this bug report at http://bugs.php.net/?id=37919&edit=1
#37919 [Opn->Fbk]: PHP doesn't read the configurations propertly
ID: 37919 Updated by: [EMAIL PROTECTED] Reported By: rafael dot amador at gmail dot com -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: Windows XP Pro SP2 PHP Version: 5.1.4 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Previous Comments: [2006-06-26 18:54:25] rafael dot amador at gmail dot com sure i followed all instructions [2006-06-26 18:52:40] [EMAIL PROTECTED] And did you reboot after that? [2006-06-26 18:50:22] rafael dot amador at gmail dot com yeah sure i've checked the PATH enviroment variable and c:\php is present [2006-06-26 18:46:27] [EMAIL PROTECTED] Did you add c:\php to your PATH environment variable? [2006-06-26 18:30:57] 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: --- 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) -- Edit this bug report at http://bugs.php.net/?id=37919&edit=1
#37919 [Opn->Fbk]: PHP doesn't read the configurations propertly
ID: 37919 Updated by: [EMAIL PROTECTED] Reported By: rafael dot amador at gmail dot com -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: Windows XP Pro SP2 PHP Version: 5.1.4 New Comment: And did you reboot after that? Previous Comments: [2006-06-26 18:50:22] rafael dot amador at gmail dot com yeah sure i've checked the PATH enviroment variable and c:\php is present [2006-06-26 18:46:27] [EMAIL PROTECTED] Did you add c:\php to your PATH environment variable? [2006-06-26 18:30:57] 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: --- 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) -- Edit this bug report at http://bugs.php.net/?id=37919&edit=1
#37919 [Opn->Fbk]: PHP doesn't read the configurations propertly
ID: 37919 Updated by: [EMAIL PROTECTED] Reported By: rafael dot amador at gmail dot com -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: Windows XP Pro SP2 PHP Version: 5.1.4 New Comment: Did you add c:\php to your PATH environment variable? Previous Comments: [2006-06-26 18:30:57] 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: --- 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) -- Edit this bug report at http://bugs.php.net/?id=37919&edit=1