I've uncommented gd in php.ini - but I still can't get imagecreatefromjpg()
to work... How does one enable php with jpg support? (the default php that comes with mac - not xampp or homebrew. trying to avoid multiple installations, low disk space etc)
Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpg()
$ php --version WARNING: PHP is not recommended PHP is included in macOS for compatibility with legacy software. Future versions of macOS will not include PHP. PHP 7.3.29-to-be-removed-in-future-macOS (cli) (built: Sep 6 2021 05:14:39) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.29, Copyright (c) 1998-2018 Zend Technologies
– Marc Wilson Jan 17 '22 at 02:48php
emit that message of all the scripting languages that macOS includes, so I wouldn't count on it being there. – Marc Wilson Jan 17 '22 at 15:01