Unable to install php 5.2.1 on apache 2.2.0 (solaris 10)
| From: | SAILESH KRISHNAMURTI, BLOOMBERG/ 731 LEXIN | Date: | Fri, 14 Sep 2007 15:02:20 +0000 |
| Subject: | Unable to install php 5.2.1 on apache 2.2.0 (solaris 10) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18261@lists.php.net to get a copy of this message | ||
Hi, We have an existing apache 2.2.0 instance on Soalris. I am trying to compile
php 5 support into it. We need to use the sun studio8 cc compiler as the same
was used for apache 2.2.0. On running make, it errors out with the following
error:
/opt/swt/source/build/php-5.2.1/sapi/apache2handler/apache_config.c", line
181,183 etc ... with: syntax error before or at: .
those lines are:
AP_INIT_TAKE2("php_value", php_apache_value_handler, NULL, OR_OP
TIONS, "PHP Value Modifier"),
182 AP_INIT_TAKE2("php_flag", php_apache_flag_handler, NULL, OR_OPTI
ONS, "PHP Flag Modifier"),
183 AP_INIT_TAKE2("php_admin_value", php_apache_admin_value_handler,
NULL, ACCESS_CONF|RSRC_CONF, "PHP Value Modifier (Admin)"),
184 AP_INIT_TAKE2("php_admin_flag", php_apache_admin_flag_handler, N
ULL, ACCESS_CONF|RSRC_CONF, "PHP Flag Modifier (Admin)"),
185 AP_INIT_TAKE1("PHPINIDir", php_apache_phpini_set, NULL, RSRC_CON
F, "Directory containing the php.ini file"),
186 {NULL}
does anyone know how to resolve this ...