- In the latest php for Mandrake, the php.ini file was moved to a seperate
package, so it could be upgraded without upgrading the entire php package.
Most likely, you do not have it installed. You best bet would be to
uninstall any php modules (like php-mysql) - you can get a complete list of
php modules you installed by typing 'rpm -qa|grep php':
# urpme php-mysql php-xml (add whatever modules you have)
backup the php.ini file:
# mv /etc/php.ini /etc/php.ini.old
install the php-ini rpm
# urpmi php-ini
Then reinstall the php modules you uninstall:
# urpmi php-mysql php-xml (etc, etc)
You can then edit /etc/php.ini and you will find the 'safe-mode' option.
This may seem complex, but it will ensure a clean php.ini file.
------
Note: If this answer resolves your problem, please remember to close this
incident.
|