Afficher un message
Vieux 19/02/2008, 18h06   #5
AnrDaemon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Loaded Configuration File (none) ? Why ?

Greetings, SPK.
In reply to Your message dated Friday, February 15, 2008, 16:33:00,

>> Nothing immediately springs to mind - have you tried accessing the
>> file from within your own php code?
>>
>>
>> You can override most settings from the ini file within your Apache
>> config - see http://us2.php.net/configuration.changes but I think you
>> need PHP5.3 to change the ini file used.
>>
>> C.


> Well, i tried to do :
> <?php
> $filename = "/etc/php/php.ini";
> $handle = fopen ($filename, "r");
> $contents = fread ($handle, filesize ($filename));
> fclose ($handle);
> echo "$contents";

?>>

> No problems occured when reading the file.. So, it's definitivly not a
> permission problem...


Did You supplied a PHPIniDir into Apache configuration script to point to the
correct INI file location?
Does Your settings at phpinfo(); page looks correct even if there are wrong
"Used INI file" mentioned in the start of page?

I'm asking cause I had similar issue on Windows.
PHP told me that it read the %WinDir%\php.ini while there are no php.ini
at all, and actual settings were taken from the correct ini file in the
PHPIniDir directory.


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

  Réponse avec citation
 
Page generated in 0,05136 seconds with 9 queries