Also, I should add, you should see whether your PHP is using safe
mode.  As described at
http://php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode-exec-dir
, safe mode can be used to restrict what directories one can execute
programs from.

-David

On Mon, Feb 6, 2012 at 11:51 AM, David Hall <li...@cowsandmilk.net> wrote:
> 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

Reply via email to