From:             RJackson at InfoSharkz dot com
Operating system: Windows XP
PHP version:      5.0.3
PHP Bug Type:     Unknown/Other Function
Bug description:  Execution functions do not work.

Description:
------------
The execution functions like passthru, exec, and system do not work on PHP
5.0.3 to execute a program. No error message is returned. The functions
however work with PHP 4.3.10 with the same code and same program.

The following is changed in my PHP.ini file:
extension_dir=C:\Program Files\PHP5
extension=php_mysql.dll
extension=php_gd2.dll
extension=php_curl.dll
error_log = error.txt
post_max_size = 20M
include_path = ".;m:\IS"
default_socket_timeout = 10

Reproduce code:
---------------
<?
$imagemagick='C:\Program Files\ImageMagick-6.2.1-Q16\convert.exe';
$filename="file.jpg";
passthru("$imagemagick $filename t-$filename");
?>

Expected result:
----------------
The script should copy the file file.jpg to t-file.jpg in the same
directory using Imagemagick.

Actual result:
--------------
The file is not copied.

-- 
Edit bug report at http://bugs.php.net/?id=32478&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32478&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32478&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32478&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32478&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32478&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32478&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32478&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32478&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32478&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32478&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32478&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32478&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32478&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32478&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32478&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32478&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32478&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32478&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32478&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32478&r=mysqlcfg

Reply via email to