Hey Jeeva,
You need a list of php extensions enabled for this installation.
Go to {{path}}>Xampp>PHP>PHP.ini and search for "gd" and simply remove ";" from the front it works as a comment if its there then the extension is disabled.
Similarly, you will have to enable other required extensions as well. Check and compare from the list below:-
extension=bz2 extension=curl extension=fileinfo extension=gd2 extension=gettext ;extension=gmp extension=intl ;extension=imap ;extension=interbase ;extension=ldap extension=mbstring extension=exif ; Must be after mbstring as it depends on it extension=mysqli ;extension=oci8_12c ; Use with Oracle Database 12c Instant Client ;extension=odbc ;extension=openssl ;extension=pdo_firebird extension=pdo_mysql ;extension=pdo_oci ;extension=pdo_odbc ;extension=pdo_pgsql extension=pdo_sqlite ;extension=pgsql ;extension=shmop ; The MIBS data available in the PHP distribution must be installed. ; See http://www.php.net/manual/en/snmp.installation.php ;extension=snmp extension=soap extension=sockets ;extension=sodium ;extension=sqlite3 ;extension=tidy ;extension=xmlrpc extension=xsl extension=php_openssl.dll extension=php_ftp.dll
Thanks
The error you're facing when running composer create-project for Magento 2.4.7 on XAMPP is likely due to an issue with Composer credentials or server compatibility. Here’s how you can fix it:
Check Authentication Credentials: Ensure you’ve set up your Magento Marketplace authentication keys in Composer. Use:
Replace <public_key> and <private_key> with your Magento Marketplace keys.
Update Composer: Run composer self-update to ensure you’re using the latest version.
Check PHP Version: Magento 2.4.7 requires a compatible PHP version. Verify your XAMPP PHP setup matches Magento's requirements.
Verify System Requirements: Ensure all required PHP extensions are enabled in XAMPP (ext-intl, ext-mbstring, ext-soap, etc.).
If you're looking to simplify the process and avoid configuration headaches, consider managed Magento hosting, which offers pre-configured environments tailored for Magento installations. This can save time and ensure optimal performance.