Score:1

phpMyAdmin missing php-xml

ru flag

I have an instance on AWS (Amazon Linux 2). I installed lamp on the server and access the phpMyAdmin.

And I get this error:

Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: xml

I tried to install it (php-xml) using sudo yum install php-xml, I get this error:

Error downloading packages:

php-xml-7.2.34-1.amzn2.x86_64: [Errno 256] No more mirrors to try.

libxslt-1.1.28-6.amzn2.x86_64: [Errno 256] No more mirrors to try.

I am new to this, if you need more debugging information, please tell me. Thanks.

cn flag
There are great options within AWS for more managed services that mean you can just worry about code. What are you actually trying to achieve? Serve a website? Provide an API?
CHOO YJ avatar
ru flag
@shearn89 I want to serve a dynamic website (using PHP) with a MySQL database.
Score:1
ru flag

I found that I accidentally delete some files in /etc/pki/tls/certs/. I put them back and it's working now.

Score:0
cn flag

If you're trying to deploy a PHP app then I would strongly recommend AWS Elastic Beanstalk. You create a simple appspec.yml file, upload your code, and it does the rest - including database setup and sensible things like autoscaling. It will be much easier than setting everything up by hand!

CHOO YJ avatar
ru flag
Can I set up a ftp, which I can upload files directly into the AWS Elastic Beanstalk?
CHOO YJ avatar
ru flag
Another question: You said it can autoscaling, does it mean I will auto increase the price?
cn flag
I'm not sure about the FTP - but there are other ways of updating your app that AWS provide, take a look at the CodeStar tool. Autoscaling means it will add more servers as needed, and remove them when they're not. You only pay for what you use, so yes - it will cost more when the service is being heavily used!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.