Hi All,
     I have some scripts  which need to use  some  programs--like cad,
refmac--in ccp4,  and I want to
use a php script to  run  these  scripts, with  command  as :  $cmd ="  sh
aa.inp"; system($cmd);
    As I know, when I use php script, the account is Apache, which is a
nologin account, all the files I used
are put in the directory which belong to Apache.I donnot know what shell it
uses, assume it uses bash,
since Apache has no permission to /ccp4/include/ccp4.setup, I  copied
ccp4.setup to  the  directory I used.
And add a line in the script to source this ccp4.setup, file, but it gives
such error information:
********************* WARNING ********************** The directory
/home/prog/ccp4 (assigned to CCP4_MASTER) does not exist. The CCP4 programs
will not run correctly, and any installation attempt will have errors or
will fail. ********************* WARNING **********************
   I donnot know how to solve this problem. Anyone knows how to run the
ccp4 programs with the php script?

Thanks!

Reply via email to