note 23581 deleted from install.linux by rasmus
| From: | rasmus@php.net | Date: | Sat, 10 Aug 2002 14:20:07 +0000 |
| Subject: | note 23581 deleted from install.linux by rasmus | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34683@lists.php.net to get a copy of this message | ||
Hi.
I try to install php-4.2.2 for Apache 2.0.39 on system running Linux Slackware (7.1 version based)
and i have an make error:
=========================
php_functions.c:93: parse error
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/root/to_install/php-4.2.1/sapi/apache2filter'
...
====================
I've checked this line, and it's located in this function:
====================
PHP_FUNCTION(apache_lookup_uri)
{
request_rec *rr;
rr = php_apache_lookup_uri(INTERNAL_FUNCTION_PARAM_PASSTHRU);
if (!rr)
WRONG_PARAM_COUNT;
if (rr->status == HTTP_OK) {
array_init(return_value);
ADD_LONG(status);
ADD_STRING(the_request);
ADD_STRING(status_line);
ADD_STRING(method);
ADD_LONG(mtime);
ADD_LONG(clength);
#if !MODULE_MAGIC_AT_LEAST(20020506,0) //<--- this is line 93,
// which is shown in error message
ADD_STRING(boundary);
#endif
ADD_STRING(range);
ADD_LONG(chunked);
ADD_STRING(content_type);
ADD_STRING(handler);
ADD_LONG(no_cache);
ADD_LONG(no_local_copy);
ADD_STRING(unparsed_uri);
ADD_STRING(uri);
ADD_STRING(filename);
ADD_STRING(path_info);
ADD_STRING(args);
ap_destroy_sub_req(rr);
return;
}
ap_destroy_sub_req(rr);
RETURN_FALSE;
}
=================
Anyone knows, how to solve this problem? I know, that Apache2 DSO module support is experimental,
but php-4.2.1 works fine for me... Also 4.2.2-dev...
Regards...
Marcin 'Martinez' Ziemian