You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2006-01-19 12:22:45

Stephan
Member
Registered: 2006-01-19
Posts: 5

Installation corrections on Windows 2000 with xampp

Hello,

during the installation of glpi there was needfull to do some changes in the install.php
my testsystem is the xampp version which comes with OCSNG RC1

in the install.php i have changed the line
$mem=ini_get("memory_limit");
to
$mem=get_cfg_var("memory_limit");

on my system the instruction ini_get("memory_limit") did not work well.

in the section //file test

the file docs/test_glpi.txt will be checked but the directory glpi/docs did not exist in the download-package
after creat the directory the "filetest" also works perfect!

i hope this helps other users who maybe run into the same problems

Greeting, Stephan

Offline

#2 2006-01-19 12:27:28

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Installation corrections on Windows 2000 with xampp

ini_get must to work and give real data.
get_cfg_var return the global value not the local one.

The memory limit is only a warning.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2006-01-19 13:35:22

Stephan
Member
Registered: 2006-01-19
Posts: 5

Re: Installation corrections on Windows 2000 with xampp

but the return of ini_get is empty even though the memory_limit in php.ini is set to 32M

Stephan

Last edited by Stephan (2006-01-19 13:35:51)

Offline

#4 2006-01-19 14:02:21

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Installation corrections on Windows 2000 with xampp

Il me semble que ça avait déjà été modifié pour que ça ne pose plus de pb :

http://cvs.gna.org/cvsweb/glpi/install. … t=glpi;f=h


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#5 2006-01-19 15:39:00

Stephan
Member
Registered: 2006-01-19
Posts: 5

Re: Installation corrections on Windows 2000 with xampp

oh hrm, i did not speek (read) french sad but Babelfish helps me smile


ok, sorry. I used the Version 0.6 from Download Date 20.09.2005

Stephan

Offline

#6 2006-01-20 09:12:20

Stephan
Member
Registered: 2006-01-19
Posts: 5

Re: Installation corrections on Windows 2000 with xampp

Today now i have tested the cvs snapshot from the morning.
It is the same Problem.

with $mem=ini_get("memory_limit"); the return of ini_get is empty and with
$mem=get_cfg_var("memory_limit"); it works.

Stephan

Offline

#7 2006-01-20 09:27:49

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Installation corrections on Windows 2000 with xampp

Euh moi j'osait pas le dire mais ca me fait pareil tongue


Xavier Caillaud
Blog GLPI Infotel

Offline

#8 2006-01-20 13:17:00

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Installation corrections on Windows 2000 with xampp

Corrigé dans la version CVS, à tester.


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#9 2006-01-20 13:30:55

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Installation corrections on Windows 2000 with xampp

euh non ca fait pareil

Mémoire allouée : octets
Un minimum de 16Mo est généralement nécessaire à GLPI.
Essayez d'augmenter le paramètre memory_limit dans le fichier php.ini.


Xavier Caillaud
Blog GLPI Infotel

Offline

#10 2006-01-25 09:31:39

Stephan
Member
Registered: 2006-01-19
Posts: 5

Re: Installation corrections on Windows 2000 with xampp

Hello,

i have tested the cvs-snap fom 25.01. 08:00.
the instruction if(!isset($mem)) did not work because $mem is set but empty
wit the instruction if(empty($mem)) the memory test works properly.

in the install.php on line 179 is a little error: deutch had to be deutsch

Greetings, Stephan

Offline

#11 2006-01-25 09:55:58

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Installation corrections on Windows 2000 with xampp

Corrected in the CVS

Thanks.

I also add others language to the install process


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB