Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How do I install PHP extensions from the Wordpress Kubernetes Marketplace app?
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.
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.×