[TYPO3-english] MAMP, IM and TYPO3 not playing well together at all
Christian Platt
christian.platt at pharmaline.de
Thu Jan 5 12:55:13 CET 2012
check the path to "convert". Look in typo3 configuration which is set.
convert is from imageMagick and needed for the graphcs.
Ghostscript is needed for pdf conversion
is it /usr/bin or where is it?
btw... you dont have to use mamp. Macos comes (nearly) with all of it lin library/webserver/documents....
Christian
Am 05.01.2012 um 12:30 schrieb Michael Cannon:
> I'm using the latest MAMP Pro and in turn ImageMagick and GraphicsMagick
> via MacPorts successfully on two other OS X 10.6 systems.
>
> On the third system, MAMP and TYPO3 play well fine, but for whatever
> reason, none of the IM/GM binaries are being reachable via TYPO3.
>
> I've created a test file with the following code to see if identify is
> reachable and outputs anythings.
>
> <?php
> error_reporting( E_ALL );
> $identify = '/opt/local/bin/identify';
> var_dump( file_exists( $identify ) ); echo '<br />'; echo '' . __LINE__ .
> ':' . basename( __FILE__ ) . '<br />';
> var_dump( is_readable( $identify ) ); echo '<br />'; echo '' . __LINE__ .
> ':' . basename( __FILE__ ) . '<br />';
> var_dump( is_executable( $identify ) ); echo '<br />'; echo '' . __LINE__ .
> ':' . basename( __FILE__ ) . '<br />';
> print_r( stat( $identify ) ); echo '<br />'; echo '' . __LINE__ . ':' .
> basename( __FILE__ ) . '<br />';
> var_dump( exec( $identify ) ); echo '<br />'; echo '' . __LINE__ . ':' .
> basename( __FILE__ ) . '<br />';
> var_dump( system( $identify ) ); echo '<br />'; echo '' . __LINE__ . ':' .
> basen
> ame( __FILE__ ) . '<br />';
> phpinfo();
> ?>
>
> The result of calling the script is.
> bool(true)<br />4:pi.php<br />bool(true) <br />5:pi.php<br />bool(true) <br
> />6:pi.php<br />Array ( [0] => 234881026 [1] => 1204258 [2] => 33261 [3] =>
> 1 [4] => 0 [5] => 80 [6] => 0 [7] => 9196 [8] => 1325762848 [9] =>
> 1324376166 [10] => 1325754258 [11] => 4096 [12] => 24 [dev] =>
> 234881026[ino] => 1204258[mode] => 33261[nlink] => 1[uid] => 0 [gid]
> => 80 [rdev] => 0 [size] => 9196 [atime] => 1325762848 [mtime] =>
> 1324376166[ctime] => 1325754258[blksize] => 4096 [blocks]
> => 24) <br />7:pi.php<br />string(0) "" <br />8:pi.php<br />string(0) ""<br
> />9:pi.php<br /><
> ... on to phpinfo() dump. Viewable at
> http://aihrus.inhouse.in2code.de/pi.php.
>
>
> As you can see, the web server can supposedly read and execute the identify
> file, but there's no output for any of the system or exec like commands.
>
> I've checked that php.ini allows for the exec functions to work, but to no
> avail.
>
> I really hope someone might have an idea here to help me.
>
> Michael
> --
> Michael Cannon
> The TYPO3 Vagabond <http://typo3vagabond.com> @ in2code.de
> Been there, done that, 25 years of coding
> Germany +49 (0)160 574 1973
> US +1 617 539 6072
> http://typo3vagabond.com
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list