RE: [PHP] Changes in php.ini have no effect

2004-03-16 Thread Ford, Mike [LSS]
On 16 March 2004 15:10, Harry Sufehmi wrote:

 Problem:
 Changes made in c:\winnt\php.ini doesn't have any effect even after
 restarting Apache. 
 
 Steps tried:
 # looking for other copies of php.ini - none found
 # entering the related values in Apache's httpd.conf file
 instead - works for some values, but not for others.
 # entering the related values in Apache's .htaccess file - doesn't
 work at all 
 
 PHP version: 4.3.3
 phpinfo() output - http://www.harrysufehmi.com/inf.php
 
 If you at the output of phpinfo(), it stated that the
 configurations were read from c:\winnt\php.ini

No, it actually states:

Configuration File (php.ini) Path  C:\WINNT

which means that it's looking in C:\WINNT for your php.ini file, but hasn't
found one -- if it found a php.ini there, that line would have read:

Configuration File (php.ini) Path  C:\WINNT\php.ini

As you're on Windows, my guess is that the old hidden extension trick is in
play and you've actually got a file called something like php.ini.txt -- try
turning off the Windows option that hides recognised extensions, and taking
another look.

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Changes in php.ini have no effect

2004-03-16 Thread Harry Sufehmi

On 16/03/2004 at 18:18 Ford, Mike [LSS] wrote:
On 16 March 2004 15:10, Harry Sufehmi wrote:
 Problem:
 Changes made in c:\winnt\php.ini doesn't have any effect even after
 restarting Apache.

 PHP version: 4.3.3
 phpinfo() output - http://www.harrysufehmi.com/inf.php

 If you at the output of phpinfo(), it stated that the
 configurations were read from c:\winnt\php.ini

No, it actually states:
Configuration File (php.ini) Path  C:\WINNT
which means that it's looking in C:\WINNT for your php.ini file, but hasn't
found one -- if it found a php.ini there, that line would have read:
Configuration File (php.ini) Path  C:\WINNT\php.ini
As you're on Windows, my guess is that the old hidden extension trick is in
play and you've actually got a file called something like php.ini.txt --

Good one but I just checked (from command prompt) and indeed php.ini is there (not 
php.ini.txt), double-checked as well just to make sure.

Thanks for the reply anyway.



Thanks,
Harry


--
Kampanye open-source Indonesia - http://www.DariWindowsKeLinux.com
Solusi canggih, bebas ikatan, dan bebas biaya

v0sw6Chw5ln3ck4u6Lw5-2Tl6+8Ds5MRr5e7t2Tb8TOp2/3en5+7g5HC - hackerkey.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Changes in php.ini have no effect

2004-03-16 Thread Ford, Mike [LSS]
On 16 March 2004 19:01, Harry Sufehmi wrote:

 On 16/03/2004 at 18:18 Ford, Mike [LSS] wrote:
  On 16 March 2004 15:10, Harry Sufehmi wrote:
   Problem:
   Changes made in c:\winnt\php.ini doesn't have any effect even
   after restarting Apache. 
   
   PHP version: 4.3.3
   phpinfo() output - http://www.harrysufehmi.com/inf.php
   
   If you at the output of phpinfo(), it stated that the
   configurations were read from c:\winnt\php.ini
  
  No, it actually states:
 Configuration File (php.ini) Path  C:\WINNT
  which means that it's looking in C:\WINNT for your php.ini file,
  but hasn't found one -- if it found a php.ini there, that line
 would have read: Configuration File (php.ini) Path 
  C:\WINNT\php.ini 
  As you're on Windows, my guess is that the old hidden extension
  trick is in play and you've actually got a file called something
  like php.ini.txt -- 
 
 Good one but I just checked (from command prompt) and
 indeed php.ini is there (not php.ini.txt), double-checked as
 well just to make sure.

H'm!  Permissions problem?

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php