thegrove45 Every time I download DokuWiki, it converts some of the .php files to FireFox (especially the install.php file).
What? Sorry, it seems you lack the understanding to even use the correct terminology. I can only guess what you mean.
Are you trying to say that when you try to open http://localhost/dokuwiki/install.php
(or whatever the correct URL is) in Firefox, it downloads a PHP file instead of showing the installer?
If that is the case, your MAMP setup is not correct. It does not execute PHP as it should. Start over with your MAMP install, verify PHP works, then try again with DokuWiki.
If you want an easier option, delete your MAMP setup and use the "include Webserver" option on the DokuWiki download site.