]> granicus.if.org Git - php/commitdiff
still cant get this
authorColin Viebrock <cmv@php.net>
Wed, 5 Apr 2000 21:00:35 +0000 (21:00 +0000)
committerColin Viebrock <cmv@php.net>
Wed, 5 Apr 2000 21:00:35 +0000 (21:00 +0000)
ext/standard/info.c

index 95276ce8e7bfd1f2eb92baba939e6d83e4d34667..429d0c1187573b5f9050c47d8f73080ee37a1a64 100644 (file)
@@ -122,7 +122,6 @@ PHPAPI void php_print_info(int flag)
        char **env,*tmp1,*tmp2;
        char *php_uname;
        int expose_php = INI_INT("expose_php");
-       int tmp_zend_debug;
 
 #ifdef PHP_WIN32
        char php_windows_uname[256];
@@ -170,8 +169,9 @@ PHPAPI void php_print_info(int flag)
 #endif
                php_info_print_table_row(2, "php.ini Path", CONFIGURATION_FILE_PATH );
 
-               sprintf(tmp_zend_debug, "%d", ZEND_DEBUG);
-               php_info_print_table_row(2, "ZEND_DEBUG", tmp_zend_debug );
+/* this causes seg faults
+               php_info_print_table_row(2, "ZEND_DEBUG", ZEND_DEBUG );
+*/
 
                if (sapi_module.name)
                        php_info_print_table_row(2, "SAPI", sapi_module.name );