ID: 27528 Comment by: josh at trutwins dot homeip dot net Reported By: josh at netbits dot us Status: Open Bug Type: Apache2 related Operating System: Linux SuSE 8.1 PHP Version: 5.0.0RC1 New Comment:
I was able to fix this issue by re-creating the php.ini file. The following is a diff of my 4.3.4 php.ini and my current 5.0.0rc1 php.ini (any commented lines are ignored): diff /etc/httpd/php.ini.4.3.4 /etc/httpd/php.ini.5.0.0rc1 83c83,86 < ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. --- > ; Enable compatibility mode with Zend Engine 1 (PHP 4.x) > zend.ze1_compatibility_mode = Off > > ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized. 115c118 < ; Using this ini directive may cause problems unless you know what script --- > ; Using this ini directive may cause problems unless you know what script 118c121 < ; and you cannot use both "ob_gzhandler" and "zlib.output_compression". --- > ; and you cannot use both "ob_gzhandler" and "zlib.output_compression". 124,127c127,130 < ; Note: Resulting chunk size may vary due to nature of compression. PHP < ; outputs chunks that are few handreds bytes each as a result of compression. < ; If you want larger chunk size for better performence, enable output_buffering < ; also. --- > ; Note: Resulting chunk size may vary due to nature of compression. PHP > ; outputs chunks that are few handreds bytes each as a result of compression. > ; If you want larger chunk size for better performence, enable output_buffering > ; also. 149c152 < ; So only set this entry, if you really want to implement such a --- > ; So only set this entry, if you really want to implement such a 183c186 < safe_mode_include_dir = ".:/usr/local/php:/usr/local/lib/php" --- > safe_mode_include_dir = 187c190 < safe_mode_exec_dir = "/usr/local/php/bin" --- > safe_mode_exec_dir = 202c205 < safe_mode_protected_env_vars = LD_LIBRARY_PATH, PATH --- > safe_mode_protected_env_vars = LD_LIBRARY_PATH 263a267,269 > ; E_STRICT - run-time notices, enable to have PHP suggest changes > ; to your code which will ensure the best interoperability > ; and forward compatability of your code 274a281,284 > ; - Show all errors, except for notices and coding standards warnings > ; > ;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT > ; 312c322 < ; Ignore source of message when ignoring repeated messages. When this setting --- > ; Ignore source of message when ignoring repeated messages. When this setting 318c328 < ; stdout or in the log). This has only effect in a debug compile, and if --- > ; stdout or in the log). This has only effect in a debug compile, and if 325a336 > ; Note: Never use this feature for production boxes. 328c339 < ; If html_errors is set On PHP produces clickable error messages that direct --- > ; If html_errors is set On PHP produces clickable error messages that direct 330c341 < ; You can download a copy of the PHP manual from http://www.php.net/docs.php --- > ; You can download a copy of the PHP manual from http://www.php.net/docs.php 332c343 < ; leading '/'. You must also specify the file extension being used including --- > ; leading '/'. You must also specify the file extension being used including 333a345 > ; Note: Never use this feature for production boxes. 336c348 < --- > 357c369 < ; Default is "&". --- > ; Default is "&". 361c373 < ; Default is "&". --- > ; Default is "&". 381a394,398 > ; Whether or not to register the old-style input arrays, HTTP_GET_VARS > ; and friends. If you're not using them, it's recommended to turn them off, > ; for performance reasons. > register_long_arrays = Off > 390,392d406 < ; This directive is deprecated. Use variables_order instead. < gpc_order = "GPC" < 400c414 < magic_quotes_runtime = Off --- > magic_quotes_runtime = Off 417c431 < ; Always populate the $HTTP_RAW_POST_DATA variable. --- > ; Always populate the $HTTP_RAW_POST_DATA variable. 419a434 > 424c439 < ; UNIX: "/path1:/path2" --- > ; UNIX: "/path1:/path2" 455c470,474 < ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape --- > ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with > ; every request. > ; cgi.nph = 1 > > ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 461,468d479 < ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's < ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok < ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting < ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting < ; of zero causes PHP to behave as before. Default is zero. You should fix your scripts < ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. < ; cgi.fix_pathinfo=1 < 480,481c491,492 < ; Set to 1 if running under IIS. Default is zero. < ;cgi.rfc2616_headers = 0 --- > ; Default is zero. > ;cgi.rfc2616_headers = 0 540c551 < ; Note that it should be the name of the module only; no directory information --- > ; Note that it should be the name of the module only; no directory information 546c557 < ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. --- > ;Note that ODBC support is built in, so no dll is needed for it. 547a559 > 550d561 < ;extension=php_crack.dll 552d562 < ;extension=php_db.dll 556d565 < ;extension=php_domxml.dll 562d570 < ;extension=php_hyperwave.dll 576a585 > ;extension=php_mysql.dll 582d590 < ;extension=php_printer.dll 586a595 > ;extension=php_tidy.dll 589c598 < ;extension=php_xslt.dll --- > ;extension=php_xsl.dll 609c618 < sendmail_from = [EMAIL PROTECTED] --- > ;sendmail_from = [EMAIL PROTECTED] 613a623,627 > ; Force the addition of the specified parameters to be passed as extra parameters > ; to the sendmail binary. These parameters will always replace the value of > ; the 5th parameter to mail(), even in safe mode. > ;mail.force_extra_paramaters = > 619,624c633,638 < java.class.path=/usr/local/lib/php/php_java.jar < java.home=/usr/local/java < java.library=libjava.so < java.library.path=/usr/local/apache/modules:/usr/local/java/jre/lib/i386/client:/usr/local/lib/php/extensions/no-debug-non-zts-20020429 < extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20020429 < extension=java.so --- > ;java.class.path=/usr/local/lib/php/php_java.jar > ;java.home=/usr/local/java > ;java.library=libjava.so > ;java.library.path=/usr/local/apache/modules:/usr/local/java/jre/lib/i386/client:/usr/local/lib/php/extensions/no-debug-non-zts-20020429 > ;extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20020429 > ;extension=java.so 644c658 < odbc.max_links = -1 --- > odbc.max_links = -1 648c662 < odbc.defaultlrl = 4096 --- > odbc.defaultlrl = 4096 653c667 < odbc.defaultbinmode = 1 --- > odbc.defaultbinmode = 1 689c703 < mysql.connect_timeout = -1 --- > mysql.connect_timeout = 60 694a709,739 > [MySQLI] > > ; Maximum number of links. -1 means no limit. > mysqli.max_links = -1 > > ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use > ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the > ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look > ; at MYSQL_PORT. > mysqli.default_port = 3306 > > ; Default socket name for local MySQL connects. If empty, uses the built-in > ; MySQL defaults. > mysqli.default_socket = > > ; Default host for mysql_connect() (doesn't apply in safe mode). > mysqli.default_host = > > ; Default user for mysql_connect() (doesn't apply in safe mode). > mysqli.default_user = > > ; Default password for mysqli_connect() (doesn't apply in safe mode). > ; Note that this is generally a *bad* idea to store passwords in this file. > ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_password") > ; and reveal this password! And of course, any users with read access to this > ; file will be able to reveal the password as well. > mysqli.default_password = > > ; Allow or prevent reconnect > mysqli.reconnect = Off > 709c754 < ; Detect broken persistent links always with pg_pconnect(). --- > ; Detect broken persistent links always with pg_pconnect(). 827c872 < ; where data files are stored. Note: Windows users have to change this --- > ; where data files are stored. Note: Windows users have to change this 829c874,897 < session.save_path = /usr/local/php/session --- > ; > ; As of PHP 4.0.1, you can define the path as: > ; > ; session.save_path = "N;/path" > ; > ; where N is an integer. Instead of storing all the session files in > ; /path, what this will do is use subdirectories N-levels deep, and > ; store the session data in those directories. This is useful if you > ; or your OS have problems with lots of files in one directory, and is > ; a more efficient layout for servers that handle lots of sessions. > ; > ; NOTE 1: PHP will not create this directory structure automatically. > ; You can use the script in the ext/session dir for that purpose. > ; NOTE 2: See the section on garbage collection below if you choose to > ; use subdirectories for session storage > ; > ; The file storage module creates files using mode 600 by default. > ; You can change that by using > ; > ; session.save_path = "N;MODE;/path" > ; > ; where MODE is the octal representation of the mode. Note that this > ; does not overwrite the process's umask. > session.save_path = "/usr/local/php/session" 834c902 < ; This option enables administrators to make their users invulnerable to --- > ; This option enables administrators to make their users invulnerable to 884c952 < ; session.entropy_length = 0 --- > session.entropy_length = 0 887c955 < ; session.entropy_file = --- > session.entropy_file = 889c957 < session.entropy_length = 512 --- > ;session.entropy_length = 16 891c959 < session.entropy_file = /dev/urandom --- > ;session.entropy_file = /dev/urandom 906c974 < ; in publically accessible computer. --- > ; in publically accessible computer. 910a979,991 > ; Select a hash function > ; 0: MD5 (128 bits) > ; 1: SHA-1 (160 bits) > session.hash_function = 0 > > ; Define how many bits are stored in each character when converting > ; the binary hash data to something readable. > ; > ; 4 bits: 0-9, a-f > ; 5 bits: 0-9, a-v > ; 6 bits: 0-9, a-z, A-Z, "-", "," > session.hash_bits_per_character = 5 > 936a1018,1023 > ; Connect timeout > ;mssql.connect_timeout = 5 > > ; Query timeout > ;mssql.timeout = 60 > 945a1033,1037 > ; Specify how datetime and datetim4 columns are returned > ; On => Returns data converted to SQL server settings > ; Off => Returns values as YYYY-MM-DD hh:mm:ss > ;mssql.datetimeconvert = On > 1016c1108 < ;com.typelib_file = --- > ;com.typelib_file = 1026,1028d1117 < [Printer] < ;printer.default_printer = "" < 1045c1134 < ; enable automatic encoding translation accoding to --- > ; enable automatic encoding translation accoding to 1053c1142 < ; auto means --- > ; auto means 1073c1162 < ;fbsql.default_database = --- > ;fbsql.default_database = 1085,1089d1173 < [Crack] < ; Modify the setting below to match the directory location of the cracklib < ; dictionary files. Include the base filename, but not the file extension. < ; crack.default_dictionary = "c:\php\lib\cracklib_dict" < 1091c1175 < ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. --- > ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 1093,1094c1177,1178 < ; given by corresponding encode setting. When empty mbstring.internal_encoding < ; is used. For the decode settings you can distinguish between motorola and --- > ; given by corresponding encode setting. When empty mbstring.internal_encoding > ; is used. For the decode settings you can distinguish between motorola and 1099c1183 < ;exif.encode_jis = --- > ;exif.encode_jis = 1102a1187,1195 > [Tidy] > ; The path to a default tidy configuration file to use when using tidy > ;tidy.default_config = /usr/local/lib/php/default.tcfg > > ; Should tidy clean and repair output automatically? > ; WARNING: Do not use this option if you are generating non-html content > ; such as dynamic images > tidy.clean_output = Off > 1106,1115d1198 < < ; ioncube < ;zend_extension = /usr/local/source/web/php/ioncube/ioncube_loader_lin_4.3.so < < ;[Zend] < ;zend_optimizer.optimization_level=15 < ;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.1.0 < ;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2.1.0 < ;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so < ;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so Previous Comments: ------------------------------------------------------------------------ [2004-03-23 13:40:33] josh at netbits dot us Changed version to 5.0.0RC1 ------------------------------------------------------------------------ [2004-03-23 13:39:43] josh at trutwins dot homeip dot net Also, noticed the following in php error log: [23-Mar-2004 12:39:03] PHP Warning: PHP Startup: [EMAIL PROTECTED]@: Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20040316, debug=0, thread-safety=0 These options need to match in Unknown on line 0 This was tried with the following configure options. ./configure \ --with-config-file-path=/etc/httpd \ --enable-libgcc \ --enable-sigchild \ --enable-track-vars \ --disable-ipv6 \ \ --with-apxs2=/usr/local/apache/bin/apxs ------------------------------------------------------------------------ [2004-03-15 08:38:03] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2004-03-09 18:29:57] [EMAIL PROTECTED] Please isolate the problem to a particular module (by adding 1 module at a time to your configure). ------------------------------------------------------------------------ [2004-03-09 11:59:36] josh at netbits dot us Forgot, I also tried my original configure commands with CVS snapshot from yesterday afternoon - same results. ------------------------------------------------------------------------ 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/27528 -- Edit this bug report at http://bugs.php.net/?id=27528&edit=1
