[PHP-DEV] PHP 4.0 Bug #8911 Updated: Can't get oci9.dll and oracle.dll to load. All others dlls load.
ID: 8911 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Dynamic loading Assigned To: Comments: you'll need to install the oracle client libaries in order to get it to work Previous Comments: --- [2001-01-25 12:47:58] [EMAIL PROTECTED] I have Beginning PHP and have installed version 4.0.4 as per the directions in Chapter 1 (Win 95, PWS), to include changing the registry to reflect the isapi dll. I have copied all the dlls into the Windows 95 System folder as directed. When I try to load the oci8 and oracle extensions, I get an error as follows: Unable to load dynamic library 'C:phpextensionsphp_oci8.dll' One of the library files needed to run this application cannot be found. Plus I've noticed that my web server won't work properly after I try to load these dlls and my system hangs up on closing down. Once I received a message that inetinfo was bad during a shut down. I have changed the php.ini to reflect the extensions folder at c:phpextensions All other dll extensions load fine. I have deleted and reinstalled twice now with the same results. Do you have any suggestions? php.ini files as follows: [PHP] ;;; ; About this file ; ;;; ; This file controls many aspects of PHP's behavior. In order for PHP to ; read it, it must be named 'php.ini'. PHP looks for it in the current ; working directory, in the path designated by the environment variable ; PHPRC, and in the path that was defined in compile time (in that order). ; Under Windows, the compile-time path is the Windows directory. The ; path in which the php.ini file is looked for can be overriden using ; the -c argument in command line mode. ; ; The syntax of the file is extremely simple. Whitespace and Lines ; beginning with a semicolon are silently ignored (as you probably guessed). ; Section headers (e.g. [Foo]) are also silently ignored, even though ; they might mean something in the future. ; ; Directives are specified using the following syntax: ; directive = value ; Directive names are *case sensitive* - foo=bar is different from FOO=bar. ; ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression ; (e.g. E_ALL ~E_NOTICE), or a quoted string ("foo"). ; ; Expressions in the INI file are limited to bitwise operators and parentheses: ; | bitwise OR ; bitwise AND ; ~ bitwise NOT ; ! boolean NOT ; ; Boolean flags can be turned on using the values 1, On, True or Yes. ; They can be turned off using the values 0, Off, False or No. ; ; An empty string can be denoted by simply not writing anything after the equal ; sign, or by using the None keyword: ; ; foo = ; sets foo to an empty string ; foo = none ; sets foo to an empty string ; foo = "none"; sets foo to the string 'none' ; ; If you use constants in your value, and these constants belong to a dynamically ; loaded extension (either a PHP extension or a Zend extension), you may only ; use these constants *after* the line that loads the extension. ; ; All the values in the php.ini-dist file correspond to the builtin ; defaults (that is, if no php.ini is used, or if you delete these lines, ; the builtin defaults will be identical). ; Language Options ; engine = On ; Enable the PHP scripting language engine under Apache short_open_tag = On ; allow the ? tag. otherwise, only ?php and script tags are recognized. asp_tags= Off ; allow ASP-style % % tags precision = 14 ; number of significant digits displayed in floating point numbers y2k_compliance = Off ; whether to be year 2000 compliant (will cause problems with non y2k compliant browsers) output_buffering= Off ; Output buffering allows you to send header lines (including cookies) ; even after you send body content, in the price of slowing PHP's ; output layer a bit. ; You can enable output buffering by in runtime by calling the output ; buffering functions, or enable output buffering for all files ; by setting this directive to On. output_handler = ; You can redirect all of the output of your scripts to a function,
[PHP-DEV] PHP 4.0 Bug #8865 Updated: App launching with hotkeys delayed
ID: 8865 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Apache related Assigned To: Comments: Previous Comments: --- [2001-01-23 12:28:42] [EMAIL PROTECTED] With PHP as module, several second delay (totally freezing windows) when launching applications using Windows' hot-keys. (Seems related to bug 8864) This tried with PHP 4.0.1 up to 4.0.5dev. --- Full Bug description available at: http://bugs.php.net/?id=8865 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #8846 Updated: gmdate() causes crash. Using Apache + Win2K
ID: 8846 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Reproduceable crash Assigned To: Comments: gmdate() crashes if -1 is given as timestamp (gmmktime() is returning -1 if an error occured) Previous Comments: --- [2001-01-22 19:25:01] [EMAIL PROTECTED] hi, This bug is reproduceable after the releases of 4.0.2 and above. It works fine with 4.0.1pl1 Following are the functions that causes crash (I get access violation). $lday = gmdate('l', gmmktime(0,0,0,$month,$day,$year)); $lmonth = gmdate('F', gmmktime(0,0,0,$month,$day,$year)); Where $day, $month $year are e.g. 10, 2, 2000 As i am running Win2K, and i have Dr.Watson installed. It actually logs the errors in a file. Below is the complete error log that Win2K made. Application exception occurred: App: (pid=1592) When: 1/23/2001 @ 00:03:06.221 Exception number: c005 (access violation) * System Information * Computer Name: DAARIUS User Name: SYSTEM Number of Processors: 1 Processor Type: x86 Family 6 Model 8 Stepping 6 Windows 2000 Version: 5.0 Current Build: 2195 Service Pack: 1 Current Type: Uniprocessor Free Registered Organization: Registered Owner: Daarius * Task List * 0 Idle.exe 8 System.exe 176 SMSS.exe 200 csrss.exe 220 WINLOGON.exe 248 services.exe 260 LSASS.exe 428 svchost.exe 456 SPOOLSV.exe 508 msdtc.exe 608 Apache.exe 624 Ati2evxx.exe 640 svchost.exe 672 Apache.exe 884 mysqld-sharewar.exe 936 regsvc.exe 952 mstask.exe 976 tcpsvcs.exe 1012 snmp.exe 1052 stisvc.exe 1088 WinMgmt.exe 1104 mqsvc.exe 1324 explorer.exe 1432 atiptaxx.exe 1456 SynTPLpr.exe 1412 SynTPEnh.exe 1472 prpcui.exe 1476 DIRECTCD.exe 1492 internat.exe 1504 OSA.exe 1664 IEXPLORE.exe 1716 mdm.exe 1640 EditPad.exe 1592 php.exe 1668 DRWTSN32.exe 0 _Total.exe (0040 - 00405000) (77F8 - 77FFA000) (1000 - 100F9000) (77E8 - 77F35000) (77E1 - 77E74000) (77F4 - 77F7C000) (7505 - 75058000) (7503 - 75044000) (7800 - 78046000) (77DB - 77E0A000) (77D4 - 77DB) (7502 - 75028000) (77A5 - 77B45000) (779B - 77A45000) (1F7D - 1F804000) (76B3 - 76B6E000) (70BD - 70C1C000) (7170 - 7178A000) (6980 - 69A42000) (780A - 780B2000) (1F8C - 1F8D6000) (7828 - 7828C000) (7798 - 779A4000) (777E - 777E8000) (7795 - 77979000) (777F - 777F5000) (7783 - 7783E000) (74FD - 74FED000) (7734 - 77353000) (7752 - 77525000) (7732 - 77337000) (7515 - 7515F000) (7517 - 751BF000) (77BE - 77BEF000) (751C - 751C6000) (773B - 773DE000) (7738 - 773A2000) (7788 - 7790D000) (77C1 - 77C6D000) (774E - 77512000) (774C - 774D1000) (7753 - 77552000) (7736 - 77379000) (691D - 69255000) (7501 - 75017000) State Dump for Thread Id 0x258 eax= ebx=0012f54c ecx=0009 edx=005138f0 esi= edi=0012f54c eip=10005ca6 esp=0012f504 ebp=00ad8b38 iopl=0 nv up ei pl zr na po nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs= efl=0246 function: php_gmtime_r 10005c87 57 pushedi 10005c88 50 pusheax 10005c89 e8223f0800 calltsrm_mutex_lock (10089bb0) 10005c8e 8b4c2414 mov ecx,[esp+0x14] ss:00bacadb= 10005c92 51 pushecx 10005c93 ff1514c20b10ds:100bc214=7802a3b5 call dword ptr [zend_ptr_stack_clean+0x10914 (100bc214)] 10005c99 8b5c241c mov ebx,[esp+0x1c] ss:00bacadb= 10005c9d b90900 mov ecx,0x9 10005ca2 8bf0 mov esi,eax 10005ca4 8bfb mov edi,ebx FAULT -10005ca6 f3a5rep movsd ds:= es:0012f54c=0004 10005ca8 8b1518c30e10ds:100ec318=005138f0 mov edx,[php_ini_path+0x48 (100ec318)] 10005cae 52 pushedx 10005caf e81c3f0800 calltsrm_mutex_unlock (10089bd0) 10005cb4 83c40c add esp,0xc 10005cb7 8bc3 mov eax,ebx 10005cb9 5f pop edi 10005cba 5e pop esi 10005cbb 5b pop ebx 10005cbc c3 ret 10005cbd 90 nop 10005cbe 90 nop (Please could you fix this as soon as possible, as it is holding my whole development. I am using
[PHP-DEV] PHP 4.0 Bug #9709 Updated: Unable to load php_ldap.dll
ID: 9709 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Dynamic loading Assigned To: Comments: seems like libsasl.dll isn't found. copy libsasl.dll to %WinDir%/system(32). Previous Comments: --- [2001-03-12 10:28:50] [EMAIL PROTECTED] When I try to enable the ldap extension I get the following error, other extensions I use work fine. The path to the library is correct and the file is available. PHP Warning: Unable to load dynamic library 'D:/php4/extensions/php_ldap.dll' - The specified module could not be found. in Unknown on line 0 --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9709edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #8846 Updated: gmdate() causes crash. Using Apache + Win2K
ID: 8846 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: fixed in cvs Previous Comments: --- [2001-02-17 17:55:23] [EMAIL PROTECTED] This snippet ?php echo gmdate ("M d Y H:i:s", -1); ? still crashes on Win32. Could some kind soul please look into this issue? --- [2001-01-25 17:45:33] [EMAIL PROTECTED] gmdate() crashes if -1 is given as timestamp (gmmktime() is returning -1 if an error occured) --- [2001-01-22 19:25:01] [EMAIL PROTECTED] hi, This bug is reproduceable after the releases of 4.0.2 and above. It works fine with 4.0.1pl1 Following are the functions that causes crash (I get access violation). $lday = gmdate('l', gmmktime(0,0,0,$month,$day,$year)); $lmonth = gmdate('F', gmmktime(0,0,0,$month,$day,$year)); Where $day, $month $year are e.g. 10, 2, 2000 As i am running Win2K, and i have Dr.Watson installed. It actually logs the errors in a file. Below is the complete error log that Win2K made. Application exception occurred: App: (pid=1592) When: 1/23/2001 @ 00:03:06.221 Exception number: c005 (access violation) * System Information * Computer Name: DAARIUS User Name: SYSTEM Number of Processors: 1 Processor Type: x86 Family 6 Model 8 Stepping 6 Windows 2000 Version: 5.0 Current Build: 2195 Service Pack: 1 Current Type: Uniprocessor Free Registered Organization: Registered Owner: Daarius * Task List * 0 Idle.exe 8 System.exe 176 SMSS.exe 200 csrss.exe 220 WINLOGON.exe 248 services.exe 260 LSASS.exe 428 svchost.exe 456 SPOOLSV.exe 508 msdtc.exe 608 Apache.exe 624 Ati2evxx.exe 640 svchost.exe 672 Apache.exe 884 mysqld-sharewar.exe 936 regsvc.exe 952 mstask.exe 976 tcpsvcs.exe 1012 snmp.exe 1052 stisvc.exe 1088 WinMgmt.exe 1104 mqsvc.exe 1324 explorer.exe 1432 atiptaxx.exe 1456 SynTPLpr.exe 1412 SynTPEnh.exe 1472 prpcui.exe 1476 DIRECTCD.exe 1492 internat.exe 1504 OSA.exe 1664 IEXPLORE.exe 1716 mdm.exe 1640 EditPad.exe 1592 php.exe 1668 DRWTSN32.exe 0 _Total.exe (0040 - 00405000) (77F8 - 77FFA000) (1000 - 100F9000) (77E8 - 77F35000) (77E1 - 77E74000) (77F4 - 77F7C000) (7505 - 75058000) (7503 - 75044000) (7800 - 78046000) (77DB - 77E0A000) (77D4 - 77DB) (7502 - 75028000) (77A5 - 77B45000) (779B - 77A45000) (1F7D - 1F804000) (76B3 - 76B6E000) (70BD - 70C1C000) (7170 - 7178A000) (6980 - 69A42000) (780A - 780B2000) (1F8C - 1F8D6000) (7828 - 7828C000) (7798 - 779A4000) (777E - 777E8000) (7795 - 77979000) (777F - 777F5000) (7783 - 7783E000) (74FD - 74FED000) (7734 - 77353000) (7752 - 77525000) (7732 - 77337000) (7515 - 7515F000) (7517 - 751BF000) (77BE - 77BEF000) (751C - 751C6000) (773B - 773DE000) (7738 - 773A2000) (7788 - 7790D000) (77C1 - 77C6D000) (774E - 77512000) (774C - 774D1000) (7753 - 77552000) (7736 - 77379000) (691D - 69255000) (7501 - 75017000) State Dump for Thread Id 0x258 eax= ebx=0012f54c ecx=0009 edx=005138f0 esi= edi=0012f54c eip=10005ca6 esp=0012f504 ebp=00ad8b38 iopl=0 nv up ei pl zr na po nc cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs= efl=0246 function: php_gmtime_r 10005c87 57 pushedi 10005c88 50 pusheax 10005c89 e8223f0800 calltsrm_mutex_lock (10089bb0) 10005c8e 8b4c2414 mov ecx,[esp+0x14] ss:00bacadb= 10005c92 51 pushecx 10005c93 ff1514c20b10ds:100bc214=7802a3b5 call dword ptr [zend_ptr_stack_clean+0x10914 (100bc214)] 10005c99 8b5c241c mov ebx,[esp+0x1c] ss:00bacadb= 10005c9d b90900 mov ecx,0x9 10005ca2 8bf0 mov esi,eax 10005ca4 8bfb mov edi,ebx FAULT -10005ca6 f3a5rep movsd ds:= es:0012f54c=0004 10005ca8 8b1518c30e10ds:100ec318=005138f0 mov edx,[php_ini_path+0x48 (100ec318)] 10005cae 52 pushedx 10005caf e81c3f0800 calltsrm_mutex_unlock (10089bd0) 10005cb4 83c40c add esp,0xc 100
[PHP-DEV] PHP 4.0 Bug #9626 Updated: unable to use sybase-extension
ID: 9626 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Sybase-ct (ctlib) related Assigned To: Comments: can you please download the dependcy walker and check if all external dlls are found? http://www.dependencywalker.com Previous Comments: --- [2001-03-08 10:51:24] [EMAIL PROTECTED] When I am trying to connect a sybase-database using the php_sybase_ct.dll module, but all I get is a pop-up window telling: "Unable to load dynamic library './extensions/php_sybase-ct.dll' - The dynamic library could not be found.". I have really worked hard on this one. I'm sure that the path is correct spelled in php.ini, because the postgreSQL-dll placed in the same directory and it's working out fine. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9626edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9619 Updated: {0,300} returns REG_BADRPT-Warning
ID: 9619 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Regular Expressions Assigned To: Comments: the regex will have to look like the following ^(.{0,99}[^ ]*).*$ the ereg functions seem only to support values 0 100 for the intervals. use preg_replace instead of eregi_replace. Previous Comments: --- [2001-03-08 06:59:22] [EMAIL PROTECTED] $regex = "^(.*{0,300}[^ ]*).*$"; $txt = eregi_replace($regex,"\1",$txt); This Script was written to split a string after 300 lines and the next whitespace. Everytime I use it, it returns the following error: Warning: REG_BADRPT: in f:wwwtest.php on line 12 (With PHP4.0.4pl1 and PHP3.?.?) The critical part of the regex is {0,300} Values from {0,1} to {0,99} are no problem. But every Values bigger 99 are returning this error. I tried to split the regex into: $regex = "^(.*{0,50}.*{0,50}.*{0,50}.*{0,50}.*{0,50}.*{0,50}[^ ]*).*$" But with this regex I only get a white page without any output. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9619edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9617 Updated: fileposition error
ID: 9617 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Filesystem function related Assigned To: Comments: following script works okay for me (win2k) so closing. ?php $output = fopen("test.txt", "a+"); echo "bytes written: ", fputs($output, "test"), "\nbrfile offset: ". ftell($output); fclose($output); ? Previous Comments: --- [2001-03-08 06:02:20] [EMAIL PROTECTED] Open an existing text file (insert some crap before) like: $output = fopen("test.txt", "a"); #we want append something Here is the problem: $position = ftell($output); #returns always 0 and not the real fileposition!!! fputs($output, "test"); #but this works without any problems (it has the real fileposition, but ftell gets the false one) I found this bug only on windows systems, not on linux. Achim --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9617edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9732 Updated: Using PHP in ISAPI mode, the ASP Server stops to work
ID: 9732 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: IIS related Assigned To: Comments: do you have the "asp_tags" configuration value enabled or disable? Previous Comments: --- [2001-03-13 20:10:07] [EMAIL PROTECTED] I've downloaded the ISAPI flavour of PHP 4.04pl1, and installed the DLL's under MS-WIN 2000 Server (IIS 5.0)following the instructions. The problem: since the first PHP page is connected from the server, all ASP functions stop to work! As well as the PHP functions. I was forced to remove PHP functions from my server. There's another version - CGI-BIN executable mode - wich I was unable to install, I get an error message: MSCOMCTL.OCX is missing. I've checked other Win2K servers, and also the Microsoft Download website, but was unable to find this library. Where should I go? This problem is keepin' away my company from offer PHP functions along the network, and there is no possibility to migrate to an Unix/Linux server right now. So, I'm waiting for some tip in order to run PHP (ISAPI or CGI-BIN version, at your pleasure) in my poor IIS 5.0 server. Thanks, Fernando Teodoro Rantac Comunicações --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9732edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9853 Updated: pg_cmdtuples function does not exist
ID: 9853 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: PostgreSQL related Assigned To: Comments: fixed in cvs Previous Comments: --- [2001-03-19 23:16:09] [EMAIL PROTECTED] The pg_cmdtuples function does not exist in the pgsql.dll supplied with the windows version of PHP. This is disastrous for applications that need that functionality!! Chris --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9853edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #6554 Updated: file_exists not working with UNC names
ID: 6554 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: fixed in cvs, but you'll have to wait for 4.0.6 Previous Comments: --- [2000-09-05 11:09:29] [EMAIL PROTECTED] Actually, I guess nothing is working with UNC pathes in PHP. Windows file naming schemes suck very badly. --- [2000-09-05 10:44:42] [EMAIL PROTECTED] Web Server : Apache 1.3.9 (win32) Reproduce : On a Windows NT box with PHP and Apache, create a page the calls the file_exists func on a known machinesharefile You will need to create a share on that machine or another. For example : if (file_exists("\\machine\share\fred.txt") { echo "ExistsBR"; } else { echo "Does not ExistBR"; } The file_exists function will always return false. The function works fine with drive letter associations, but not for UNC notation on win32. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6554edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10045 Updated: no php_calendar.dll php_ftp.dll and php_mssql70.dll
ID: 10045 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Bogus Status: Closed Bug Type: *Extensibility Functions Assigned To: Comments: ftp and calendar are built-in (look at phpinfo()) there should be only one mssql extension left, named php_mssql.dll Previous Comments: --- [2001-03-29 03:02:18] [EMAIL PROTECTED] so you have to build them yourself ... (blame your OS if it came without a compiler) --- [2001-03-29 02:57:21] [EMAIL PROTECTED] so you have to build them yourself ... (blame your OS if it came without a compiler) --- [2001-03-28 21:14:26] [EMAIL PROTECTED] c:phpextension have no php_calendar.dll php_ftp.dll and php_mssql70.dll. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10045edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10139 Updated: PHP crashes in CGI Mode
ID: 10139 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: FDF related Assigned To: Comments: already fixed in cvs - will be in 4.0.5 Previous Comments: --- [2001-04-03 11:39:10] [EMAIL PROTECTED] Yes, I downloaded the 4.0.5RC1 (3/16) from php4win.de and I still have the problem. I've read some of the related bug reports on php-dev and it seems that FDFtk might be old for win32. Thanks for the quick reponse. --- [2001-04-03 11:30:37] [EMAIL PROTECTED] Please try the latest CVS build from http://www.php4win.de/ as there have been some fixes regarding this. Reopen this bug report if still crashes. --Jani --- [2001-04-03 11:28:35] [EMAIL PROTECTED] Install 4.04pl1 or later and install the FDFtk.dll as instructed in system32 directory. Install the extension. Run phpinfo(). PHP executes and then never closes. Run any php script, same problems occur. Running IIS 4.0. Does not occur in 4.0.3 Occurs in Win2k with IIS 5.0 as well. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10139edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #10015 Updated: inetinfo.exe crashes!
ID: 10015 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: IIS related Assigned To: Comments: are sou using isapi or the cgi? Previous Comments: --- [2001-03-27 08:19:57] [EMAIL PROTECTED] I have: win 2000 ( service pack 1 ) mssql 2000 iis 5.0 when I ask the mssql a query, inetinfo to crash. I tryed to install all of it again but did not help. Can someone help me?? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10015edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9964 Updated: Unresolved symbols
ID: 9964 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Compile Failure Assigned To: Comments: com linkage still seems to be broken (external modules like dotnet fail to link). can someone familiar with them please have a look at it? Previous Comments: --- [2001-03-26 01:47:39] [EMAIL PROTECTED] I was trying to build with php.dsw workspace. phpts.dsw compiles right up. Must have neglected to read the instructions. Leaving this ticket open, because I think php4.dsw should be removed from the distribution, unless it serves some other purpose. --- [2001-03-24 01:12:25] [EMAIL PROTECTED] Trying to build php from recent cvs snaps php4-200103231245 and one from a day earlier. Compile is smooth, except for a few unresolved symbols: Linking... Creating library ..Debug/php4nts_debug.lib and object ..Debug/php4nts_debug.exp internal_functions_win32.obj : error LNK2001: unresolved external symbol _VARIANT_module_entry COM.obj : error LNK2001: unresolved external symbol _php_char_to_OLECHAR COM.obj : error LNK2001: unresolved external symbol _php_OLECHAR_to_char COM.obj : error LNK2001: unresolved external symbol _php_pval_to_variant COM.obj : error LNK2001: unresolved external symbol _php_variant_to_pval ..Debugphp4nts_debug.dll : fatal error LNK1120: 5 unresolved externals Error executing link.exe. php4nts_debug.dll - 6 error(s), 0 warning(s) --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9964edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #8436 Updated: functions exec() and system() does not work properly (?)
ID: 8436 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Closed Bug Type: Program Execution PHP Version: 4.0.4 Assigned To: derick Comments: fixed in cvs, wait for 4.0.6 Previous Comments: --- [2001-02-25 10:54:04] [EMAIL PROTECTED] Working on it --- [2000-12-27 08:54:38] [EMAIL PROTECTED] I've found problems with executing this script: ? exec(pkzip vv.zip aaa.dbf); ? (pkzip - dos zip version) In Netscape 4.7. after first execute of it I get information: Unable fork [pkzip vv.zip aaa.dbf] All next executes probably cause suspending Apache. In PHP3 there was no such problems. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8436edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #4761 Updated: exec, system all give an error on a fork...
ID: 4761 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Closed Bug Type: *General Issues PHP Version: 4.0.0 Release Assigned To: derick Comments: fixed in cvs, wait for 4.0.6 Previous Comments: --- [2000-07-31 15:59:47] [EMAIL PROTECTED] just duped to other bugs, appears on w98,win2k,winnt with IIS4 and IIS5 (maybe Xitami too)... --- [2000-07-31 15:51:32] [EMAIL PROTECTED] it´s five bugs now... --- [2000-07-30 08:45:55] [EMAIL PROTECTED] I cannot get ISAPI filter to install in IIS on Win2k Pro. When I install the filter and restart iis, the internet service manager hangs. However, there are 4 separate bugs reports and at least two messages posted to php-win confirming this behavior. --- [2000-06-10 19:28:01] [EMAIL PROTECTED] This is not a crash --- [2000-06-01 18:33:47] [EMAIL PROTECTED] script language=php # for linux #$imageRoot = /home/httpd/html/mrsid/mrsid_images/sample; #$binRoot = /home/httpd/html/mrsid/bin; #exec($binRoot/mrsid_retrieve -quiet -i $file -o d:/temp/out.jpg -icon); # for windows $imageRoot = d:/inetpub/wwwroot/sid/sample; $binRoot = d:/inetpub/wwwroot/sid/bin; $file = $imageRoot/aerial.sid; # exec-ing any command fails with 'could not fork' backticks, and system do the same exec($binRoot/mrsid_extract -i $file -o d:/temp/out.jpg -icon); $fp = fopen(d:/temp/out.jpg, rb); Header (Content-Type: image/jpeg); fpassthru($fp); /script --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=4761edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #9069 Updated: Unable to fork error when trying to use external program execution.
ID: 9069 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Closed Bug Type: Program Execution PHP Version: 4.0.4pl1 Assigned To: derick Comments: fixed in cvs, wait for 4.0.6 Previous Comments: --- [2001-02-25 10:54:49] [EMAIL PROTECTED] Working on it --- [2001-02-02 06:59:07] [EMAIL PROTECTED] I use PHP 4.0.4 pl1 on a machine running Windows NT4 Server, with sp 6 and IIS4 When I try to use any of the functions exec(), system() or passthru(), I receive the following error: Warning: Unable to fork [dir /w c:test.txt] in D:Inetpubwwwrootcooldim.comtest.php on line 2. This error was displayed when trying to run the following code: ? passthru(dir /w c:\test.txt); ? I tried a similar script on a Unix machine which worked fine... Help Please! --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9069edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #9371 Updated: system() give unable to fork error
ID: 9371 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Closed Bug Type: Unknown/Other Function PHP Version: 4.0.4pl1 Assigned To: derick Comments: fixed in cvs, wait for 4.0.6 Previous Comments: --- [2001-02-25 10:55:20] [EMAIL PROTECTED] working on it --- [2001-02-21 08:21:05] [EMAIL PROTECTED] I am running an apache server, which hosts my php pages, on win2k. I am trying to use the system command for some PGP encryption stuff but am getting an unable to fork error! For testing I have created the following script: ? system(C:\notepad.exe); ? NOTE: I have copied notepad.exe over to the root directory. I am running PHP 4.0.5. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9371edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #9476 Updated: can't use 'system', 'passthru',... from apache. works when direct php.exe
ID: 9476 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Program Execution PHP Version: 4.0.4pl1 Assigned To: Comments: fixed in cvs, wait for 4.0.6 please note that dir isn't a real command try something like passthru(getenv(COMSPEC) . /c dir); Previous Comments: --- [2001-02-27 06:25:27] [EMAIL PROTECTED] php 4.0.4 AND php 4.0.4pl1 apache 1.3.14 w2k both as cgi and as apache module program execution functions don't work. (warning.. can't fork... ) when using direct php.exe to run the file (i.e. phpphp dir.php) works fine where dir.php contains: ?php passthru(dir); ? regards avi ps it would have been more appropriate to return file not found in php 404, and access forbidden in php 403 :) --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9476edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10410 Updated: display warning BUT update database !!
ID: 10410 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: MySQL related PHP Version: 4.0.4pl1 Assigned To: Comments: Previous Comments: --- [2001-04-19 17:14:57] [EMAIL PROTECTED] config --- Apache 1.3.19 as standalone server PHP 4.0.4pl1 for Win32 platform (standard local developpement station for website creation testing) code - CODE $query = insert into createur (cr_nom, cr_prenom, cr_pseudo, cr_age, cr_email, cr_homepage) values (.$nom., .$prenom., .$pseudo., .$age., .$email., .$homepage.); //create the query string if(($result = mysql_query($query))==FALSE) {...} /CODE message Warning: Supplied argument is not a valid MySQL-Link resource in d:ze_ioioapacheapachewwwaddtodatabase.php on line 44 problem Display the message above but still update database ! things tried - - add $connexion in mysql_query($query, $connexion) = result : same problem - print out the string $query before executing it = query is okay - execute query from mysqlmanager utility = no problem reported by mysqlmanager - cut and paste the working mysqlmanager query into source code = problem is still there Please help ! --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10410edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10342 Updated: TSRM.DSP containing LF instead of CR/LF
ID: 10342 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Problem PHP Version: 4.0 Latest CVS (11/04/2001) Assigned To: Comments: cvs will automatically converting LF/CR to just a LF, so it doesn't matter if you're checking in with LF/CR or just LF. on checkout CVS will use the system's setting to convert the LF. Previous Comments: --- [2001-04-16 00:04:04] [EMAIL PROTECTED] There's allready a bug still open for it from last year ( #8480). The annotation to this bug stated that checking out under win32 does automatic line conversion. Under certain circumstances this doesn't seem to be true because when checking out the file its still in unix style. So, MSVC still isn't able to open (and, altough its easy to fix it locally you first have to find the problem ...) The easiest way would probably to check this file in with CL/LF ? Just :set ff=dos and :w ;-) ty Markus --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10342edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10270 Updated: PHP 4.05+ Won't Compile on Win32 Coz of Zend Errors
ID: 10270 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Failure PHP Version: 4.0 Latest CVS (23/04/2001) Assigned To: Comments: unable to reproduce. make sure that you use a recent bison 1.27 or 1.28. also make sure that you do a complete new checkout of both cvs systems ( zend cvs and php cvs ). Previous Comments: --- [2001-04-23 17:38:23] [EMAIL PROTECTED] Here is the M$ VC6 (SP5) - Zend Compilation Log (the Failure Responsible) : Configuration: Zend - Win32 Release Compiling... zend.c zend_alloc.c zend_API.c zend_builtin_functions.c zend_compile.c zend_constants.c zend_execute.c zend_execute_API.c zend_extensions.c zend_hash.c zend_highlight.c zend_indent.c zend_ini.c zend_ini_parser.c /usr/share/bison.simple(249) : warning C4027: function declared without formal parameter list /usr/share/bison.simple(432) : warning C4133: 'function' : incompatible types - from 'struct _zval_struct *' to 'struct _znode *' zend_ini_scanner.c zend_ini_scanner.l(56) : error C2065: 'ini_lineno' : undeclared identifier zend_language_parser.c zend_language_scanner.c zend_language_scanner.c(5482) : warning C4273: 'isatty' : inconsistent dll linkage. dllexport assumed. zend_list.c zend_llist.c zend_opcode.c Generating Code... Compiling... zend_operators.c zend_ptr_stack.c zend_sprintf.c zend_stack.c zend_variables.c Generating Code... Error executing cl.exe. Zend.lib - 1 error(s), 3 warning(s) === This is The 2nd time I Submit this bug/misconfig (the 1st time's # is 10270) , Please Fix it up ! --- [2001-04-16 07:01:19] [EMAIL PROTECTED] Works fine for me make sure you have Zend and TSRM directories in right place and are defining PHP_WIN32 and ZEND_WIN32. -James --- [2001-04-10 15:46:49] [EMAIL PROTECTED] PHP 4.05 RC6 Latest CVS of 10/04/2001 Won't Compile on Win32 (W98ENA_SE) by M$ VC6 (SP5) Because of Zend ZendTS - Missing Files / Configuration !! I've got Compilation Logs , so Just ask if Needed ... --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10270edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10255 Updated: Exec(), System or even backtics dont work
ID: 10255 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Unknown/Other Function PHP Version: 4.0.4pl1 Assigned To: Comments: fixed in cvs, please wait for 4.0.6. also note that dir isn't a real command/executable. you'll have to do cmd.exe /c dir or command.com /c dir you can use getenv(COMSPEC) to determine the command interpreter. Previous Comments: --- [2001-04-09 19:35:29] [EMAIL PROTECTED] Exec(), System or even backtics dont work. i've tried everything. ?php $test = system(dir, $return_value); echo $test; echo $return_value; ? i only get 0 as a $return_value here is a copy of my php.ini [PHP] ;;; ; About this file ; ;;; ; This file controls many aspects of PHP's behavior. In order for PHP to ; read it, it must be named 'php.ini'. PHP looks for it in the current ; working directory, in the path designated by the environment variable ; PHPRC, and in the path that was defined in compile time (in that order). ; Under Windows, the compile-time path is the Windows directory. The ; path in which the php.ini file is looked for can be overriden using ; the -c argument in command line mode. ; ; The syntax of the file is extremely simple. Whitespace and Lines ; beginning with a semicolon are silently ignored (as you probably guessed). ; Section headers (e.g. [Foo]) are also silently ignored, even though ; they might mean something in the future. ; ; Directives are specified using the following syntax: ; directive = value ; Directive names are *case sensitive* - foo=bar is different from FOO=bar. ; ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression ; (e.g. E_ALL ~E_NOTICE), or a quoted string (foo). ; ; Expressions in the INI file are limited to bitwise operators and parentheses: ; | bitwise OR ; bitwise AND ; ~ bitwise NOT ; ! boolean NOT ; ; Boolean flags can be turned on using the values 1, On, True or Yes. ; They can be turned off using the values 0, Off, False or No. ; ; An empty string can be denoted by simply not writing anything after the equal ; sign, or by using the None keyword: ; ; foo = ; sets foo to an empty string ; foo = none ; sets foo to an empty string ; foo = none; sets foo to the string 'none' ; ; If you use constants in your value, and these constants belong to a dynamically ; loaded extension (either a PHP extension or a Zend extension), you may only ; use these constants *after* the line that loads the extension. ; ; All the values in the php.ini-dist file correspond to the builtin ; defaults (that is, if no php.ini is used, or if you delete these lines, ; the builtin defaults will be identical). ; Language Options ; engine = On ; Enable the PHP scripting language engine under Apache short_open_tag = On ; allow the ? tag. otherwise, only ?php and script tags are recognized. asp_tags= Off ; allow ASP-style % % tags precision = 14 ; number of significant digits displayed in floating point numbers y2k_compliance = Off ; whether to be year 2000 compliant (will cause problems with non y2k compliant browsers) output_buffering= Off ; Output buffering allows you to send header lines (including cookies) ; even after you send body content, in the price of slowing PHP's ; output layer a bit. ; You can enable output buffering by in runtime by calling the output ; buffering functions, or enable output buffering for all files ; by setting this directive to On. output_handler = ; You can redirect all of the output of your scripts to a function, ; that can be responsible to process or log it. For example, ; if you set the output_handler to ob_gzhandler, than output ; will be transparently compressed for browsers that support gzip or ; deflate encoding. Setting an output handler automatically turns
[PHP-DEV] Bug #9747 Updated: Warning: Unable to load dynamic library './msql.dll'
ID: 9747 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: MySQL related PHP Version: 4.0.4pl1 Assigned To: Comments: msql != mysql... mysql support is built-in, you don't need any extension for that. Previous Comments: --- [2001-03-14 16:48:58] [EMAIL PROTECTED] Problem with php/mysql configuration. The php page: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html head titleUntitled/title /head body ?php echo Hello world; ? /body /html The error message: PHP Warning: Unable to load dynamic library './msql.dll' - One of the library files needed to run this application cannot be found. in Unknown on line 0 My php.ini file: [PHP] ;;; ; About this file ; ;;; ; This file controls many aspects of PHP's behavior. In order for PHP to ; read it, it must be named 'php.ini'. PHP looks for it in the current ; working directory, in the path designated by the environment variable ; PHPRC, and in the path that was defined in compile time (in that order). ; Under Windows, the compile-time path is the Windows directory. The ; path in which the php.ini file is looked for can be overriden using ; the -c argument in command line mode. ; ; The syntax of the file is extremely simple. Whitespace and Lines ; beginning with a semicolon are silently ignored (as you probably guessed). ; Section headers (e.g. [Foo]) are also silently ignored, even though ; they might mean something in the future. ; ; Directives are specified using the following syntax: ; directive=value ; Directive names are *case sensitive* - foo=bar is different from FOO=bar. ; ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression ; (e.g. E_ALL ~E_NOTICE), or a quoted string (foo). ; ; Expressions in the INI file are limited to bitwise operators and parentheses: ; | bitwise OR ; bitwise AND ; ~ bitwise NOT ; ! boolean NOT ; ; Boolean flags can be turned on using the values 1, On, True or Yes. ; They can be turned off using the values 0, Off, False or No. ; ; An empty string can be denoted by simply not writing anything after the equal ; sign, or by using the None keyword: ; ; foo=; sets foo to an empty string ; foo=none; sets foo to an empty string ; foo=none ; sets foo to the string 'none' ; ; If you use constants in your value, and these constants belong to a dynamically ; loaded extension (either a PHP extension or a Zend extension), you may only ; use these constants *after* the line that loads the extension. ; ; All the values in the php.ini-dist file correspond to the builtin ; defaults (that is, if no php.ini is used, or if you delete these lines, ; the builtin defaults will be identical). ; Language Options ; engine=On ; Enable the PHP scripting language engine under Apache short_open_tag=On ; allow the ? tag. otherwise, only ?php and script tags are recognized. asp_tags=Off ; allow ASP-style % % tags precision=14; number of significant digits displayed in floating point numbers y2k_compliance=Off ; whether to be year 2000 compliant (will cause problems with non y2k compliant browsers) output_buffering=Off; Output buffering allows you to send header lines (including cookies) ; even after you send body content, in the price of slowing PHP's ; output layer a bit. ; You can enable output buffering by in runtime by calling the output ; buffering functions, or enable output buffering for all files ; by setting this directive to On. output_handler=; You can redirect all of the output of your scripts to a function, ; that can be responsible to process or log it. For example, ; if you set the output_handler to ob_gzhandler, than output ; will be transparently compressed for browsers that support gzip or ; deflate encoding. Setting an output handler automatically turns on ; output buffering. implicit_flush=Off ; Implicit flush tells PHP to tell the output layer to flush itself ; automatically after every output block. This is equivalent to ; calling the PHP function flush() after each and every call to print() ; or echo() and each and every HTML block. ; Turning this option on has serious performance implications, and ; is generally recommended for debugging purposes only. allow_call_time_pass_reference=On ; whether to enable the ability to force arguments to be ; passed by reference at function-call time. This method ; is deprecated, and is likely to be unsupported in future ; versions of PHP/Zend. The encouraged method of specifying
[PHP-DEV] Bug #9485 Updated: Missing libsasl.dll
ID: 9485 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: LDAP related PHP Version: 4.0.4pl1 Assigned To: Comments: nope it doesn't Previous Comments: --- [2001-02-27 12:06:08] [EMAIL PROTECTED] PHP4 Win32 binaries distribution contains a dll called php_ldap.dll, but it needs a missing dll called libsasl.dll --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9485edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #6553 Updated: Installing PHP4 on IPlanet 4.x on Win32
ID: 6553 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: Documentation problem PHP Version: 4.0.2 Assigned To: Comments: install instructions are now in install.txt Previous Comments: --- [2000-11-17 11:25:57] [EMAIL PROTECTED] -- Chaning state --- [2000-11-17 11:25:36] [EMAIL PROTECTED] There are instrunctions on how to install cgi modules here http://docs.iplanet.com/docs/manuals/enterprise/41/pg/1-intro.htm#13286 use these to install PHP. I will add docus to the manual if I get a chance later tonight. --- [2000-11-01 09:36:25] [EMAIL PROTECTED] reclassified --- [2000-09-05 10:36:29] [EMAIL PROTECTED] Trying to find documentation on installing PHP4 on IPlanet 4.X. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6553edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #8799 Updated: snmp.dll displays error message on all generated pages
ID: 8799 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Analyzed Status: Closed Bug Type: Documentation problem PHP Version: 4.0.4pl1 Assigned To: Comments: install.txt was updated accordingly. Previous Comments: --- [2001-01-23 17:00:25] [EMAIL PROTECTED] changing status --- [2001-01-19 12:52:44] [EMAIL PROTECTED] user feedback: -- yup that fixed it. is that path a compile time option?? -- I'm not familiar with compilation of the SNMP extension, but I think so. anyway, this note (about the required path) can be found in the readme.first file contained in the distro from php4win.de. I haven't found it in the 'official' release, and it should be there, so I'm reclassifying to 'docuprob'. --- [2001-01-19 11:52:24] [EMAIL PROTECTED] try moving the mibs directory to %DRIVE%:/usr/mibs (%DRIVE% being the drive where PHP is installed), and report back, please. --- [2001-01-19 05:44:45] [EMAIL PROTECTED] Windows NT 4.0 SP6a IIS 4.0 php 4.0.4pl1 Win32 binary distribution packaged as zip, from http://www.php.net/downloads.php using PHP.INI-DIST with two extensions enabled mssql.dll and snmp.dll SNMP appears to work however this appears on the bottom of every php generated page, even when no snmp functions are called. -8-- Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) -8-- ---[php.ini]- [PHP] ;;; ; About this file ; ;;; ; ; This is the 'optimized', PHP 4-style version of the php.ini-dist file. ; For general information about the php.ini file, please consult the php.ini-dist ; file, included in your PHP distribution. ; ; This file is different from the php.ini-dist file in the fact that it features ; different values for several directives, in order to improve performance, while ; possibly breaking compatibility with the standard out-of-the-box behavior of ; PHP 3. Please make sure you read what's different, and modify your scripts ; accordingly, if you decide to use this file instead. ; ; - allow_call_time_pass_reference = Off ; It's not possible to decide to force a variable to be passed by reference ; when calling a function. The PHP 4 style to do this is by making the ; function require the relevant argument by reference. ; - register_globals = Off ; Global variables are no longer registered for input data (POST, GET, cookies, ; environment and other server variables). Instead of using $foo, you must use ; $HTTP_POST_VARS[foo], $HTTP_GET_VARS[foo], $HTTP_COOKIE_VARS[foo], ; $HTTP_ENV_VARS[foo] or $HTTP_SERVER_VARS[foo], depending on which kind ; of input source you're expecting 'foo' to come from. ; - register_argc_argv = Off ; Disables registration of the somewhat redundant $argv and $argc global ; variables. ; - magic_quotes_gpc = Off ; Input data is no longer escaped with slashes so that it can be sent into ; SQL databases without further manipulation. Instead, you should use the ; function addslashes() on each input element you wish to send to a database. ; - variables_order = GPCS ; The environment variables are not hashed into the $HTTP_ENV_VARS[]. To access ; environment variables, you can use getenv() instead. ; Language Options ; engine = On ; Enable the PHP scripting language engine under Apache short_open_tag = On ; allow the ? tag. otherwise, only ?php and script tags are recognized. asp_tags= Off ; allow ASP-style % % tags precision = 14 ; number of significant digits displayed in floating point numbers y2k_compliance = Off ; whether to be year 2000 compliant (will cause problems with non y2k compliant browsers) output_buffering= Off ; Output buffering allows you to send header lines (including cookies) ; even after you send body content, in the price of slowing PHP's ; output layer a bit. ; You can enable output buffering by in runtime by calling the output ; buffering functions, or enable output buffering
[PHP-DEV] Bug #10622 Updated: The pg_cmdtuples _still_ does not exist in the php_pgsql.dll in PHP 4.0.5
ID: 10622 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: PostgreSQL related PHP Version: 4.0.5 Assigned To: Comments: it *is* fixed in the cvs, but 4.0.5 was branched before that change was commited. Previous Comments: --- [2001-05-03 03:13:27] [EMAIL PROTECTED] Can you please tell how you concluded that his function doesn't exist? As I look at the sources now, it clearly IS there. When you try to use it, does it give some error message? --Jani --- [2001-05-02 22:33:31] [EMAIL PROTECTED] I reported this bug earlier and it was claimed that it was fixed in CVS, however, the php_pgsql.dll in the .zip version of the windows binaries for PHP 4.0.5 still does not have this function present. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10622edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10621 Updated: Unable to load php_gd.dll
ID: 10621 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Dynamic loading PHP Version: 4.0.5 Assigned To: Comments: 4.0.5 's php_gd.dll works perfectly... Previous Comments: --- [2001-05-03 02:56:10] [EMAIL PROTECTED] open - feedback (fmk: TRY to remember this..) --- [2001-05-02 18:10:05] [EMAIL PROTECTED] did you update php_gd.dll as well. Dll's are build to be used with a specific version of php. If you update php.exe, php4ts.dll and php4isapi.dll you have to update your extensions as well. --- [2001-05-02 17:51:54] [EMAIL PROTECTED] Today, I installed PHP 4.0.5 and conrigured it correctly. I asked him to load the extensions that PHP 4.0.4 was used to load... I got an error Unable to load I just can't understand... With PHP 4.0.4 it was OK, and now, with 4.0.5, it doesn't work... WHY? Hubert L. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10621edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10579 Updated: PHP won't Compile Because of Errors in PHP_DLL
ID: 10579 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Compile Failure PHP Version: 4.0.5 Assigned To: Comments: remove the damn cygwin libaries from your include path you don't need them. please also note that the single threaded php version is unlikly to build under window, try using the php4ts workspace. Previous Comments: --- [2001-05-01 10:53:21] [EMAIL PROTECTED] PHP won't Compile Because of Errors in PHP_DLL ., after a Successful Compilation of Zend , LibMySQL TSRM the PHP_DLL Just Won't Compile ! in Anyway i've Tried !! I've Even tried Adding the Cygwin's (Latest - 1.3.1) Include Dir. to Include files Dirctory list of M$ VC , nothing works . (Tested in Debug Release_inline modes , with without Cygwin's Includes) Please Look @ the Compilation Logs (i can also eMail them to you) : http://members.fortunecity.com/thesexmad/PHP405RC8_CompileLogs.zip --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10579edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10619 Updated: Apache is not able to load the php module
ID: 10619 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Apache related PHP Version: 4.0.5 Assigned To: Comments: unable to repsoduce in the same environment. i guess you haven't replaced everything with the new build. Previous Comments: --- [2001-05-02 16:35:00] [EMAIL PROTECTED] I have PHP being loaded as an Apache module. I am using Apache 1.3.19. I am using the standard Win32 binary release for both PHP and Apache. Here is the line from my httpd.conf file: LoadModule php4_module c:/php/sapi/php4apache.dll I get this error message when trying to start apache: = Syntax error on line 182 of c:/program files/apache group/apache/httpd.conf: Cannot load c:/php/sapi/php4apache.dll into server: (127) The specified procedure could not be found: Note the errors or messages above, and press the (ESC) key to exit. = If I replace the 4.0.5 dll with version 4.0.4pl1, it works just fine. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10619edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #9694 Updated: module not found
ID: 9694 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: IIS related Operating system: PHP Version: 4.0.2 Assigned To: Comments: if php reports so, it'll most likely be that way :) in newer versions there's only one mssql extension (php_mssql.dll) left. also check the php_mssql.dll dependencies with http://www.dependencywalker.com Previous Comments: --- [2001-03-12 02:53:26] [EMAIL PROTECTED] Hai.. try to connect to mssql and got this error Unable to load dynamic library `d:php402/php_mssql70.dll'- The specified module could not be found. Here are my configuration in php.ini Path and directories; ... extension_dir = d:php402;./ Dynamic extension; ... ;Windows Extensions ;extension=php_nsmail.dll ;extension=php_calendar.dll ;extension=php_dbase.dll ;extension=php_filepro.dll ;extension=php_gd.dll ;extension=php_dbm.dll ;extension=php_mssql.dll ;extension=php_zlib.dll ;extension=php_filepro.dll ;extension=php_imap4r2.dll ;extension=php_ldap.dll extension=php_mssql70.dll ;extension=php_crypt.dll ;extension=php_msql2.dll ;extension=php_odbc.dll --- [2001-03-12 01:51:07] [EMAIL PROTECTED] Hai.. Try to do a mssql connect and get this error Unable to load dynamic library `d:php402/php_mssql70.dll'.The specified module could not be found. Thanks. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9694edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #9299 Updated: magic quotes On - always
ID: 9299 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: PHP options/info functions Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: so is it fixed? Previous Comments: --- [2001-06-05 09:21:20] [EMAIL PROTECTED] I don't have any instance of version 4.0.4p1, but on v4.0.5 it seems to works fine. win2K, Apache/1.3.19 ISAPI. As I remember correct, phpinfo() function showed php.ini file as php.ini, not full path as it is on my computer today ... Andris mailto:[EMAIL PROTECTED] --- [2001-06-05 02:29:31] [EMAIL PROTECTED] And you are sure the php.ini file gets read by PHP? Check the phpinfo() output for this. --Jani --- [2001-02-16 10:49:56] [EMAIL PROTECTED] Magic quotes in PHP.ini file: ; Magic quotes magic_quotes_gpc=Off; magic quotes for incoming GET/POST/Cookie data magic_quotes_runtime=Off; magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_sybase=Off ; Use Sybase-style magic quotes (escape ' with '' instead of ') In fields I wrote: ' at the end of field Output: HTTP_POST_VARS[mngr1_surname] - 2 surname a ' on Linux it works: HTTP_POST_VARS[address1] -Address 1 ' I try to change to magic_quotes=On. It can' t helps. IIS 4.0 ,CGI version Andris --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9299edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11558 Updated: Sybase-CT functions not found.
ID: 11558 Updated by: dbeu Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Sybase-ct (ctlib) related Operating system: PHP Version: 4.0.5 Assigned To: Comments: such functions don't exist in the sybase_ct extension (only one available under win32) Previous Comments: --- [2001-06-19 09:34:20] [EMAIL PROTECTED] Using Sybase-CT library with apache on win2000 NT, I ve got trouble with those below functions : - sybase_min_error_severity ( Fatal error ) - sybase_min_message_severity ( Fatal error ) --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11558edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11825 Updated: system() not working under W2K!!!
ID: 11825 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Function Specific Operating system: PHP Version: 4.0.6 Assigned To: Comments: fixed in cvs, thanks. Previous Comments: --- [2001-07-01 14:08:33] [EMAIL PROTECTED] The function system() in PHP 4.0.6 does not work anymore under W2K! (I suppose under other Windows systems too). As soon as I install PHP 4.0.5 everything works fine again. Please check this!!! Thanks! My config: - Win2000 - Apache Server 1.3.20 - PHP 4.0.6 installed as module on Apache - Zend Optimizer active My test: ? $cmd = net view test.txt; system($cmd); ? Chris --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11825edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11884 Updated: I cant print
ID: 11884 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Assigned Status: Closed Bug Type: Reproducible crash Operating system: PHP Version: 4.0.4 Assigned To: dbeu Comments: a crash bug (i could reproduce) is be fixed in cvs. (please also check your printer driver setup!) you should also consider using printer_draw_text instead of printer_write (which is used for raw printer data only), see http://php.net/manual/en/function.printer-select-font.php for an example. if you need printer_write you may need to change the datatype: printer_set_option($handle, PRINTER_MODE, RAW); Previous Comments: --- [2001-07-06 03:47:13] [EMAIL PROTECTED] I'm assigning this to you Daniel, as you are the maintainer of this extension. Derick --- [2001-07-05 16:17:06] [EMAIL PROTECTED] Hi Derick Yes, it not works, now i trying without a argument in the printer_open() function, and i dont see the error again, but i see the following words Warning: couldn't allocate the printerjob in c:archivos de programaapache groupapachehtdocsavances1porfetelimpresiones.php on line 9 and my program is : $handle = printer_open(Epson); $HOLA=Esta es una pryueba; printer_start_doc($handle,$HOLA,$HOLA); printer_start_page($handle); echo hola; printer_write($handle, Text to print); printer_end_page($handle); printer_end_doc($handle); printer_close($handle); Now, how you see i configurate the php.ini whit a printer.default_printer = Epson plase Helpme --- [2001-07-04 15:36:54] [EMAIL PROTECTED] So it works without a printername, like printer_open(); and it does not work like this: printer_open(HP Deskjet 840C); ? Derick --- [2001-07-04 15:30:32] [EMAIL PROTECTED] Hi Derick yes i´am very shure of that, i am really have a default printer instaled in this php server.. When i put a invalid name in the printer_open(X), i mean a name thats no exists how printer in my computer. i see a warning, but if i put a valid name how HP804C my copmuter stop PHP, please helpme Derick, i need to use this function in my aplication. Sorry by my english, if you know who can help me in spanish please contactme with he. --- [2001-07-04 14:52:52] [EMAIL PROTECTED] Are you sure you have a default printer installed? Derick --- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11884edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12064 Updated: Truetype functions can't locate fonts
ID: 12064 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Summary: Truetype functions can't locate fonts Old Status: Status: Feedback Bug Type: GD related Operating System: Windows 2000 SP1 PHP Version: 4.0.6 New Comment: please use filemon (www.sysinternals.com) to find out where php/gd is searching for the fonts, and report back. thanks. Previous Comments: [2001-07-12 15:40:36] [EMAIL PROTECTED] Rasmus: I did some reading through the GD docs; it seems that GD uses an environment variable called GDFONTPATH to locate its fonts when no path is specified (this seems to imply that the proper extension would also be appended). However, setting this properly did not work. The documentation also says that a full path will be accepted (with .ttf ending) if specified as a parameter. Seems like a problem with the way PHP is passing the string, perhaps. I would play with the source, but I don't have a compiler for this environment right now; it seems that people are not having this problem on Unices, so I won't bother looking there. Any clue? Thanks, Ben [2001-07-12 14:36:33] [EMAIL PROTECTED] No idea about the Windows version, but on UNIX the new GD2 library is hardcoded to look for TTF fonts in /usr/share/fonts/truetype. Also, it automatically adds the .ttf extension itself so in your code you should not put the .ttf extension on your font. [2001-07-11 15:03:28] [EMAIL PROTECTED] The GD TrueType functions can't find fonts; relative paths and absolute paths both do not work. Example (font is in the local directory, and . is part of my php.ini include_path) ? $image = ImageCreateTrueColor(200,200); ImageTTFText($image, 20, 0, 2, 15, $red, d:/path/to/font.ttf, Some text.); header(Content-type: image/jpeg); // alternatively, ImageTTFText($image, 20, 0, 2, 15, $red, font.ttf, Some text.); header(Content-type: image/jpeg); ImageJPEG($image, '', 100); ImageDestroy($image); ? (written off the top of my head, it's in a larger script, but test scripts I wrote and unfortunately deleted don't work either) PHP reports: Warning: Could not find/open font in d:\path\to\fonttest.php on line 3 This is from the binary Win32 distribution of PHP 4.0.6 on php.net. Edit this bug report at http://bugs.php.net/?id=12064edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12265 Updated: ImageTTFText says can't open/find font with GD 2.0
ID: 12265 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: Windows NT 4.0 Workstation (PWS) PHP Version: 4.0.6 New Comment: fixed in cvs, thanks Previous Comments: [2001-07-19 14:46:47] [EMAIL PROTECTED] Using the precompiled php_gd.dll that comes with PHP 4.0.6 (GD v2.0) ImageTTFText() reports could not open/find font whether the font is specified as filename, absolute path or URL. I had to downgrade to GD v1.6 (supplied with PHP 4.0.5) and functionality was back to normal. Just use the sample script at http://www.php.net/manual/en/function.imagettftext.php (you might want to update the documentation sample to use ImagePNG rather than ImageGIF, btw). Edit this bug report at http://bugs.php.net/?id=12265edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12162 Updated: Error loading TTF font
ID: 12162 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: WIN98 PHP Version: 4.0.6 New Comment: fixed in cvs, thanks. Previous Comments: [2001-07-14 06:23:43] [EMAIL PROTECTED] Hallo, I have downloaded new version of PHP a few days ago and today I have found an error - I tried to create an image from text-string and use ImageTTFText function to write some info in. But there is a problem - I have got error message: Warning: Could not find/open font in C:\mb_net\system\nahled.phtml on line 28 Used font is TIMESBD.TTF, my OS is WIN98. I am not able to fix it, same problem is with function ImageTTFBBox. Previous function of PHP was OK. Please, let me know what should I do with this problem. Thank you very much. Honza Hejdrych Edit this bug report at http://bugs.php.net/?id=12162edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12123 Updated: php_gd.dll gives errors for ttf functions
ID: 12123 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: Windows 2k PHP Version: 4.0.6 New Comment: fixed in cvs, thanks. Previous Comments: [2001-07-12 22:27:25] [EMAIL PROTECTED] When using ttf functions (e.g. ImageTTFText) with the php_gd.dll released with PHP v 4.0.6 for windows, I get an error saying that the font file cannot be found/opened even when the path is correct. The problem was eliminated when I replaced the php_gd.dll file I had with one that was released with the 4.0.5 version. Edit this bug report at http://bugs.php.net/?id=12123edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12073 Updated: TTF file is not found
ID: 12073 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: Win2000 PHP Version: 4.0.6 New Comment: fixed in cvs, thanks. Previous Comments: [2001-07-11 17:42:58] [EMAIL PROTECTED] the same script works in 4.0.5 and lower but called with 4.0.6 the TTF file is not found. error msg: Could not find/open font in imagebutton.php in line 6 Edit this bug report at http://bugs.php.net/?id=12073edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11688 Updated: Could not find/open font (ImageTTFBBox, imageTTFText)
ID: 11688 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: GD related Operating System: Win 98 SE and Win NT 4.0 SP 6 PHP Version: 4.0.6 New Comment: fixed in cvs, thanks. Previous Comments: [2001-06-26 03:34:37] [EMAIL PROTECTED] Could not find/open font (ImageTTFBBox, imageTTFText) At version 4.0.5 and earlier it does work. Now in Version 4.0.6 it doesn't work ?php header(Content-type: image/png); $text = Test; $fontfile = ../fonts/times.ttf; $fontsize = 22; $fontangle = 0; $dimtxt = ImageTTFBBox( $fontsize, $fontangle, $fontfile, $text ); $border = 10; $txtsizex = abs($dimtxt[4] - $dimtxt[0]); $txtsizey = abs($dimtxt[5] - $dimtxt[1]); $imgsizex = $txtsizex + 3*$border; $imgsizey = $txtsizey + 5*$border; $txtposx = $border; $txtposy = $txtsizey + $border; $img = imageCreate( $imgsizex, $imgsizey); $col1 = imagecolorallocate( $img, 153, 0, 51); $col2 = imagecolorallocate( $img, 255, 255, 255); imagefill( $img, 0, 0, $col1); imageTTFText( $img, $fontsize, $fontangle, $txtposx, $txtposy, $col2, $fontfile, $text ); imagepng( $img ); imagedestroy( $img ); ? Edit this bug report at http://bugs.php.net/?id=11688edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12248 Updated: Page hangs as soon as I have added the _gd extension in php.ini
ID: 12248 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: GD related Operating System: Win 95 PHP Version: 4.0.6 New Comment: i'm assuming that you use the apache module. i'm unable to reproduce this tough, anyone? Previous Comments: [2001-07-19 07:03:41] [EMAIL PROTECTED] I have modified the php.ini file to include the php_gd extension. As soon as I have done that it is not possible to execute pages with php code on them. If i kill the hanging php process, add the ';' in php.ini it works again. I run the precompiled widows php version currently on the web. I put the php_gd.dll in the windows directory and modified the extensions_dir=c:\windows I run Apache 1.3.20 Edit this bug report at http://bugs.php.net/?id=12248edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12262 Updated: php.exe - Entry Point Not Found
ID: 12262 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Reproducible crash Operating System: Windows 2000 Server, IIS5.0 PHP Version: 4.0.6 New Comment: sounds like you haven't overwritten an old stale dll. first stop your webserver, then overwrite everything with the new distribution and finally restart your webserver. Previous Comments: [2001-07-19 14:01:10] [EMAIL PROTECTED] After installing PHP4.0.6 over the old PHP 4.0.4, I was getting CGI Incorrect Header errors from my php websites, so I tried to run PHP.EXE from the command line to see if that would give a specific error and it pops up an error window stating below: php.exe - Entry Point Not Found The procedure entry point php_output_startup could not be located in the dynamic link library php4ts.dll php4ts.dll does exist in the same directory as PHP.EXE, and I have copied it to %systemroot%\system32. I am running Windows 2000 Server SP2. Edit this bug report at http://bugs.php.net/?id=12262edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12237 Updated: date(T) returns null
ID: 12237 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Date/time related Operating System: Windows NT 4.0 Workstation (PWS) PHP Version: 4.0.6 New Comment: fixed in cvs, thanks. Previous Comments: [2001-07-22 08:32:12] [EMAIL PROTECTED] It also works fine on SunOS media4 5.8 Generic_108528-02 sun4u sparc SUNW,Ultra-4. [2001-07-21 18:19:12] [EMAIL PROTECTED] Works fine on Red Hat Linux 7. Must be a windows/pws problem. Can anyone else with windows/pws test this? [2001-07-18 17:01:34] [EMAIL PROTECTED] // this should print EDT or whatever // but it prints nothing. echo date(T); Edit this bug report at http://bugs.php.net/?id=12237edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10904 Updated: php.exe accesses unreadable memory and crashes
ID: 10904 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: WINNT SP4 PHP Version: 4.0.5 New Comment: can't repoduce this with the apache module or the cgi (4.0.6) under w2k. is this bug still existant for you? Previous Comments: [2001-06-15 09:59:43] [EMAIL PROTECTED] I installed the snapshot from 6/14/2001. I know the installation was successful because PHP issued warnings about not being able to load modules such as GD. I ran it against the small script that demonstrates the defect, and, unfortunately, the defect is still there. [2001-06-14 22:20:21] [EMAIL PROTECTED] please try the latest snapshot from http://www.zend.com/snapshots [2001-05-18 10:50:53] [EMAIL PROTECTED] I believe it is CGI. Httpd.conf contains ScriptAlias /php/ C:/phpdev3/php/ ScriptAlias /php2/ C:/phpdev3/php/ ScriptAlias /php3/ C:/phpdev3/php/ AddType application/x-httpd-php4 .phtml .pwml .htm AddType application/x-httpd-php4 .php4 .php .php3 .php2 .htm Action application/x-httpd-php4 /php/php.exe --- I just performed a complete reinstallation, but the bug is still there. I downloaded and installed the phpdev3 installation package from www.firepages.com.au. This package installs Apache 1.3.19 , PHP 4.0.4pl, and MySQL. My application talks to Oracle and I don't use the MySQL. I completely removed my old installation. I made these configurations to the fresh installation. In PHP.INI (which I copied to c:\winnt) - changed the memory limit to 16M - set the include path to . - enabled the php_mhash extension - enabled the php_imap extension (can't recall if I actually use this) in httpd.conf - changed the document root to D:\www I copied all the dlls for php\dlls and php\extensions to my system32 directory (except I got he usual error with msvcrt.dll --- mine is 12/7/99 and the dist version is 12/10/99). Then I verified that my application still works and that the little demonstration app still shows the bug. Steve [2001-05-18 04:48:55] [EMAIL PROTECTED] Can reproduce this.. what SAPI are you using (ISAPI or CGI?). - James [2001-05-16 11:44:25] [EMAIL PROTECTED] This script reproduces the bug on my machine: ?php print html; print head; printtitlebug/title; print /head; print body; for ($i=0; $i1000; $i++) { print BRhello ; } print /body; print /html; ? Change 1000 to 333 and the bug disappears, Change 1000 to 2 and the bug disappears. 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/?id=10904 Edit this bug report at http://bugs.php.net/?id=10904edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12064 Updated: Truetype functions can't locate fonts
ID: 12064 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: GD related Operating System: Windows 2000 SP1 PHP Version: 4.0.6 New Comment: already fixed in cvs. Previous Comments: [2001-07-22 19:22:09] [EMAIL PROTECTED] That would take a good look at the source code to see how PHP is passing arguments to the GD library. [2001-07-22 19:20:16] [EMAIL PROTECTED] Fixing null status. So, is this a GD Bug, or a PHP bug? [2001-07-12 17:34:06] [EMAIL PROTECTED] Ok, I checked out filemon. Here's what's happening: GD first tries to open files inside the Apache root (not the web root; for instance, on my box, C:\Program Files\Apache. So, if I've specified C:\\path\\to\\font.ttf in my path, I end up with: C:\Program Files\Apache\C\C:\path\to\font.ttf.ttf Next, it tries the current directory. However, it seems to be unable to process Windows drive letters, and so defaults to drive C: (my webroot's on D:, which is a problem), so I get C:\path\to\script\C:\path\to\font.ttf.ttf You get the idea. I made a directory structure on C: mimicing that of my D: webroot, but only containing the fonts; it worked fine (although the antialiasing was horrific, but that's a GD/FT2 issue). [2001-07-12 17:18:32] [EMAIL PROTECTED] Pretty sure, but it doesn't work the other way around either. [2001-07-12 16:08:57] [EMAIL PROTECTED] Are you sure that GD understands d:/path/to/font.ttf as a path? Should it be d:\\path\\to\\font.ttf ? --Wez. 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/?id=12064 Edit this bug report at http://bugs.php.net/?id=12064edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12485 Updated: Exec() doesn't work
ID: 12485 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Closed Bug Type: Program Execution Operating System: windows 2000 PHP Version: 4.0.6 New Comment: this issue has already been fixed in cvs, look for exisiting bug reports before submitting new! dir isn't a real command, however this is fixed in cvs quite a while ago. snaps.php.net Previous Comments: [2001-08-01 20:23:53] [EMAIL PROTECTED] Confirmed under Windows 98 w/ PHP 4.0.6 [2001-08-01 19:33:31] [EMAIL PROTECTED] User comment (gebruik aub het web-formulier): - Yes sorry for not mentioning it before: Something like cannot fork [dir] Regards, Max - [2001-07-31 08:45:10] [EMAIL PROTECTED] any error messages? [2001-07-31 08:43:15] [EMAIL PROTECTED] Exec doesnt work in 4.0.6 in cgi mode. Installed 4.0.5 now and it is ok. Edit this bug report at http://bugs.php.net/?id=12485edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11649 Updated: Unable to Fork errors
ID: 11649 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Duplicate Status: Closed Bug Type: Program Execution Operating System: Win98 PHP Version: 4.0.6 Previous Comments: [2001-07-23 11:44:32] [EMAIL PROTECTED] did this work with derick's suggestion? [2001-06-25 05:35:09] [EMAIL PROTECTED] Try it with the full path to the executable, like this: exec (c:\windows\playmp3.exe test.mp3); [2001-06-25 03:56:26] [EMAIL PROTECTED] According to the ChangeLog, the inablity to fork issue in the exec family has been fixed on Win32 in 4.0.6. Unfortunately, this is not so. Calling system(), exec(), or passthru() produces the following error msg: Warning: Unable to fork [test.mp3] in exec.php at line 3 Calling escapeshellcmd() or escapeshellarg() does not give an error or warning message, but also does not execute the command. The above mentions problems occur when the functions are called when running PHP as an Apache module, or by executing the script from command line. Below is a description of my setup, please let me know if additional information is needed. OS: Win98 - SE Processor: AMD K6-2/350 RAM: 192 megs Apache version: 1.3.20 (run as service) PHP: 4.0.6 and 4.0.5 (with Zend Optimizer) Enabled PHP extensions: php_bz2.dll, php_gd.dll, php_imap.dll, php_zlib.dll Output Buffering: On PHP-GTK: version 0.0.4 Edit this bug report at http://bugs.php.net/?id=11649edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12524 Updated: Still doesn't support UNC paths
ID: 12524 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: *Directory/Filesystem functions Operating System: WinNT 4.0 PHP Version: 4.0.6 New Comment: works fine for me. remember to either escape the backslashes or to use frontslashes. var_dump(is_dir(ntserver14\\shared\\cameron)); var_dump(lstat(//ntserver14/shared/cameron/myfile)); Previous Comments: [2001-08-20 21:28:07] [EMAIL PROTECTED] The DIR function seems to be working well with that version. The only functions that don't seem to be working now are the is_dir which returns the following errors Warning: stat failed for \\downstairs\music. (errno=2 - No such file or directory) Also the stat function doesn't return anything of use but it doesn't give an error. It looks good so far though. Thanks [2001-08-18 21:52:13] [EMAIL PROTECTED] Please try the PHP 4.0.7 RC1: http://www.php.net/~zeev/php-4.0.7RC1-Win32.zip --Jani [2001-08-02 09:53:48] [EMAIL PROTECTED] User feedback: (next time, use the web interface..) -- I have tested the snapshot you suggested and it still does not work. -- [2001-08-01 21:45:15] [EMAIL PROTECTED] Some other fixes were made after 4.0.6 was released. Please try the latest snapshot build from here: http://www.zend.com/snapshots/ [2001-08-01 21:28:37] [EMAIL PROTECTED] The fix that was applied to PHP 4.0.6 still didn't fix the UNC problems which were broken when PHP moved from PHP3 - PHP4 $d = dir(//ntserver14/shared/cameron); echo Handle: .$d-handle.br\n; echo Path: .$d-path.br\n; while($entry=$d-read()) { echo $entry.br\n; } $d-close(); I ran the same code under php3.0.16 and it still works there. This still fails to work with the lastest version of PHP. It was stated as being fixed in 4.0.6 and I received a bug report closure for BUG 9234 http://www.php.net/bugs.php?id=9234 Any Ideas why it still doesn't work? Am I doing something wrong from this end? PS I have checked to see that all shares and filesystem are visible by the IIS4.0 webserver account. Edit this bug report at http://bugs.php.net/?id=12524edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12854 Updated: In msvc project debug output directory entered as ..\Debug_TS
ID: 12854 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Apache related Operating System: Windows NT4.0 SP5 PHP Version: 4.0CVS-2001-08-20 New Comment: not enough information Previous Comments: [2001-08-20 04:32:29] [EMAIL PROTECTED] In msvc project debug output directory entered as ..\Debug_TS instead of ..\..\Debug_TS Edit this bug report at http://bugs.php.net/?id=12854edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12846 Updated: Installation instructions
ID: 12846 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Documentation problem Operating System: Win 95 (the first version) PHP Version: 4.0.6 New Comment: done, thanks! Previous Comments: [2001-08-19 15:58:04] [EMAIL PROTECTED] Hi. I've got the PHP apache module woriking fine now but it took ages. The install.txt that comes with the win32 version says that for win95 you will need the DCOM95 update. I did this but found I also needed the Microsoft Data Access Control update. This was becasue every time I tried to run a PHP script i kept getting a popup message on the screen saying that ODBC32.DLL was needed and couldnt be found. I think this is because of the database functions that are built in. I wasnt trying to use any database things when this happened, but it was annoying because the install file didnt say I needed this. I think Win98 comes with this built in. Can you mention this is in the install.txt or a readme file somewhere? Cheers. Edit this bug report at http://bugs.php.net/?id=12846edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13056 Updated: creating pdf file the file not reading doc file
ID: 13056 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *PDF functions Operating System: windows PHP Version: 4.0.6 New Comment: far to less info Previous Comments: [2001-08-30 07:14:29] [EMAIL PROTECTED] i am creating pdf files . fgets () not able to read .doc files Edit this bug report at http://bugs.php.net/?id=13056edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13028 Updated: bug with empty Class Constructors
ID: 13028 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Scripting Engine problem Operating System: Win2000 PHP Version: 4.0.6 New Comment: be a bit more precise... what do you mean with have had problems instanciating classes and the class does not become properly instanciated ? Previous Comments: [2001-08-29 09:12:26] [EMAIL PROTECTED] I have had problems instanciating classes that have empty constructors defined. (PHP 4.05, win2000) if a class has a constructor defined it seems that a (any) variable of that class must be set inside the constructor ot the class does not become properly instanciated. If there is no Constructor then this problem does not exist. eg1, this works: class Foo { var $a; function Foo() { $a = 1; } } eg2, this does not work class Foo { var $a; function Foo() { //empty constructor } } eg3, this works class Foo { var $a; //no constructor defined } Edit this bug report at http://bugs.php.net/?id=13028edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13058 Updated: opendir fails on remote folders with apache as a service
ID: 13058 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Apache related Operating System: WindowsNT PHP Version: 4.0.6 New Comment: have you setup proper access permissions? are you using the module or the cgi? if the webserver starts as service it will most likly run under SYSTEM, otherwise as the currently logged on user. Previous Comments: [2001-08-30 08:02:18] [EMAIL PROTECTED] I'm using php, apache and mysql from EasyPHP 1.5 with windowsNT. When launching the servers as services, the opendir command fails with remote folders : opendir(//machine/folder); returning an errno 22 error. When running the servers normally, everything goes well (as far as I tried). Edit this bug report at http://bugs.php.net/?id=13058edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13045 Updated: PHP crashes when it can't find the *.exe or other binary specified within ``'s
ID: 13045 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Reproducible crash Operating System: Windows ME (kernel 4.9.3000) PHP Version: 4.0.6 New Comment: this should be fixed in 4.0.7rc1, please try http://www.php4win.com/~daniel/php-4.0.7rc1-win32.zip reopen if the problem still occurs. Previous Comments: [2001-08-30 06:48:27] [EMAIL PROTECTED] Reproduced with Windows 2000 Professional, PHP-4.0.6 and Apache 1.3.20 (running PHP as an Apache module). A simple script: ?php echo `c:\crashtest.exe`; ? If you run PHP from te commandline, the following output IS generated: Warning: Unable to execute 'c:\crashtest.exe' in crashtest.php on line 2 Changing the backslash to \\ or / has no effect. On Linux (tested with Debian, Potato), trying to execute a non-existant file produces no output, and no error... strange... [2001-08-29 17:11:20] [EMAIL PROTECTED] also note: using Apache 1.3.20 Win32 [2001-08-29 17:10:06] [EMAIL PROTECTED] using `proname -option -etc` (where progname is any executable, such as PING) in PHP, you can run a program and parse it's output with a PHP script on Windows 9x, when the program isn't found (either a bad link or it just plain doesn't exist), PHP crashes. I can reproduce this error on Windows ME, kernel 4.9.3000 (the final release of win ME -- not a beta or anything goofy like that) Edit this bug report at http://bugs.php.net/?id=13045edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13003 Updated: array-pointer set in a closs-contruktor becomes reset
ID: 13003 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Arrays related Operating System: Win 2000 PHP Version: 4.0.6 New Comment: unable to reproduce under 4.0.7-dev. try http://www.php4win.com/~daniel/php-4.0.7rc1-win32.zip Previous Comments: [2001-08-28 10:09:18] [EMAIL PROTECTED] ?php /* * seams to be a bug * * array-position set in the constructor moves back to 1 ??!! */ class bug { var $arr; function bug() { $this-arr = array(1,2,3,4,5); reset($this-arr); next($this-arr); next($this-arr); // set to 3. element echo current() set to . current($this-arr) . in constructorbr; } function show() { echo current($this-arr) . br;; } } $o = new bug(); echo current() should still be 3 but is . current($o-arr) . br; // back on 1. element ??!! $o-show(); // the same ? Edit this bug report at http://bugs.php.net/?id=13003edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12943 Updated: Under new Apache, warning about compile..
ID: 12943 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *General Issues Operating System: Win32 PHP Version: 4.0.6 New Comment: patched apache builds aren't supported, you need to either cuild the module yourself, or use the build provided at php4win.com (php4apache-eapi.dll) Previous Comments: [2001-08-24 06:01:09] [EMAIL PROTECTED] Date of report: 24 Aug 2001 Config: Apache 1.3.20 (Latest release) Win32 PHP 4.0.6 *Note* Current and future Apache releases will use .so extension on moduals (php4apache.dll is renamed php4apache.so) Upon exacution of Apache, Apache warns: [warn] Loaded DSO c:/pathtodll/php4apache.so uses plain Apache 1.3 API, this modual might crash under EAPI! (Please recompile it with -DEAPI) I would like to obtain a re-compiled PHP modual that more supports EAPI please. I will watch php.net for updates. Edit this bug report at http://bugs.php.net/?id=12943edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13517 Updated: php4dll: TSRM_API not defined
ID: 13517 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Compile Failure Operating System: Windows 2000 SP2 PHP Version: 4.0.6 New Comment: bogusifying. 1. use the correct workspace. if you wan't to build the threadsafe/reentrant version use the php4ts.dsw workspace. 2. vs.net isn't yet supported. Previous Comments: [2001-10-02 13:03:48] [EMAIL PROTECTED] Using Visual Studio 7.0 build 9254 (VS.NET Beta 2) Build of php4dll.dsp fails after several source file compiles halt when TSRM_API is undefined. Adding ZTS to the list of preprocessor defines allows compile to proceed normally. Edit this bug report at http://bugs.php.net/?id=13517edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13504 Updated: libmysql LONGLONG conflicts with winnt.h
ID: 13504 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Compile Failure Operating System: Windows 2000 SP2 PHP Version: 4.0.6 New Comment: this isn't the mysql bug database :) (http://www.mysql.com/doc/B/u/Bug_reports.html) but anyway as vs.net is beta i don't think that it'll be supported by them. anyway not a php issue. Previous Comments: [2001-10-01 19:21:30] [EMAIL PROTECTED] (I apologize; I suspect this should be sent to the libmysql maintainer, but half an hour's research has not revealed who that is) When compiling the libmysql project in Visual Studio 7.0 build 9254 (VS.NET Beta 2) -- and perhaps Visual Studio 6.0 SP5 as well; I was unable to determine which copy of winnt.h takes precedence -- the compilation of strtoll.c and strtoull.c generate multiple errors when LONGLONG gets #defined, preventing winnt.h from correctly typedef'ing it. This causes the rest of winnt.h to be mis-interpreted and the build fails. Changing each occurrence of LONGLONG in strtoll.c, strtoull.c, and strto.c to SQL_LONGLONG allows the build to complete succesfully. Edit this bug report at http://bugs.php.net/?id=13504edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #13519 Updated: Filename time.h conflict in VS.NET
ID: 13519 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old Status: Open Status: Suspended Bug Type: Compile Failure Operating System: Windows 2000 SP2 PHP Version: 4.0.6 New Comment: again vs.net is not yet supported. actually php's time.h includes the system time.h so i don't know what the change is going to resolve... maybe something's messed with your include paths. Previous Comments: [2001-10-02 14:52:32] [EMAIL PROTECTED] Whoops! There are a _lot_ more than just those two files that require time.h to be changed to _time.h. Lousy non-regex search :) [2001-10-02 14:46:27] [EMAIL PROTECTED] I _believe_ this issue only applies to VS.NET, but have not tested it in earlier versions. Using Visual Studio 7.0 build 9254 (VS.NET Beta 2), the build of time.c and sendmail.c fail because header time.h fails to be included. Checking the sources, it is absolutely impossible for the #include time.h statement not to be compiled, but the statement appeared to be ignored anyway. When the filename of time.h (in /win32) is changed to _time.h and the approriate #include lines in time.c and sendmail.c are modified, compilation succeeds normally. A little testing showed that VS.NET was including time.h (part of php4) instead of time.h (part of msvcrt.dll). Once the filename conflict was resolved, the correct file was included. Edit this bug report at http://bugs.php.net/?id=13519edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]