Find Jobs
Hire Freelancers

PHP SCRIPT FOR LAUNCHING COMMANDS OCC (NEXTCLOUD) FROM SHARING HOSTING

€8-30 EUR

クローズ
投稿日: 5年以上前

€8-30 EUR

完了時にお支払い
Hi all, I need to run an occ command on my nextcloud instance but it is hosted on a shared hosting so I can not use the shell. On the net I read that it is possible to bypass the shell using a php script like this: <?php exec("/etc/apache/php7.2/ -d memory_limit=512M occ db:add-missing-indices"); ?> The problem is that when I launch this script I realized it does not work and I get the following error in the log: Sat, 29 Sep 2018 22:25:56 GMT [error] [client 1.10.411.7] - [login to view URL] - AH01215: sh: /etc/apache/php7.2/: Is a directory: /web/htdocs/[login to view URL] Where am I wrong? I use an Aruba hosting
プロジェクト ID: 17865854

プロジェクトについて

5個の提案
リモートプロジェクト
アクティブ 6年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に5人のフリーランサーが、平均€44 EURで入札しています
ユーザーアバター
sir the error is quite simple , you need to remove the / from the end of /etc/apache/php7.2/ but that might not solve your issue . if it doesn't then we need to go a little more in depth
€9 EUR 0日以内
5.0 (21 レビュー)
4.2
4.2
ユーザーアバター
Basically you need to put changes in your php scripts related proper php72 client binary location on server filesystem. Which one exactly? there are basically couple of potential locations present - so need to play a bit to guess which one exactly. So basically can help with short investigation on related and proper changes in script after, so all works correctly. Tnx and Regards.
€25 EUR 1日以内
4.9 (13 レビュー)
3.2
3.2
ユーザーアバター
I can do it .111
€23 EUR 1日以内
5.0 (4 レビュー)
1.7
1.7

クライアントについて

ITALYのフラグ
salerno, Italy
5.0
6
お支払い方法確認済み
メンバー登録日:1月 10, 2018

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。