joe.somebody
08-25-2002, 08:02 AM
Dear All,
I am new for the php and just want to get my hands on it. I tried to install the php4.2 on my redhat 7.2 with apache 2.
I used the following command to do the configure, it is OK.
./configure --with-mysql --with-pgsql --with-marray --with-apxs2=/usr/local/apache2/bin/apxs
But when I did the make there is always an error message said the following:
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/local/backup/software/php/php-4.1.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local/backup/software/php/php-4.1.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/backup/software/php/php-4.1.2/sapi'
make: *** [all-recursive] Error 1It is due to the /local/backup/software/php/php-4.1.2/sapi/apache2filter/php_functions.c
In the line 93 of this program, the code is like the following:
#if !MODULE_MAGIC_AT_LEAST(20020506,0)
ADD_STRING(boundary);
#endif
The error message said that "php_functions.c:93:27: missing binary operator before '!' "
I really don't know what is wrong with it.
Does anybody can give me some advice? Thanks in advance!!
Regards,
Joe
I am new for the php and just want to get my hands on it. I tried to install the php4.2 on my redhat 7.2 with apache 2.
I used the following command to do the configure, it is OK.
./configure --with-mysql --with-pgsql --with-marray --with-apxs2=/usr/local/apache2/bin/apxs
But when I did the make there is always an error message said the following:
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/local/backup/software/php/php-4.1.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/local/backup/software/php/php-4.1.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/backup/software/php/php-4.1.2/sapi'
make: *** [all-recursive] Error 1It is due to the /local/backup/software/php/php-4.1.2/sapi/apache2filter/php_functions.c
In the line 93 of this program, the code is like the following:
#if !MODULE_MAGIC_AT_LEAST(20020506,0)
ADD_STRING(boundary);
#endif
The error message said that "php_functions.c:93:27: missing binary operator before '!' "
I really don't know what is wrong with it.
Does anybody can give me some advice? Thanks in advance!!
Regards,
Joe