How to install WordPress on root domain and Php script on subdomain?

I have built a website using WordPress. I installed WordPress on root domain i.e www.example.com . Now I want to install a Php Script based website on subdomain and subdirectories i.e subdomain.example.com and www.example.com/subdirectory. I know it is possible to do this but I need the working process to make it possible. If anyone know this then please guide me.

Topic installation Wordpress

Category Web


Wordpress supports multi-sites setup for both sub-domain and subdirectory approach, please take a look at Create a Network.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.