Closed sebastienhouzet closed 7 years ago
For fix this problem, change the configuration MAMP
Edit /Applications/MAMP/Library/bin/envvars
:
export PATH=/usr/local/bin/:$PATH
#DYLD_LIBRARY_PATH="/Applications/MAMP/Library/lib:$DYLD_LIBRARY_PATH"
#export DYLD_LIBRARY_PATH
Complete solution : http://www.prestagence.fr/wkhtmltopdf-wkhtmltoimage-mamp-mac-os-x-snappy-10580.html
Impossible de generate with php (MAMP PRO 2)
When i exec
usr/local/bin/wkhtmltoimage --format 'jpg' 'http://www.google.fr' '/Users/sebastien/Documents/git/test/test.jpg'
in a terminal, the image is generated.