Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Apache/PHP et variables d'environnement...

1 réponse
Avatar
David BERCOT
--Sig_Ppn0h9cOth9JFdkDoOxp7/n
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Bonjour,

J'ai un petit souci sur un serveur Debian.
En effet, je souhaiterais rajouter une variable d'environnement
accessible par PHP.
J'ai essay=C3=A9 de la mettre dans /etc/bash.bashrc, puis dans /etc/profile,
puis dans /etc/environment. Et je n'arrive toujours pas =C3=A0 la voir.

Si je vais un 'set' =C3=A0 partir de PHP, j'ai 'TERM=3Ddumb' et je me dis d=
onc
que tout n'est pas obligatoirement ex=C3=A9cut=C3=A9... Mais bon, je pense =
quand
m=C3=AAme que certains fichiers le sont quand m=C3=AAme, non ?

Auriez-vous une petite piste ?

Merci d'avance.

David.

--Sig_Ppn0h9cOth9JFdkDoOxp7/n
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF99SVvSnthbGI8ygRAvfmAKCdpe0xoUCbrL6QMToqU0W4+3/piQCfYZQ7
NpyjHw0cgl7dyd8+wOKolFw=
=sXRb
-----END PGP SIGNATURE-----

--Sig_Ppn0h9cOth9JFdkDoOxp7/n--


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

1 réponse

Avatar
Glennie Vignarajah
--nextPart2375374.W8TzKpQaFa
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Le Wednesday 14 March 2007, David BERCOT(David BERCOT
) a écrit:
Bonjour,



Bonsoir,


J'ai un petit souci sur un serveur Debian.
En effet, je souhaiterais rajouter une variable d'environnement
accessible par PHP.



J'ai comprends pas tout


J'ai essayé de la mettre dans /etc/bash.bashrc, puis dans
/etc/profile, puis dans /etc/environment. Et je n'arrive toujours
pas à la voir.



mais regardez sur http://httpd.apache.org/docs/2.0/mod/mod_env.html
A+
--
Glennie Vignarajah
http://www.nephthys.org
Reality is that which, when you stop believing in it, doesn't go
away.

--nextPart2375374.W8TzKpQaFa
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUARfhxPtHiioqkksXaAQKgWAf/bLE1kf9IbqFC4+iQxgZCX9AWbZvUcnhV
svdYcR84YClTJB+BtuCDV9EVwO0fvV+sfEGn+VjARJ6d8X2ulSBmWzZZBj+x2lym
r74nQWs+aaVxJ9wQBVukjniCx5IPJZGzkjvjVKiy2KwD9eEjBfvPCOMDglgWWt1z
GczqmLMdXwfnqljE2bhysGcXaYxX5ib0PVV7qn9ah73vo/OWim4JaXDCkRCrKdL1
1vsQyvSZotH7tVm7lD0avEFe2mQgsky8T1+WZwjFvPjgbnfK8uoIspS2epCKdsz+
GmT5MDmcE9hv7Z2BhHKSESYpPBLdBQeS4l/yNxtNLM32JX+a5/vIpg= =4RWb
-----END PGP SIGNATURE-----

--nextPart2375374.W8TzKpQaFa--


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact