RE: [PHP] PHP 4.2.2 and Apache LoadModule issue
| From: | Frank S. Kicenko | Date: | Fri, 26 Jul 2002 13:51:45 +0000 |
| Subject: | RE: [PHP] PHP 4.2.2 and Apache LoadModule issue | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109724@lists.php.net to get a copy of this message | ||
Okay.. thanks.. 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.
-----Original Message-----
From: Peter [mailto:php@vfsa.com.au]
Sent: Thursday, July 25, 2002 10:44 PM
To: Frank S. Kicenko; php-general@lists.php.net
Subject: RE: [PHP] PHP 4.2.2 and Apache LoadModule issue
> -----Original Message-----
> From: Bob Lockie [mailto:bjlockie@lockie.ca]
> Sent: Friday, 26 July 2002 1:32 PM
> To: Frank S. Kicenko; php-general@lists.php.net
> Subject: Re: [PHP] PHP 4.2.2 and Apache LoadModule issue
>
>
> On Thu, 25 Jul 2002 22:23:21 -0500, Frank S. Kicenko wrote:
>
> >Hi All.
> >
> >I am having a weird problem... my PHP is outputting a "libphp4.a" and
> >"libphp4.la" modules and I can't get Apache to recognize this type of
> >file. Is there a way to tell PHP to generate a ".so" module? Or how
can
> >I get Apache to use the .a and .la modules?
> >
> >Thanks.
yeah i had to do
./configure --activate-module=src/modules/php4/libmodphp4.a