{"id":440,"date":"2023-05-29T21:29:41","date_gmt":"2023-05-29T15:59:41","guid":{"rendered":"https:\/\/vvcares.com\/blog\/?p=440"},"modified":"2025-04-16T18:16:21","modified_gmt":"2025-04-16T12:46:21","slug":"linux-ubuntu-tips","status":"publish","type":"post","link":"https:\/\/vvcares.com\/blog\/linux-ubuntu-tips\/","title":{"rendered":"Linux Ubuntu Tips"},"content":{"rendered":"<p>How to fix &#8216;sudo: <strong>no tty present and no askpass program specified<\/strong>&#8216; ?<\/p>\n<p>SSH &gt; Linux \/ Ubuntu \/ CentOS<\/p>\n<p>Solution: sudo -S &lt;cmd&gt;<br \/>\nThe -S (stdin) option causes sudo to read the password from the standard input instead of the terminal.<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<pre>WHMCS ISSUE: <i class=\"fas fa-exclamation-triangle\"><\/i>\u00a0T<em><span style=\"color: #800000;\">he OPcache PHP extension is enabled. This extension can cause problems with cached data use and PHP script execution in WHMCS. We recommend disabling OPcache.<\/span><\/em><\/pre>\n<p><em><span style=\"color: #800000;\">Solution :\u00a0<\/span><\/em><\/p>\n<ul>\n<li>Openup your WHMCS <em><span style=\"color: #800000;\">configuration.php<\/span><\/em><\/li>\n<li>add this line inside that file &gt;&gt; <em><span style=\"color: #800000;\">ini_set(&#8216;opcache.enable&#8217;, &#8216;0&#8217;);<\/span><\/em><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>How to fix &#8216;sudo: no tty present and no askpass program specified&#8216; ? SSH &gt; Linux \/ Ubuntu \/ CentOS Solution: sudo -S &lt;cmd&gt; The -S (stdin) option causes sudo to read the password from the standard input instead of the terminal. &nbsp; WHMCS ISSUE: \u00a0The OPcache PHP extension is enabled. This extension can cause [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,11,1,4,22],"tags":[9,24,10],"class_list":["post-440","post","type-post","status-publish","format-standard","hentry","category-hestiacp","category-linux-ubuntu","category-servers","category-softwares","category-vpn-servers","tag-linux","tag-servers","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/posts\/440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/comments?post=440"}],"version-history":[{"count":0,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/posts\/440\/revisions"}],"wp:attachment":[{"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/media?parent=440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/categories?post=440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/tags?post=440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}