View Single Post

  #17 (permalink)  
Old 02-28-2008
Jerry Stuckle
 
Posts: n/a
Default Re: php.ini not being read in vista

Satya wrote:
> On Feb 28, 6:31 am, Jerry <Je...@nospam.not> wrote:
>> Tony wrote:
>>> Did you restart Apache?

>> yes, thanks. Many times. It would have been nice if Apache gave a
>> notice that it was using a default ini config.
>>
>> I am using .htaccess on the server to give a directive to disable
>> Magic Quotes. I suppose I could also use that approach to enable
>> them on my local machine, if ever necesary. IIRC there is a
>> performance hit that comes with using .htaccess (since each
>> subdirectory must then be searched for the existence of any
>> overriding .htaccess). But in my case, with low traffic, that
>> shouldn't matter much at all.

>
> If you installed it using xammp then it will use the php.ini in apache/
> bin folder. and not one in other places. Check correctly in phpinfo()
> output which php.ini they are using. Then change the php.ini and
> restart apache. You may have tried it. Still telling!
>


Did you read his first post?

phpinfo shows path to config file as C:\php\php.ini


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Reply With Quote