[Obm] installation OBM
Thomas Cataldo
thomas.cataldo at aliasource.fr
Wed Feb 27 10:59:14 CET 2008
On Wed, 2008-02-27 at 10:20 +0100, Marc BEY wrote:
> Bonjour,
>
> Nous sommes en train d'installer la version 2.16 d'OBM
> Config:Ubuntu 7.04
> Php5
> Mysql5
>
> Deux pb:
>
> PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20060613+lfs/msql.so' - /usr/lib/php5/20060613+lfs/msql.so:
> cannot open shared object file: No such file or directory in Unknown on
> line 0
tant que le "apache2ctl configtest" ne dit pas "Syntax OK", pas la peine
d'aller plus loin.
>
> Deuxième pb:
>
> Warning: include(obminclude/global.inc) [function.include]: failed to open
> stream: No such file or directory in /var/www/obm-2.1.6/php/obm.php on
> line 15
"No such file or directory", je crois que l'erreur est assez
explicite ;-)
>
> Warning: include() [function.include]: Failed opening
> 'obminclude/global.inc' for inclusion
> (include_path='.:/var/www/obm/obminclude') in
> /var/www/obm-2.1.6/php/obm.php on line 15
[...]
Un virtual host obm ressemble à :
ServerSignature Off
NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin root at localhost
DocumentRoot /usr/share/obm/www/php
ServerName obm.buffy.kvm
# SSL
SSLEngine on
SSLCACertificateFile /var/lib/obm-ca/cacert.pem
SSLCertificateFile /etc/obm/certs/obm_cert.pem
SSLVerifyClient none
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
ErrorLog /var/log/apache2/obm-error.log
CustomLog /var/log/apache2/obm-access.log common
SetEnv OBM_INCLUDE_VAR obminclude
Alias /images /usr/share/obm/www/resources
AddDefaultCharset ISO-8859-15
DirectoryIndex obm.php
Options -Indexes
php_value include_path ".:/usr/share/obm/www"
php_value session.bug_compat_42 0
php_value session.bung_compat_warn 0
# php_value session.gc_maxlifetime 2880
php_value magic_quotes_gpc On
<Location /funambol>
ProxyPass ajp://127.0.0.1:8009/funambol
</Location>
<Location /obm-sync>
ProxyPass ajp://127.0.0.1:8009/obm-sync
</Location>
<Location /minig>
ProxyPass ajp://127.0.0.1:8009/minig
</Location>
ProxyRequests On
<Proxy *>
AddDefaultCharset off
Allow from all
</Proxy>
#_HORDE_BEGIN_
#_HORDE_END_
</VirtualHost>
Le problème dans votre virtual est donc l'include path qui doit pointer
vers /var/www/obm et pas /var/www/obm/obminclude.
Les différents "ProxyPass ajp://..." ne sont pas à reprendre sur une
install de l'interface php simple.
Cordialement,
Thomas.
More information about the Obm
mailing list