Hi all. I’m using SuSE Linux 9.2 pro, mod_php4 4.3.8.
The following script will NOT change the value of upload_max_filesize,
or other php.ini options.
<?php
$option = ‘upload_max_filesize’;
echo “default value of $option is ” . ini_get($option) . “<br />”;
if (!ini_set($option, ‘5MB’))
echo “error in setting php.ini $option value <br />”;
echo “New value of $option is ” . ini_get($option) . “<br />”;
$entries = parse_ini_file(“/etc/php.ini”);
foreach ($entries as $key => $value) {
echo “$key => $value <br />”;
}
?>
Safe Mode is set to OFF, for this particular directory tree, in httpd.conf
Anyone got any ideas whats happening here please?
TY – Jabez