I have installed Apache 2.0.54 and PHP 4.3.11 on WinXP and it seems to work fine (<? phpinfo();?> displays a lot og information), but i dont know where it gets the php.ini information from, i have installed in C:\server\php4\ and added it to the enviroment variable path, i have not renamed the php.ini-dist or the php.ini-recomended to php.ini, so there is no php.ini file. <? phpinfo();?> says that php.ini is in C:\Windows, but there is no php.ini on the computer, i have search the whole harddrive, aldo hidden files and cant fin any php.ini file.

Someone who can help ?

Regards

Kenneth

    in the absence of a php.ini anywhere in the server's environmental path, PHP will use the defaults on all parameters as coded into the build.

    at any rate: rename the php.ini-dist to php.ini, stick it somewhere in your path, and tweak as necessary.

      The way that I do (using Apache webserver) it is to rename php-ini.dist (copy elsewhere, rename, move back, actually) in my php directory, then set PHPIniDir in httpd.conf to my php directory.

        Write a Reply...