RE: [PHP] exec not working
| From: | Christopher Hahn | Date: | Mon, 31 Jul 2000 16:16:05 +0000 |
| Subject: | RE: [PHP] exec not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-9191@lists.php.net to get a copy of this message | ||
Hello,
I had to abandon PHP for trusty old Perl for this task.
I had safe_mode off and an NT rsh daemon that allowed
me to specify the user the commands run as (so the user
is not an issue), and still the call hanged.
As I re-read your posting it occurs to my to suggest the
rsh daemon that I am using: http://www.denicomp.com
This has allowed me to exec a build program on an NT
box from a Linux web-page....using Perl right now...and PHP
as soon as I can achieve cranial de-rectification ;-)
Christopher
-----Original Message-----
From: Zbynek Škvor [mailto:skvor@fel.cvut.cz]
Sent: Monday, July 31, 2000 8:14 AM
To: 'php-general@lists.php.net'
Subject: Re: [PHP] exec not working
Dear colleague,
please, is exec under PHP working now? I have the same problem (eg. I need
to
run a program on NT from PHP) and have no success so far.
Thanks
Zbynek Skvor
Christopher Hahn wrote:
> Dan,
>
> Good suggestion.
>
> I did have safe_mode turned Off
>
> but I note the other settings:
> safe_mode_exec_dir 1
> sql.safe_mode Off
> safe_mode_allowed_env_vars PHP_
> safe_mode_protected_env_vars LD_LIBRARY_PATH
>
> Now, I will look up the safe_mode_exec_dir ...but
> doesn't safe_mode turn the rest on and off?
>
> Thanks for taking the time!!
>
> Christopher
>
> -----Original Message-----
> From: Daniel Convissor [mailto:danielc@analysisandsolutions.com]
> Sent: Friday, July 28, 2000 2:24 PM
> To: PHP List
> Subject: Re: [PHP] exec not working
>
> Hey Christopher:
>
> Run phpinfo(). What's your safe_mode settings?
>
> --Dan
>
> --
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> More than just answers. Solutions. (SM)
> http://www.analysisandsolutions.com/
> 4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
-----------------------------------------------------------------------
Zbynek Skvor
Coordinator
Region 8 IEEE Voluntary Contribution Fund
mail: z.skvor@ieee.org
fax: +420-2-3119958
www: http://www.cvut.cz/ascii/fee/k317/personnel/skvor
--
-----------------------------------------------------------------------
Zbynek Skvor
Coordinator
Region 8 IEEE Voluntary Contribution Fund
mail: z.skvor@ieee.org
fax: +420-2-3119958
www: http://www.cvut.cz/ascii/fee/k317/personnel/skvor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net