Hi
 Our current PHP integration in Open Solaris does not automatically add 
/ load the PHP5 module within Apache. Now, this requires developers to 
manually load this PHP5 module within Apache. I am sure every one agrees 
that users prefer to have PHP5 integrated automatically rather than 
users have to do it manually.

 I am hoping to address this issue with our next PHP integration and 
hence I am planning to integrate a separate package (say 
SUNWphp5-apache-module) that will deliver the following

a) capture its dependencies on SUNWapch2c (Apache core) and depend on 
SUNWphp524core (PHP 5 core)

b) deliver 'mod_php5.so'

c)  integrate this module (mod_php5) within Apache's configuration file 
using the 'apxs' command  as  part of the postinstall script.

For example, this new package will need to add the following lines of 
code in its post install script

#!/bin/sh
$BASEDIR/usr/apache2/bin/apxs -A -n /usr/php5/modules/mod_php5.so


The big question is how to do the equivalent of  postinstall script in 
Indiana ? Any suggestions / thoughts / concerns ?

Thanks
Sriram
 



Reply via email to