coolpro Posted July 19, 2008 Share Posted July 19, 2008 What does it depend on from which location PHP.INI file will be loaded in Windows OS? Quote Link to comment https://forums.phpfreaks.com/topic/115580-phpin-file-where/ Share on other sites More sharing options...
wildteen88 Posted July 19, 2008 Share Posted July 19, 2008 PHP searches key places for the php.ini on Windows. Which are - C:\Windows - PATH Environment Variable - or the registry I recommend you keep the php.ini in the PHP Installation folder and add PHP to the PATH Environment Variable. Quote Link to comment https://forums.phpfreaks.com/topic/115580-phpin-file-where/#findComment-594190 Share on other sites More sharing options...
coolpro Posted July 19, 2008 Author Share Posted July 19, 2008 I used: PHPIniDir "C:/php" in httpd.conf file is is good choice? Quote Link to comment https://forums.phpfreaks.com/topic/115580-phpin-file-where/#findComment-594192 Share on other sites More sharing options...
wildteen88 Posted July 19, 2008 Share Posted July 19, 2008 Yes that is ok, however it is still a good idea to add PHP to the PATH as I suggested earlier. Quote Link to comment https://forums.phpfreaks.com/topic/115580-phpin-file-where/#findComment-594194 Share on other sites More sharing options...
coolpro Posted July 19, 2008 Author Share Posted July 19, 2008 I am a new user, and I don't know where to ask. wildteen88, maybe you'll know. I cannot write PMs. System says: "You are not allowed to send personal messages." What the problem is? Quote Link to comment https://forums.phpfreaks.com/topic/115580-phpin-file-where/#findComment-594197 Share on other sites More sharing options...
wildteen88 Posted July 19, 2008 Share Posted July 19, 2008 You have to have 10 posts or more in order to send PMs. Quote Link to comment https://forums.phpfreaks.com/topic/115580-phpin-file-where/#findComment-594198 Share on other sites More sharing options...
coolpro Posted July 19, 2008 Author Share Posted July 19, 2008 Okay. Another question: What ScriptAlias exactly do, what is difference from Alias? Quote Link to comment https://forums.phpfreaks.com/topic/115580-phpin-file-where/#findComment-594205 Share on other sites More sharing options...
wildteen88 Posted July 19, 2008 Share Posted July 19, 2008 Both are explain in the Apache Documentation Alias ScriptAlias Quote Link to comment https://forums.phpfreaks.com/topic/115580-phpin-file-where/#findComment-594323 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.