problem updating php.ini.bak
445518Jul 1 2007 — edited Jul 3 2007Hi everyone,
I just installed Zend Core with Oracle 10g XE on a Linux RHEL4 machine.
It is mostly working fine except that I can't enable the PHP extension "mbstring" (which I need).
I get the following error message: "Failed to update php.ini file: ini file backup '/usr/local/Zend/Core/etc/php.ini.bak' cannot be overwritten."
I assume it is a Linux permission issue, but I am a relative Linux beginner and am scared to just start changing things. Can anyone look at these permissions and tell me what I need to change? I imagine that the group Zendtech needs write access to php.ini.bak (or its directory) but what is the proper way to do that?
[root@myhost etc]# ls -la /usr/local/Zend/Core/etc
total 244
drwxrwxr-x 2 root zendtech 4096 Jun 26 18:15 .
drwxr-xr-x 13 root root 4096 Jun 25 20:40 ..
-rw-r--r-- 1 root root 1038 Apr 25 09:41 pear.conf
-rw-rw-r-- 1 root zendtech 45319 Jun 26 18:14 php.ini
-rw-r--r-- 1 root root 45329 Jun 26 18:04 php.ini.bak
-rw-rw-r-- 1 root zendtech 45332 Jun 25 20:40 php.ini.twin
-rw-r--r-- 1 root root 44023 Jun 25 20:40 php.ini-zend_core_for_oracle.bak
-rw-r--r-- 1 root root 570 Jun 25 20:40 zend_enabler.conf
-rwxrwxrwx 1 root zendtech 353 Jun 25 20:42 zend.ini
Is there another way to do this? e.g. manually edit one of the configuration files.
Thanks!