Apache running on CentOS is slightly different from Apache on Ubuntu.
The instructions you’ve used are for Ubuntu, not CentOS. I believe you need to replace www-data with apache. I can’t remember. We don’t do much stuff on CentOS here.
Is Apple better than Android for making phone calls? It doesn’t really matter. You go with whatever you’re used to using. However, I have found Ubuntu/Apache better documented online than other setups - Which is the setup I always use in my videos.