Re: php.ini set up problem
Jeff Gaines wrote:
> On 09/03/2008 in message <LHIAj.4922$fX7.1671@nlpi061.nbdc.sbc.com> mike
> wrote:
>
>> If so did you place the php.ini file in the c:\windows directory?
>
>
> My ini file is:
> C:\Program Files\PHP\php.ini
>
> During various installs on XP the ini file has alwasy ended up in the
> php drectory.
>
> There is also an entry in my httpd.conf file:
> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
> PHPIniDir "C:/Program Files/PHP/"
> LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>
I did indeed. I restarted the server and php stopped working. So I
uninstalled php, reinstalled but put the installation in C:/PHP instead
of C:\Program Files\PHP, put the php.ini file in C:\windows, restarted
the server. Now when I do a phpinfo() it is reading the file kind of.
phpinfo() shows that it is finding the file. It shows the proper
upload_tmp_dir. I can change some things like upload_max_filesize in the
php.ini file that get picked up after restarting the server. However,
some things are not getting picked up like extension_dir is not getting
changed from the php.ini
One weird thing happened on the php reinstall. I made a vertual
directory for my php scripts under wwwroot. For some reason the
reinstall left a copy of php.exe in that directory. I used the
automatic windows installer file. Maybe I should do this manually.
looks like you are using a apache server. I do not see a httpd.conf
file in my PHP directory. Is that file specific to the apache install?
Where is the file located.
Thanks
Mike
|