Le 8/26/04 1:28 PM, ��Laurent Van Damme� <[EMAIL PROTECTED]> a
�crit�:

> Bonjour,
> 
> J'essai d�sesp�rement de trouver un moyen pour que les modifications
> que j'effectue soit repris par le phpinfo() et Apache, mais je  ne
> r�ussi pas pour l'instant. Quelqu'un peut m'aider?
> 
> Voici ce que j'ai sur phpinfo():
> 
> System
>   Darwin G5.local 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug 5 19:26:16
> PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC Power Macintosh
> 
>   Build Date
>   Sep 13 2003 22:00:43
> 
>   Configure Command
>   '/SourceCache/apache_mod_php/apache_mod_php-12/php/configure'
> '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info'
> '--with-apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli'
> '--with-zlib-dir=/usr' '--enable-trans-sid' '--with-xml'
> '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-dbx'
> '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr'
> '--with-config-file-path=/etc'
> 
>   Server API
>   Apache
> 
>   Virtual Directory Support
>   disabled
> 
>   Configuration File (php.ini) Path
>   /private/etc/php.ini
> 
> 
> Et dans ce dernier fichier j'ai modifi� ceci:
> 
> ; - register_globals = Off         [Security, Performance]
> - register_globals = On ; Added by LVD 26/8/2004
> 
> J'ai saufgard� ce fichier en TextEdit dans le dossier  /private/etc/
> J'ai mis les authorisations sur "read" pour tous
> J'ai red�marr� completement.
> 
> Mais je n'arrive pas � convaincre Apache que les register-globals sont
> sur On!
> 

> 
En g�n�ral, j'installe (ou r�installe) php en suivant les instructions de
http://www.entropy.ch/software/macosx/php/
Ca te donne un php.ini facilement �ditable.
Mais il y a moyen d'�viter d'activer les register_globals (quoique cela ne
soit pas recommand� pour des raisons de s�curit�):
Solution using a .htaccess file

I created a .htaccess file and uploaded it to:


inside this .htaccess file I typed:
code:

php_flag register_globals on


This only works if you're using PHP as an Apache module and you'll need
AllowOverride Options or AllowOverride All privileges on it.

Philippe Hensmans 
Directeur 
Amnesty International Belgique
------------------------------------
Mobile: +32 (0) 475.86.20.61
Direct fax and voicemail: +32-27065607
To call me from UK: +44 (0)7092017787




=================================================
Engagez-vous contre la violence faite aux femmes:
http://www.amnesty.be/stopviolence

Internet communications are not secure and therefore Amnesty International does 
not accept legal responsibility for the contents of this message. 
If you are not the intended recipient you must not disclose or rely on the 
information in this e-mail. Any views or opinions presented are solely 
those of the author and do not necessarily represent those of Amnesty 
International. Electronic communications including email might be 
monitored by Amnesty International for operational or business 
reasons.
--
CyberCafe c'est chaque semaine le mardi 19h et 22h30 sur La 2!
Cette liste vous est offerte par Emakina <http://www.emakina.com/>
Emakina: technologie et creativite au service de vos projets Web.
Desabonnement par email :  <mailto:[EMAIL PROTECTED]>

Répondre à