[Mapbender-users] Mapbender installation PHP configuration

Walter White Jr. whitejrdot at gmail.com
Sat Jan 9 07:39:28 PST 2021


Hi Astrid,


thank you for your response.



The quick installation using the MS4W-Installer is just for testing and not
for a productive env right?



So, for the productive version I suppose I need to install and configurate
all elements separately.



(1)   I have checked the vars in the php.ini-development file:



; Directory where the temporary files should be placed.

; Defaults to the system default (see sys_get_temp_dir)

; sys_temp_dir = "/tmp"



; Temporary directory for HTTP uploaded files (will use system default if
not

; specified).

; http://php.net/upload-tmp-dir

;upload_tmp_dir =



[Date]

; Defines the default timezone used by the date functions

; http://php.net/date.timezone

;date.timezone =



For



upload_tmp_dir

date.timezone


vars no dir are set.

Which dir should be set?



(2)   After the php installation there is NO bin folder so I cannot set the
env var path for this. Or should I just add an empty bin folder to PHP and
add this path to the new env var?



(3)   In the php.ini-development file there are more sections with
extensions, e.g.:



; Notes for Windows environments :

;

; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)

;   extension folders as well as the separate PECL DLL download (PHP 5+).

;   Be sure to appropriately set the extension_dir directive.

;

;extension=bz2

;extension=curl

;extension=fileinfo

;extension=gd2

;extension=gettext

;extension=gmp

;extension=intl

;extension=imap

;extension=interbase

;extension=ldap

;extension=mbstring

;extension=exif      ; Must be after mbstring as it depends on it

;extension=mysqli

;extension=oci8_12c  ; Use with Oracle Database 12c Instant Client

;extension=odbc

;extension=openssl

;extension=pdo_firebird

;extension=pdo_mysql

;extension=pdo_oci

;extension=pdo_odbc

;extension=pdo_pgsql

;extension=pdo_sqlite

;extension=pgsql

;extension=shmop



               Are these the dynamic extensions? Or where exactly should I
paste these?



 Thank you again for your help.


Kind regards

Walter





Am Mo., 4. Jan. 2021 um 09:28 Uhr schrieb Astrid Emde (WhereGroup) <
astrid.emde at wheregroup.com>:

> Hello Walter,
>
> you also could take MS4W to install Mapbender.
>
> https://ms4w.com/
>
> Elso you should find the information at:
>
> https://doc.mapbender.org/en/installation/installation_windows.html
>
> Am 2021-01-03 22:24, schrieb Walter White Jr.:
> > Hi folks,
> >
> > I want to install Mapbender 3.0.8 on Windows 10 to launch an own
> > web-gis app on my website but have some problems with the PHP
> > installation. I already have installed PHP 7.2.33, Apache 2.4 and
> > PostgreSQL 9 but have some problems with the PHP configuration.
> >
> > (1) It needs to be checked if the following variables (php.ini) are
> > set correctly:
> >
> > sys_temp_dir
> >
> > upload_tmp_dir
> >
> > date.timezone
> >
> > Where should I check this? In the cmd, one of the php.exe files?
>
> You have to check this in the php.ini file
>
>
> >
> > (2)   “the path from PHP-bin directory to the PATH-variable (Windows
> > environment variable) needs to be set”
> >
> > There is no PHP-bin directory in the PHP file after installation so
> > how can I add the PHP-bin path as another Win environment var?
>
> Go to the environment variables.
>
> Here you find a description how it works:
>
> https://support.shotgunsoftware.com/hc/en-us/articles/114094235653-Setting-global-environment-variables-on-Windows
>
> > (3)   “activate the required PHP extensions in the php.ini
> > configuration file:”
> >
> > # php.ini
> >
> > extension=php_curl.dll
> >
> > extension=php_fileinfo.dll
> >
> > extension=php_gd2.dll
> >
> > extension=php_intl.dll
> >
> > extension=php_pdo_pgsql.dll
> >
> > extension=php_pdo_sqlite.dll
> >
> > extension=php_pgsql.dll
> >
> > extension=php_openssl.dll
> >
> > extension=php_mbstring.dll
> >
> > extension=php_zip.dll
> >
> > extension=php_bz2.dll
> >
> > Should I just add these lines into the php.ini file or what should I
> > do?
>
> In the php.ini file you find a section with extensions. There you can
> activate the mentioned extension.
>
> Do not forget to restart your Apache Service afterwards.
>
> In the Mapbender installation we do  not describe how to install apache
> or PHP. You find information about that online.
>
> Hope my comments help.
>
> Best regards
>
> Astrid
>
> > I want to emphasize I am not a web developer so I suppose these are
> > elementary questions but since Mapbender promises to create map apps
> > without a single line of code I was hoping I can manage that on my own
> > (have some knowledge about GDI). I was not able to find something
> > helpful on the internet so I hope you can help me with this. Would
> > appreciate any help.
> >
> > Many thanks in advance!
> >
> >                [1]
> >               Virenfrei. www.avast.com [1]
> >
> >
> >
> > Links:
> > ------
> > [1]
> >
> https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> > _______________________________________________
> > Mapbender_users mailing list
> > Mapbender_users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/mapbender_users
>
> --
> Mit freundlichen Grüßen
>
> Astrid Emde
> GIS-Consultant
>
> **********************************
> Das WhereGroup-Team wünscht Ihnen
> ein frohes Weihnachtsfest und
> einen guten Start ins Jahr 2021!
> **********************************
>
>    Astrid Emde
>    WhereGroup GmbH
>    Eifelstraße 7
>    53119 Bonn
>    Germany
>
>    Fon: +49(0)228 90 90 38 - 22
>    Fax: +49(0)228 90 90 38 - 11
>
>    astrid.emde at wheregroup.com
>    www.wheregroup.com
>
>    Folgen Sie der WhereGroup auf twitter:
> http://twitter.com/WhereGroup_com
>
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> -------------------------------
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20210109/40e38487/attachment-0001.html>


More information about the Mapbender_users mailing list