ID: 19618 Updated by: [EMAIL PROTECTED] Reported By: bitcode at earthlink dot net -Status: Suspended +Status: Wont fix Bug Type: Apache2 related Operating System: Cygwin-XP PHP Version: 4.2.3 New Comment:
We do not support Cygwin, only win32 binaries. (if someone can fix the problems, patches are of course accepted but we will not waste our time on this) Previous Comments: ------------------------------------------------------------------------ [2002-12-16 00:11:02] [EMAIL PROTECTED] If you would take a look at the official Cygwin PHP distribution, you'd see that there needs to be some relocation of symbol tables. This is something specific to Cygwin. The right people to ask would be the maintainer of that distribution, cause on no other platform this is needed. Whether he/she is willing to look into Apache2 is yet a whole other issue. Frankly - there are too less people actively using Cygwin, who are also farmiliar with Cygwin and PHP internals, to get this fixed. Until then, suspending. ------------------------------------------------------------------------ [2002-09-27 06:58:26] bitcode at earthlink dot net correction to previous: $./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs actually $./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs I forgot the 2 in the bug report, but not during the configure ------------------------------------------------------------------------ [2002-09-27 06:54:57] bitcode at earthlink dot net Ok starting again with Apache2 & php4-200209261500 I recompiled Apache 2 again just to be safe.... Apache 2 working. $./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs (this finishes without issue) $make (ends with) collect2: ld returned 1 exit status MAKE: *** [sapi/cli/php] Error 1 $make install (ends with) collect2: ld returned 1 exit status MAKE: *** [sapi/cli/php] Error 1 (Next the ini copy: The documentation states... Next you must copy php.ini-dist to the appropriate place (normally /usr/local/lib/php.ini) and edit it as necessary to set PHP options. I am uncertain of the appropriate place.... so I am copying it to the suggested place.) $cp php.ini-dist /usr/local/lib/php.ini I then add: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php ,to httpd.conf $/usr/local/apache2/bin/apachectl restart Syntax error on line 1028 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp4.so into server: dlopen: Win32 err or 5 ? ------------------------------------------------------------------------ [2002-09-26 10:54:25] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-09-26 10:33:08] bitcode at earthlink dot net Apache 2 was working swell... These were my PHP 4.2.3 compile commands: $./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs $make (worth noting at the end of make I see this warning... libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries make[1]: Leaving directory `/home/Administrator/php-4.2.3' Making all in pear make[1]: Entering directory `/home/Administrator/php-4.2.3/pear' make[1]: Leaving directory `/home/Administrator/php-4.2.3/pear' $ ) {is that the problem I wonder. Next.} $make install $cp php.ini-dist /usr/local/lib/php.ini (i also tried php.ini-recommended with same results) Then I changed the httpd.conf file.... appropriately... followed by... $/usr/local/apache2/bin/apachectl restart Syntax error on line 231 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp4.so into server: dlopen: Win32 error 5 System: Win xp pro - Cygwin - Apache 2 - php 4.2.3 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19618&edit=1