Re: PHP / Apache 2.0.39 issues
| From: | Tech Support | Date: | Fri, 26 Jul 2002 15:44:12 +0000 |
| Subject: | Re: PHP / Apache 2.0.39 issues | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109766@lists.php.net to get a copy of this message | ||
I think this has been answered a few times in the last few days.
I believe a guy by the name of Aaron searched high and low and found the
solution. It will be a popular one so I'll quote him again.
|||||||||||||||||||||||||||||||||
This will allow you to compile PHP 4.2.x as a shared object into Apache
2.0.39.
Credits to somebody on Google Groups (I can't recall, but I needed an answer
to this too a couple weeks back)...
1. Open up the file php_functions.c in /sapi/apache2filter/
2. Change MODULE_MAGIC_AT_LEAST to AP_MODULE_MAGIC_AT_LEAST (Note the
addition of "AP_")
3. Save the php_functions.c file and try running configure again
Keep in mind this is experimental and thus should not be used on production
web sites (even though we've been using Apache 2.0.39+PHP 4.2.1/4.2.2 for a
few weeks without issues on two of our servers).
||||||||||||||||||||||||
Thanks to Aaron for the hard work and dedication finding this neat little
hack!!! :-)
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
----- Original Message -----
From: "Frank S. Kicenko" <frank.kicenko@amjack.ca>
To: <php-general@lists.php.net>
Sent: Friday, July 26, 2002 9:15 AM
Subject: [PHP] PHP / Apache 2.0.39 issues
Hello again..
I have another compile problem, I'm wondering if someone
can help me. I've built and installed Apache 2.0.39 and am recompiling
PHP4.2.2. Below are the details..
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib=/usr
--with-oci8=
dbhome
Compiling...
Entering director '/php-4.2.2/sapi/apache2filter'
/bin/sh /php-4.2.2/libtool --silent --mode=compile gcc -I.
-I/php4.2.2/sapi/apache2filter -I/php4.2.2/main -I/php-4.2.2
-I/usr/local/apache2/include -I/php-4.2.2/Zend
-I/php-4.2.2/ext/mysql/libmysql
-I/export/home/oracleuser/OraHome1/rdbms/public
-I/export/home/oracleuser/OraHome1/rdbms/demo -I/php-4.2.2/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -pthreads -DZTS -prefer-pic -c
php_functions.c
php_functions.c:93:27: missing binary operator before '('
This is the error...
Thanks all.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php