{"id":107,"date":"2023-01-19T15:40:25","date_gmt":"2023-01-19T12:40:25","guid":{"rendered":"https:\/\/akaunting.com\/hc\/?post_type=docs&#038;p=107"},"modified":"2024-02-22T17:12:40","modified_gmt":"2024-02-22T14:12:40","slug":"i-cant-install-apps","status":"publish","type":"docs","link":"https:\/\/akaunting.com\/hc\/docs\/frequently-asked-questions\/i-cant-install-apps\/","title":{"rendered":"I can&#8217;t install apps"},"content":{"rendered":"\n<p>This problem is caused by the PHP CLI and &#8220;php&#8221; command set lower than 8.0.2 version and\/or disabled PHP functions in your server. It generally happens in shared hosting with cPanel, Plesk, etc. panels where they offer Multi-PHP versions and set the lowest one for CLI and\/or &#8220;php&#8221; command, mostly 5.x version.<\/p>\n\n\n\n<p>Please, ask your hosting provider to make sure that&nbsp;<strong>PHP CLI<\/strong>&nbsp;and&nbsp;<strong>php<\/strong>&nbsp;command has at least 8.0.2 version and the following PHP functions are not disabled:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>proc_open<\/li>\n\n\n\n<li>proc_close<\/li>\n<\/ul>\n\n\n\n<p>You can get Akaunting installed with one-click on\u00a0<a href=\"https:\/\/bit.ly\/akaunting-do-start\" target=\"_blank\" rel=\"noopener\">DigitalOcean<\/a>,\u00a0<a href=\"https:\/\/bit.ly\/akaunting-linode-start\" target=\"_blank\" rel=\"noopener\">Linode<\/a>, or <a href=\"https:\/\/support.hostinger.com\/en\/articles\/8807596-how-to-use-the-akaunting-vps-template\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/support.hostinger.com\/en\/articles\/8807596-how-to-use-the-akaunting-vps-template\" rel=\"noreferrer noopener\">Hostinger<\/a>\u00a0servers and see the app installation working fine.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to set PHP path manually?<\/h3>\n\n\n\n<p>If you know the exact path of PHP executable in your server, then you can set it within the&nbsp;<code>.env<\/code>&nbsp;file (located in the root directory of your Akaunting installation) like the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">APP_PHP_PATH=\"\/usr\/bin\/php8.0\"<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">How to change PHP version?<\/h3>\n\n\n\n<p>If you have SSH access to your Ubuntu server, you can change the PHP version by running the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">sudo update-alternatives --set php \/usr\/bin\/php8.0\nsudo update-alternatives --set phar \/usr\/bin\/phar8.0\nsudo update-alternatives --set phar.phar \/usr\/bin\/phar.phar8.0\nsudo update-alternatives --set phpize \/usr\/bin\/phpize8.0\nsudo update-alternatives --set php-config \/usr\/bin\/php-config8.0<\/code><\/pre>\n\n\n\n<p>Keep in mind that the&nbsp;<code>\/usr\/bin\/php8.0<\/code>&nbsp;path may differ on your server.&nbsp;<a href=\"https:\/\/tecadmin.net\/switch-between-multiple-php-version-on-ubuntu\" target=\"_blank\" rel=\"noopener\">Here<\/a>&nbsp;you can learn more.<\/p>\n\n\n\n<p>If you don&#8217;t have SSH access then your hosting provider must apply the change.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This problem is caused by the PHP CLI and &#8220;php&#8221; command set lower than 8.0.2 version and\/or disabled PHP functions in your server. It generally happens in shared hosting with cPanel, Plesk, etc. panels where they offer Multi-PHP versions and set the lowest one for CLI and\/or &#8220;php&#8221; command, mostly 5.x version. Please, ask your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":77,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-107","docs","type-docs","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/docs\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":2,"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/docs\/107\/revisions"}],"predecessor-version":[{"id":2557,"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/docs\/107\/revisions\/2557"}],"up":[{"embeddable":true,"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/docs\/77"}],"wp:attachment":[{"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/akaunting.com\/hc\/wp-json\/wp\/v2\/doc_tag?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}