Unable to install php 5.2.1 on apache 2.2.0 (solaris 10)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux