IndianWebPortal.com

Something Different In Linux

Home » Linux Commands » ERROR: `/root/tmp/pear/pdflib/configure –with-pdflib=/usr/local’ failed

How to UNSECURED /tmp and /var/tmp partition.

On the linux server the /tmp and /var/tmp partition is secure. So you can not installed some php modules for example “pdflib” on the server, it shows the error  “ERROR: `/root/tmp/pear/pdflib/configure –with-pdflib=/usr/local’ failed”  then you need to set the /tmp and /var/tmp partition UNSECURED and then try to install it

You can set UNSECURED it by using following steps.

1)[root@server~]$ mount -o remount rw /tmp

2) [root@server~]$ mount -o remount rw /var/tmp

You can set SECURED it by using following steps.

1) [root@server~]$ mount -o remount noexec,nosuid,rw /tmp

2) [root@server~]$ mount -o remount noexec,nosuid,rw /var/tmp

Or

1]  /scripts/securetmp


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...