So far I’ve been able to set up a Kubernetes cluster with the Wordpress Kubernetes app. It comes with a load balancer, droplet pool, and some volumes. After getting it set up, I was able to switch to the wordpress namespace with kubectl.
kubectl config set-context --current --namespace=wordpress
Then I executed bash on the wordpress pod.
kubectl exec -it wordpress-pod-name -- /bin/bash
So I did some exploring and found that the bitnami installation for wordpress is in /opt/bitnami and /bitnami has wp-content in it for some reason. On bitnami’s documentation, you can use a script called ctlscript.sh to restart the Apache and PHP services.
Strangely enough, this script does’t exist and I can’t find it. I tried restarting Apache and PHP the usual ways and those didn’t work either. I wanted to start by installing either ImageMagick or GD for PHP, but without being able to restart the services I’m stuck.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hi, I recommend simply doing one of the following to get your required PHP modules installed
1). automated option
2). manual option
In general, you should be able to restart any process. For example, one can restart Apache by doing something like the following depending on your setup:
Well, I wish that the information assists you and best of luck.
–
Think different and code well,
-Conrad