While installing uploadprogress using pecl, if you came across the below error ::
checking whether the C compiler works… configure: error: cannot run C compiled programs.
Then it means that the executable permission is not set on /tmp or /var/tmp
root@server[~]# mount | grep /tmp /usr/tmpDSK on /tmp type ext2 (rw,noexec,nosuid) /tmp on /var/tmp type none (rw,noexec,nosuid,bind)
So, in-order to complete the pecl installation just remount the /tmp and /var/tmp with executable permissions as :
root@server[#] mount -o remount rw /tmproot@server[#] mount -o remount rw /var/tmp
And now just try the pecl install uploadprogress and it will work like a charm.
That’s all you are done.
