OggettoWeb / Magento-Parallels

Utility ext for parallel data processing in Magento
24 stars 6 forks source link

"Permission denied" using nginx on centos. "" #12

Open reinaldomendes opened 9 years ago

reinaldomendes commented 9 years ago

This is great module, thanks. It works form me on local but on server does not works.

The line which php returns empty.

if i turn run.php executable it return these lines.

/.parallels/run.php: line 1: ?php: Arquivo ou diretório não encontrado
/home/safiri/magento/production/releases/20141209024416/.parallels/run.php: line 3: /bin: É um diretório
/home/safiri/magento/production/releases/20141209024416/.parallels/run.php: line 4: api.php: comando não encontrado
dankocherga commented 9 years ago

The line which php returns empty.

Then this seems to be a problem with your server. You may try to use just PHP_BIN=php if bash would be able to find it.

if i turn run.php executable it return these lines.

Seems like you are trying to execute it as a bash script.

reinaldomendes commented 9 years ago

I'm solved this throble transform ru.php in a bash script with the first line. #!/bin/env php

Thanks