PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > php.ini location confusion: (Loaded) Configuration File
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
php.ini location confusion: (Loaded) Configuration File

Réponse
 
LinkBack Outils de la discussion
Vieux 18/09/2007, 12h44   #1
Erwin Moller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut php.ini location confusion: (Loaded) Configuration File

Hi,

Why does phpinfo() show two locations for php.ini?

This is what it says:
Configuration File (php.ini) Path: C:\Windows
Loaded Configuration File : C:\inetpub\php5\php.ini

The 'Loaded Configuration File' is correct, that is where my php.ini is.
I don't have a php.ini in C:\Windows

Why not only show the used (loaded) location?

The box in question: PHP5.2 on IIS7/Vista.
In environment for 'PHPRC', the value 'C:\inetpub\php5'


Regards,
Erwin Moller
  Réponse avec citation
Vieux 18/09/2007, 16h14   #2
C.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: php.ini location confusion: (Loaded) Configuration File

On 18 Sep, 12:44, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_m...@spam yourself.com> wrote:
> Hi,
>
> Why does phpinfo() show two locations for php.ini?
>
> This is what it says:
> Configuration File (php.ini) Path: C:\Windows
> Loaded Configuration File : C:\inetpub\php5\php.ini
>
> The 'Loaded Configuration File' is correct, that is where my php.ini is.
> I don't have a php.ini in C:\Windows
>
> Why not only show the used (loaded) location?
>
> The box in question: PHP5.2 on IIS7/Vista.
> In environment for 'PHPRC', the value 'C:\inetpub\php5'
>
> Regards,
> Erwin Moller


IIRC you can specify a search path at runtime - presumably this is C:
\Windows on your binary.
See http://www.php.net/manual/en/configuration.php

C.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h58.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,26648 seconds with 10 queries