PHP require not working
I have installed my droplet (ubuntu 18.04) both manually but also tried the one-click apps. Both times the PHP variables are “undefined” but they are defined in another file. I used the following code to include them:
This works on my other server (Linus @ ExtraVM) so I don’t understand why this doesn’t work. Am I missing any PHP packages?
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.×