Welcome Guest, Not a member yet? Register   Sign In
An error message when trying to run composer
#1

Hello,
I am new to code igniter. I ran the following command, "composer create-project codeigniter4/appstarter ciapp" and got this return: https://pastebin.com/Fm1cgPWr
I made sure the dependencies were first installed.
What can I do to resolve this issue?
Reply
#2

Install PHP dom extension.
PHP for web and PHP for CLI are different.
If you enabled it for web, you still need to enable it for CLI.

If you enabled it, `php -m` command shows "dom".

Code:
$ php -m | grep dom
dom
Reply
#3

(This post was last modified: 03-10-2024, 11:41 AM by VF1J.)

Hello @kenjis,
Thanks for your reply, but that did not solve things for me. I am going through a tutorial on trying to build a CMS using CodeIgniter. The instructor directs to first build locally and then upload it to a web host. I did however, look up how to enable dom and web and all that because I need it to work on both locally, on my computer, and on the web, ultimately. I came across this post: https://stackoverflow.com/questions/4404...he-php-ini
It seems that simply installing php-xml solved the problem...for now. No doubt, I will have other problems and will really need help.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB