"bad manual edit detected" with /scripts/phpup

Oldiesmann

Active Member
Dec 30, 2008
30
0
56
Cincinnati, Ohio, USA
cPanel Access Level
Root Administrator
When I went to upgrade PHP on my server from 5.4.10 to 5.4.11, I decided to use /scripts/phpup to save a bit of time versus doing it through the EasyApache interface in WHM. However, instead of upgrading to 5.4.11, it gives me a message about "bad manual edit detected" and defaults to 5.3.21 instead.

Code:
Updating PHP...
Updating PHP 5 to 5.4.11 from 5.4.10
!! Pre allocation testing was successfully able to allocate 90MB !!
!!
Output from '/bin/sh -c "ulimit -a"':
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 191593
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) 524288
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) 524288
file locks                      (-x) unlimited
!!
Distilled successfully
Updated FD_SETSIZE in /usr/include/linux/posix_types.h to 16384
Updated FD_SETSIZE in /usr/include/bits/typesizes.h to 16384
!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1360824476' !!
!!
Output from '/bin/sh -c "ulimit -a"':
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 191593
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) 1048576
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) 1048576
file locks                      (-x) unlimited
!!
!! Skipping backup, --only does not include Apache !!
!! [bad manual edit detected] profile item 'Cpanel::Easy::PHP5' has no specific version chosen, defaulting to 3_21'. !!
Because of this, I now have to go in and update it again through EasyApache anyway.

How do I set the default version for the "Cpanel::Easy::PHP5" profile?
 

cPanelJamyn

Social Engineer
Staff member
Jan 29, 2009
105
2
143
When I went to upgrade PHP on my server from 5.4.10 to 5.4.11, I decided to use /scripts/phpup to save a bit of time versus doing it through the EasyApache interface in WHM. However, instead of upgrading to 5.4.11, it gives me a message about "bad manual edit detected" and defaults to 5.3.21 instead.

Code:
Updating PHP...
Updating PHP 5 to 5.4.11 from 5.4.10
<snip>
!! [bad manual edit detected] profile item 'Cpanel::Easy::PHP5' has no specific version chosen, defaulting to 3_21'. !!
How do I set the default version for the "Cpanel::Easy::PHP5" profile?
Hi Oldiesmann,

I think this issue is discussed in an internal cPanel case (FB63252), but to confirm - if you could attach a copy of your most recent profile I'd appreciate it.