Re: php.ini set up problem
Hi,
It does sound like the installation was corrupted somehow. Are you
able to reinstall PHP using the package at php.net/downloads.php?
Regards,
John Peters
On Mar 8, 10:38 pm, mike <spammesi...@junkmail.com> 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
|