Find Jobs
Hire Freelancers

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

€8-30 EUR

Cerrado
Publicado hace más de 5 años

€8-30 EUR

Pagado a la entrega
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 del proyecto: 17865854

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
5 freelancers están ofertando un promedio de €44 EUR por este trabajo
Avatar del usuario
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 en 0 día
5,0 (21 comentarios)
4,2
4,2
Avatar del usuario
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 en 1 día
4,9 (13 comentarios)
3,2
3,2
Avatar del usuario
I can do it .111
€23 EUR en 1 día
5,0 (4 comentarios)
1,7
1,7

Sobre este cliente

Bandera de ITALY
salerno, Italy
5,0
6
Forma de pago verificada
Miembro desde ene 10, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.