problem with php.ini file

ok i installed php to the following directory:

/usr/local/php

ok, so once i got php working, i made a file called info.php with this code :

PHP Code:
<?php phpinfo(); ?>
ok everything is good so far, so i goto my browser, and type in the following :

http://www.thedigitaldream.co.uk/info.php and it comes up with the details

ok so at this point i still havent copied the php.ini file to where it should be.

so i read what it said, on the info.php page, and it said the location of the file is :

/usr/local/php/lib

so i then i typed this :

cd /usr/downloads/php-4.2.2

(the directory with the php.ini-dist file)

then i typed :

cp php.ini-dist /usr/local/php/lib/php.ini

ok so i thought that was right because thats where the file should be accourding to info.php

so i edited the php.ini file, and changed some settings to what i need them to be, but then, i realised that when i change the details, it doesn't do anything

and if i goto

http://www.thedigitaldream.co.uk/info.php i notice that the settings are as if they havent been touched

is there something i am doing wrong?

 

 

 

 

Top