|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-09-26 10:33 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
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 ?