problem with php 4.2.3

ok its a redhat server (7.3)

i have the php.ini config file in the folder :

/usr/local/php4/config/php.ini

im installing php in the folder

/usr/local/php4/

now, i run this configure command :

./configure --with-config-file-path=/usr/local/php4/config/php.ini --with-mysql --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local/php4/

now, when php installs, it completly ignores what i have set in my config file (php.ini)

now when i run this :

<?php phpinfo(); ?>

it gives the correct location to the php.ini file (which was there during compile)

but it doesn't do what its told, and ignores what i have set in the config file.

for example, max upload is default set to 2MB, if i set it to 10MB in the config file and compile php with the above ./configure it still sets it to 2MB

in the config file there is no ; before what i set so it shouldn't be ignored.

can anyone share some light on this

i really need to have php use my settings not the default.

Thanx

 

 

 

 

Top