fresfj / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

php exec give a status code 127 #240

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.when i use YUICompressor.jar
2.i get a 500 error

What is the expected output? What do you see instead?

i change the code in YUICompressor.php:

if(!exec(self::_getCmd($options, $type, $tmpFile), $output, $revar)){
            throw new Exception('Minify_YUICompressor command error code: ' . $revar);
};

sorry for my English!

Please use labels and text to provide additional information.

Original issue reported on code.google.com by star212...@gmail.com on 18 Aug 2011 at 9:21

GoogleCodeExporter commented 9 years ago
php version is 5.1.6
java is 1.6.0
centOS 5

Original comment by star212...@gmail.com on 18 Aug 2011 at 9:26

GoogleCodeExporter commented 9 years ago
This seems solved in 2.1.5 (exit code is checked)

Original comment by elan.ruu...@gmail.com on 29 Mar 2012 at 7:18

GoogleCodeExporter commented 9 years ago

Original comment by mrclay....@gmail.com on 29 Mar 2012 at 8:04