I'm facing the following error while I'm trying to submit my extension. Can anyone please help me out with this.
./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for radware-shieldsquare/connector 5.1.0 -> satisfiable by radware-shieldsquare/connector[5.1.0]. - radware-shieldsquare/connector 5.1.0 requires ext-http * -> the requested PHP extension http is missing from your system. To enable extensions, verify that they are enabled in your .ini files: - /etc/php.ini - /etc/php.d/10-opcache.ini - /etc/php.d/20-bcmath.ini - /etc/php.d/20-bz2.ini - /etc/php.d/20-calendar.ini - /etc/php.d/20-ctype.ini - /etc/php.d/20-curl.ini - /etc/php.d/20-dom.ini - /etc/php.d/20-exif.ini - /etc/php.d/20-fileinfo.ini - /etc/php.d/20-ftp.ini - /etc/php.d/20-gd.ini - /etc/php.d/20-gettext.ini - /etc/php.d/20-iconv.ini - /etc/php.d/20-intl.ini - /etc/php.d/20-json.ini - /etc/php.d/20-mbstring.ini - /etc/php.d/20-mysqlnd.ini - /etc/php.d/20-pdo.ini - /etc/php.d/20-phar.ini - /etc/php.d/20-posix.ini - /etc/php.d/20-shmop.ini - /etc/php.d/20-simplexml.ini - /etc/php.d/20-soap.ini - /etc/php.d/20-sockets.ini - /etc/php.d/20-sodium.ini - /etc/php.d/20-sqlite3.ini - /etc/php.d/20-sysvmsg.ini - /etc/php.d/20-sysvsem.ini - /etc/php.d/20-sysvshm.ini - /etc/php.d/20-tokenizer.ini - /etc/php.d/20-xml.ini - /etc/php.d/20-xmlwriter.ini - /etc/php.d/20-xsl.ini - /etc/php.d/30-mysqli.ini - /etc/php.d/30-pdo_mysql.ini - /etc/php.d/30-pdo_sqlite.ini - /etc/php.d/30-wddx.ini - /etc/php.d/30-xmlreader.ini - /etc/php.d/40-zip.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode. Installation failed, reverting ./composer.json to its original content.
@amrit_talapatra Remove the below line from your composer.json file will fixed the problem.
"require": { "ext-http": "*" }
Thanks
I need the ext-http because I have got a few functionalities that depend on that extension. If I remove it then my module will start throwing error.
@amrit_talapatra then try to install this extension because currently it is not installed.
sudo apt-get install php7.2-ext-http
relpace 7.2 with the php version you are using. '
Thanks
The fact is I have it installed on my machine and the extension is working fine on my machine. But when I'm trying to submit it to the market place I've to go through a few tests. One of the tests is throwing this error. Others are passed. So if you have any idea where is the Installation & Varnish Test performed then can you help me out. If it's performed on magento's end, then I don't know how can I resolve it.
I also faced the same issue during submit extension.