[Mapbender-users] php issues trying to install mapbender3 on Debian/testing with php7

Frederik Haefker (WhereGroup) frederik.haefker at wheregroup.com
Tue Oct 11 08:58:31 PDT 2016


Hi Moritz,

did you rename your "parameter.yml.dist" in following folder 
"app/config/" by removing the ".dist"?

Best Regards
Frederik

Am 11.10.2016 um 17:34 schrieb Moritz Lennert:
> Hello there,
>
> I'm new to Mapbender and am having quite some issues just trying to 
> install it. Any help would be appreciated.
>
> Below a summary of my situation and of what I've done.
>
> Thanks !
>
> Moritz
>
>
> ***************************************************
>
> OS: Debian testing
> Apache Version: 2.4.23
> PHP Debian version: 1:7.0+45
>
> I "apt-get removed" any remaining installed php5 packages (php5 is no 
> longer supported in Debian testing)
>
> sudo apt-get install apache2 libapache2-mod-php php php-pgsql php-gd 
> php-curl php-cli php-xml php-sqlite3 sqlite3 php-apcu php-intl openssl 
> php-zip php-mbstring php-bz2
>
>
> sudo a2enmod rewrite
>
> cd /var/www
> sudo tar xvzf ~/SRC/mapbender3-3.0.5.3.tar.gz
> sudo mv mapbender3-3.0.5.3/ mapbender3
>
> sudo vi mapbender3.conf
> ***
> Alias /mapbender3 /var/www/mapbender3/web/
> <Directory /var/www/mapbender3/web/>
>  Options MultiViews FollowSymLinks
>  DirectoryIndex app.php
>  Require all granted
>
>  RewriteEngine On
>  RewriteBase /mapbender3/
>  RewriteCond %{REQUEST_FILENAME} !-f
>  RewriteRule ^(.*)$ app.php [QSA,L]
> </Directory>
> ***
>
> sudo a2ensite mapbender3.conf
>
> sudo service apache2 reload
>
> When I now point my browser to
>
> http://localhost/mapbender3/
>
> I get a page with this:
>
> register(true); */ require_once __DIR__.'/../app/AppKernel.php'; 
> //require_once __DIR__.'/../app/AppCache.php'; $kernel = new 
> AppKernel('prod', false); $kernel->loadClassCache(); //$kernel = new 
> AppCache($kernel); $request = Request::createFromGlobals(); $response 
> = $kernel->handle($request); $response->send(); 
> $kernel->terminate($request, $response);
>
> When I point it to
>
> http://localhost/mapbender3/config.php
>
> I get to the config page, but with apparently a series of PHP issues 
> (see attached screenshot)
>
> After having seen an error about date.timezone on 
> http://doc.mapbender3.org/en/book/installation/installation_ubuntu.html:
>
> sudo vi /etc/php/7.0/cli/php.ini
> sudo vi /etc/php/7.0/apache2/php.ini
>
> ***
> date.timezone = Europe/Brussels
> ***
>
> sudo service apache2 restart
>
> http://localhost/mapbender3/config.php
>
> => same result
>
>
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
Ps.: bitte beachten Sie die Möglichkeit den Schriftverkehr mit meinem public-PGP-key zu schützen:
http://pool.sks-keyservers.net/pks/lookup?op=vindex&search=frederik+haefker

*****************************************************
INTERGEO 2016
11.- 13. Oktober 2016 in Hamburg
Treffen Sie die WhereGroup in Halle A4, Stand B4.028
www.intergeo.de
*****************************************************

Frederik Haefker
WhereGroup GmbH & Co. KG
Eifelstraße 7
53119 Bonn
Germany

Fon: +49 (0)228 / 90 90 38 - 0
Fax: +49 (0)228 / 90 90 38 - 11

PGP Key: http://pool.sks-keyservers.net/pks/lookup?op=vindex&search=frederik+haefker

frederik.haefker at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20161011/3da280c9/attachment.html>


More information about the Mapbender_users mailing list