View Single Post

  #4 (permalink)  
Old 03-09-2008
Jerry Stuckle
 
Posts: n/a
Default Re: php.ini set up problem

mike wrote:
> Jerry Stuckle wrote:
>> mike wrote:
>>
>>> Hi,
>>>
>>> I am very new to PHP I am having php.ini problems. I am working in XP
>>> with IIS and have php installed as an ISAPI. I am trying to change
>>> values in my php environment like 'upload_tmp_dir',
>>> 'upload_max_filesize'. I have scanned my computer and the only
>>> php.ini file on the machine is in C:\Program Files\PHP. If I change
>>> entries in that php.ini file and run phpinfo() it appears that the
>>> values are not getting updated. This is still true after I start and
>>> stop the IIS server.
>>>
>>> Also the phpinfo() reports my path to the php.ini file is c:\windows,
>>> but there is no php.ini file in that directory. If I copy the php.ini
>>> file to c:\windows and restart the server, then php breaks. I can not
>>> run even simple scripts like phpinfo() or echoing. However if I just
>>> change the name of the file to something like xphp.ini then php will
>>> start working again.
>>>
>>> Q1: where does php get its initial ini data if not from php.ini
>>>
>>> Q2: why does php break when I copy the php.ini file to the directory
>>> requested in its path.
>>>
>>> Thanks
>>> Mike
>>>

>>
>> Still trying, Mike?
>>
>> As I told you before - PHP has default values it uses if it can't find
>> a php.ini file. The easiest way for right now is to place a php.ini
>> file with the values you want in your c:\windows directory, then
>> restart IIS.
>>
>> If you're not going to follow suggestions, why do you even ask?
>>

>
> Sorry your have such a bad day jerry, wife not giving you any again?
>
> If your not going to read the posts why answer?
>
>


I did read your posts. And I answered. But you aren't taking the advice.

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

Reply With Quote