Re: [PHP] php exec()
- From: bluecolour.sz@xxxxxxxxx (cheesiong)
- Date: Mon, 3 Nov 2008 13:16:50 +0800
hi Chris,
i change the script to:
<?php
error_reporting(E_ALL);
ini_set('display_errors', true);
$output = array();
exec('ipkg-cl --version', $output);
print_r($output);
?>
the output from browser:
array()
other stuff remain the same. can i conclude php program is not a problem
here?
i will try to use other server to see if it is server inheritance.
and will try to increase errorlog level to see what is the problem.
regards,-keo
On Mon, Nov 3, 2008 at 1:03 PM, Chris <dmagick@xxxxxxxxx> wrote:
cheesiong wrote:
hi Chris,
thank you.
it is not working as well.
i copy the ipkg-cl into /usr/bin
add
error_reporting(E_ALL);
and
ini_set('display_errors', true);
to the top of your script.
any errors/warnings/whatever show up?
--
Postgresql & php tutorials
http://www.designmagick.com/
- Follow-Ups:
- Re: [PHP] php exec()
- From: Chris
- Re: [PHP] php exec()
- References:
- php exec()
- From: cheesiong
- Re: [PHP] php exec()
- From: Chris
- Re: [PHP] php exec()
- From: cheesiong
- Re: [PHP] php exec()
- From: Chris
- php exec()
- Prev by Date: Re: [PHP] php exec()
- Next by Date: Re: [PHP] php exec()
- Previous by thread: Re: [PHP] php exec()
- Next by thread: Re: [PHP] php exec()
- Index(es):
Relevant Pages
|