Tema: ssh + php
Autorius: tobias
Data: 2009-05-21 12:50:26
kai ssh konsoleje vykdau komanda:

php -q /var/www/vhosts/domainas.com/run.php

php failas sekmingai executinamas [0644]

taciau jei sukuriu nauja faila RUN_ALL.sh [0777] su keliom komandom:

php -q /var/www/vhosts/domainas.com/run.php
php -q /var/www/vhosts/domainas.com/run2.php
php -q /var/www/vhosts/domainas.com/run3.php

ir bandau paleisti RUN_ALL.sh per konsole gaunu klaida, del includinamu 
failu

PHP Fatal error:  require_once(): Failed opening required 
'/var/www/vhosts/domainas.com/db.php' 
(include_path='.:/usr/share/pear:/usr/share/php') in 
/var/www/vhosts/domainas.com/run.php on line 3

kiek suprantu cia bedos su teisemis. visu failu owner root

aciu uz komentarus