Doc #53802 [Opn->Bgs]: Exec execution

From: Date: Fri, 21 Jan 2011 10:48:11 +0000
Subject: Doc #53802 [Opn->Bgs]: Exec execution
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5848@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53802&edit=1 ID: 53802 Updated by: rquadling@php.net Reported by: cusatmca07 at gmail dot com Summary: Exec execution -Status: Open +Status: Bogus Type: Documentation Problem Package: Website problem PHP Version: 5.3.5 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. This isn't a bug for PHP, but more likely your hosted server doesn't have Python installed in the same way as you do. If the server is not Windows, C:\anything isn't going to work. Previous Comments: ------------------------------------------------------------------------ [2011-01-21 11:28:54] cusatmca07 at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.exec#Description --- <?php $out = array(); $execute='/cgi-bin/test.py'; exec ("$execute", $out); foreach ($out as $value) { echo "$value<br />\n"; } ?> Test script: --------------- Using exec() function i am executing python file in php it correcltly working in local server when i give path like C:\wamp\bin\apache\Apache2.2.11\cgi-bin\test.py but in hosted server when i give path its not working why? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53802&edit=1

« previous php.doc.bugs (#5848) next »