ID:               32478
 User updated by:  RJackson at InfoSharkz dot com
 Reported By:      RJackson at InfoSharkz dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: Windows XP
 PHP Version:      5.0.3
 New Comment:

Found the issue.


Previous Comments:
------------------------------------------------------------------------

[2005-03-29 02:45:02] RJackson at InfoSharkz dot com

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 this bug report at http://bugs.php.net/?id=32478&edit=1

Reply via email to