Bug #12498 Updated: cant config magic_quotes_off

From: Date: Sun, 19 Aug 2001 00:09:39 +0000
Subject: Bug #12498 Updated: cant config magic_quotes_off
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-63647@lists.php.net to get a copy of this message
ID: 12498 Updated by: sniper Reported By: g.r.wood@stones.com Old Status: Open Status: Feedback Bug Type: *Configuration Issues Operating System: Windows 4.9xxxx (Me) PHP Version: 4.0.6 New Comment: Try putting the php.ini file into the same directory with apache.exe as this works for me (on Win ME). --Jani Previous Comments: ------------------------------------------------------------------------ [2001-08-06 19:04:46] g.r.wood@stones.com Hi Jani, As I stated in my report of the problem: [so I modified the php.ini in the windows dir to set magic_quotes_gpc to be off] as in c:\windows\php.ini ;-) I am running Php as an apacheModule as in c:\apache\conf\httpd.conf : #LoadModule usertrack_module modules/ApacheModuleUserTrack.dll LoadModule php4_module c:/apache/php/sapi/php4apache.dll # And Yes! I have read the install.txt file, at least a hundred times or so. ;-) ------------------------------------------------------------------------ [2001-08-06 07:33:24] sniper@php.net Are you running PHP in CGI mode? Or as apache module? And have you read the install.txt file? It says where you should put php.ini in your system. --Jani ------------------------------------------------------------------------ [2001-07-31 22:35:36] g.r.wood@stones.com Hi I have installed 4.0.6 and have had no major problems it seems however That I can't change the config from the compiled in data, i.e. I have installed Ariadne, and it requires magic_guotes_gpc to be 'off' so I modified the php.ini in the windows dir to set magic_quotes_gpc to be off but then php crashes, and wont recognise any php script, as in 'Warning: Failed opening '/apache/htdocs/phpinfo.php' for inclusion (include_path='.;c:\apache\php\includes;c:\apache\includes;c:\apache\htdocs') in Unknown on line 0' any help would be appreciated as I need to run Ariadne locally during development. n.b. if I remove php.ini from the windows dir, phpinfo.php runs (as does everything else Php wise) and phpinfo states that the php.ini file is in c:\winnt which of course it isn't??? Sincerely yours George R Wood. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12498&edit=1

« previous php.dev (#63647) next »