| Quick navigation: | Home | Site Map || References | Biography || Copyright | Other copyright | Contact us | Advert | | |||
[ccp4bb] How to run ccp4 in php script? |
||||
- Protein crystallographyMain steps:- Protein purification- Crystallisation Special:- Programs for crystallography- X-ray detectors Basic tutorials:- Chemistry- Protein - Peptide - Amino Acids Xtal community:- CCP4BB |
CCP4bb navigationCCP4bb <-- 1999 <-- November 1999 <-- 30 November 1999Subject: How to run ccp4 in php script? From: yang li robertcatrukie {- at -} GMAIL {- dot -} COM Date: 2007-05-21 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! CCP4bb navigationCCP4bb <-- 1999 <-- November 1999 <-- 30 November 1999 |
|||
| ProteinCrystallography.org: Copyright 2006-2010 by Quid United Ltd |