For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > September 2007 > Unable to install php 5.2.1 on apache 2.2.0 (solaris 10)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Unable to install php 5.2.1 on apache 2.2.0 (solaris 10)
SAILESH KRISHNAMURTI, BLOOMBERG/ 731 LEXIN

2007-09-14, 7:01 pm

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 ...
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com