are the environment variables correct? As in, to run it on the command line, do you have special PATH or other settings? If so, you should use http://www.php.net/putenv to put those variables into the PHP script.
-David On Tue, Jan 31, 2012 at 4:25 AM, Sangeetha Subramaniam <srdshige...@gmail.com> wrote: > Dear All, > > Can someone help me to run babelĀ for file conversion in PhP. > Here is what I want to do: > > "babel -ismi compound.smi -osdf -0 com_3d.sdf --gen3d" > > This runs fine in command as well as in shell, but not in PHP. There is no > problem with file permission. > > Can someone please help. > > PS:I see this question was posted previously by someone, but I could not > locate the reply. > > Thanks > Sangeetha. > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss