[horde] Installing H6 using composer

Peter Øgaard Meyland peter at meyland.dk
Fri Feb 17 20:28:41 UTC 2023


Hi

I'm trying to install Horde 6 framework using composer and I think I'm  
doing it the right way, but i keep getting these error in my Apache  
error log:

/[Fri Feb 17 21:19:26.833298 2023] [php:warn] [pid 22190] [client  
127.0.0.1:46542] PHP Warning:   
require_once(/var/www/horde/vendor/vendor/autoload.php): Failed to  
open stream: No such file or directory in  
/var/www/horde/vendor/horde/horde/rampage.php on line 2
[Fri Feb 17 21:19:26.833339 2023] [php:error] [pid 22190] [client  
127.0.0.1:46542] PHP Fatal error:  Uncaught Error: Failed opening  
required '/var/www/horde/vendor/vendor/autoload.php'  
(include_path='.:/usr/share/php') in  
/var/www/horde/vendor/horde/horde/rampage.php:2\nStack trace:\n#0  
{main}\n  thrown in /var/www/horde/vendor/horde/horde/rampage.php on  
line 2/

Why does the first logline contains a double vendor? I think that it  
will work if there only was one vendor. 

What did I do:
   cd /var/www
   git clone https://github.com/maintaina-com/horde-deployment.git horde
   chown -R www-data:www-data horde
   cd /var/www/horde
   composer install
   vi /etc/apache2/sites-available/horde.conf:
      Alias /horde "/var/www/horde/web"
      <Directory /var/www/horde/web>
         Options Indexes FollowSymLinks
         AllowOverride All
         Require all granted
      </Directory>
   a2ensite horde
   system reload apache2
   cd /var/www/horde
   cp web/horde/config/conf.php.dist var/config/horde/conf.php
   composer horde-reconfigure

Regards from Denmark
Peter


More information about the horde mailing list