[PHP-DEV] Bug #11672: Apache didn´t start: SSL_CTX_set_tmp_rsa_callback
From: [EMAIL PROTECTED] Operating system: RedHat 7.0 PHP version: 4.0.6 PHP Bug Type: Apache related Bug description: Apache didn´t start: SSL_CTX_set_tmp_rsa_callback Hello, My configure: ./configure --with-mysql --with-gd --with-apxs --with-jpeg-dir --with-png-dir --with-imap --with-zlib-dir --enable-sysvshm=yes --enable-sysvsem=yes --enable-track-vars=yes --enable-url-includes=yes --with-tiff-dir --with-pdflib=/usr/local/pdflib --enable-shared-pdflib --with-ttf --with-kerberos --with-imap-ssl My install RPM´s: apache-devel-1.3.12-25 apache-1.3.12-25 openssl-devel-0.9.6-3 openssl-0.9.5a-14 openssl-0.9.6-3 gd-1.8.3-7 gd-devel-1.8.3-7 imap-devel-2000-9 imap-2000-9 My error when I start the Apache Webserver: Starting httpd: Syntax error on line 236 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into server: undefined symbol: SSL_CTX_set_tmp_rsa_callback Why doesn´t run? Please help... Thank you Andreas -- Edit Bug report at: http://bugs.php.net/?id=11672edit=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] PHP 4.0 Bug #10180 Updated: date arithmetic gives wrong result
ID: 10180 Updated by: ab Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Date/time related Assigned To: Comments: daylight saving time started on 3.26.2001 so behaviour is correct Previous Comments: --- [2001-04-05 05:44:20] [EMAIL PROTECTED] ? $birthdate = mktime(0, 0, 0, 1, 1, 2001); // should give 82 days old - correct $CurDate = mktime(0,0,0,3,24,2001); printf("BR".date("z", $CurDate - $birthdate ) ." days old"); // should give 83 days old - correct $CurDate = mktime(0,0,0,3,25,2001); printf("BR".date("z", $CurDate - $birthdate ) ." days old"); // should give 84 days old - instead gives 83 $CurDate = mktime(0,0,0,3,26,2001); printf("BR".date("z", $CurDate - $birthdate ) ." days old"); // should give 85 days old - instead gives 84 $CurDate = mktime(0,0,0,3,27,2001); printf("BR".date("z", $CurDate - $birthdate ) ." days old"); ? --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10180edit=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 #9764: Extensions from php.ini get loaded several times per process
From: [EMAIL PROTECTED] Operating system: Linux 2.2.18 / glibc 2.2.2 PHP version: 4.0 Latest CVS (15/03/2001) PHP Bug Type: PHP options/info functions Bug description: Extensions from php.ini get loaded several times per process PHP4 under Apache tries to load extensions from php.ini several times per process causing 'duplicate name' warnings Also on the second (and next) loading extension name passed to phpdl() in damaged form. Investigation showed that problem is in the main/php_ini.c: 1. php_load_function_extension_cb() allocates extension name using estrdup but global llist with extensions declared as persistent. It keeps references to deallocated extensions' names causing damaged names passed to phpdl(). 2. php_startup_loaded_extensions() doesn't free llist after loading extensions, so next call to php_init_config() (per-process) will double this list. Solution is to deallocate llist after loading extensions in php_startup_loaded_extensions. Then (1) wouldn't be a problem at all. Proposed fix: --- main/php_ini.c.orig Tue Mar 6 13:38:55 2001 +++ main/php_ini.c Thu Mar 15 13:12:04 2001 @@ -165,6 +165,8 @@ { if(php_load_extension_list) { zend_llist_apply(php_load_extension_list, php_startup_loaded_extension_cb); + zend_llist_destroy(php_load_extension_list); + php_load_extension_list = NULL; } return SUCCESS; } -- Edit Bug report at: http://bugs.php.net/?id=9764edit=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] PHP 4.0 Bug #9637: MySQL extension doesn't want to compile as SELF-CONTAINED-EXTENSION (SCE)
From: [EMAIL PROTECTED] Operating system: Linux 2.2, glibc 2.2.2 PHP version: 4.0 Latest CVS (08/03/2001) PHP Bug Type: Compile Failure Bug description: MySQL extension doesn't want to compile as SELF-CONTAINED-EXTENSION (SCE) MySQL extension doesn't want to compile as self contained extension because localy created php_config.h didn't included and global php_config.h from /usr/include/php/main/ contains no HAVE_MYSQL defined. It bails out with undefined functions php_if_mysql_xxx because php_mysql.h escapes definitions when HAVE_MYSQL undefined. Intention was to create a set of RPMs with straight PHP (doesn't depend on anything for extensions) and additional RPMs for extensions which depend on particular external library (PgSQL, MySQL, IMAP, GTK, etc). Configure options for main PHP: configure --with-apxs=/usr/sbin/apxs --disable-static --disable-debug --enable-pic --enable-inline-optimization \ --prefix=%{_prefix} --with-zlib --disable-magic-quotes --enable-debugger --enable-track-vars \ --enable-safe-mode --with-exec-dir=%{_bindir} --with-regex=system --enable-sysvsem \ --enable-sysvshm --with-mod_charset --enable-force-cgi-redirect --with-mm --enable-trans-sid \ --with-dbase --with-filepro --enable-ftp --with-xml=/usr --with-gettext --enable-yp \ --enable-calendar --enable-bcmath Configure options for MySQL module after calling 'phpize': configure --with-mysql=/usr (no need to --with-mysql=shared,/usr due $ext_shared always set to 'yes' for SCE). Patch to solve problem: --- ext/mysql/php_mysql.c.orig Mon Feb 26 08:07:04 2001 +++ ext/mysql/php_mysql.c Thu Mar 8 18:42:42 2001 @@ -26,6 +26,7 @@ #include "php.h" #include "php_globals.h" +#include "php_config.h" #include "php_mysql.h" #include "ext/standard/info.h" #include "ext/standard/php_string.h" -- Edit Bug report at: http://bugs.php.net/?id=9637edit=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]