Description of problem: After downloading composer and installing all necessary dependencies, composer locks the framework to an older version and returns errors. After spending 3 days trying to discover the error, I found that the php-ctype package was missing. Could you include it in the task-lamp-php metapackage? This solves the problem. Version-Release number of selected component (if applicable): task-lamp-php.noarch 1:3-10.mga9 php-ctype.x86_64 3:8.2.18-1.mga9 How reproducible: Download and install composer: https://getcomposer.org/download/ Install dependencies, if necessary. Install codeigniter following the documentation: https://codeigniter.com/user_guide/installation/installing_composer.html
Wouldn't the correct solution be to have that composer-setup.php check all requirements and report on any problem?
CC: (none) => fri
You are sure. Ubuntu provides php-ctype in composer's php-common dependency. Can close the bug. But it would be interesting if someone packaged composer.
So 'composer' is external software. Installing it involves: $ php composer-setup.php which runs the installer. "This installer script will simply check some php.ini settings, warn you if they are set incorrectly" So it is quite sensible that it should check for the presence of 'php-ctype', or anything else it needs. Even simpler, the download page could say that it (and whatever else) is needed. Comment 0 says "Install dependencies, if necessary". Where are these defined? However, Michael's request is not excessive; except task-lamp-php says: Summary : Metapackage for the Linux, Apache, MySQL, PHP server Description : This package is a meta-package, meaning that its purpose is to contain dependencies for running LAMP (PHP) server and whether php-ctype has anything to do with that... @Michael Can you ask upstream to say on the download page this requirement? And you can raise a 'new package request' bug for composer if you wish.
Status: NEW => RESOLVEDResolution: (none) => WORKSFORMECC: (none) => lewyssmith