You should first install Apache using the LAMP pattern which sets up Apache, Maradb and PHP.
You can finish setting up and making any adustments using the YaST http-server module.
By doing that, you’re starting from a known and working configuration with all essential components likely needed for a typical PHP website.
You need to describe how you installed phpMyAdmin, where you downloaded it from and what reference or guide you used to install… or if you installed it from an openSUSE repo which likely sets everything up correctly with the least amount of effort.
TSU,I appreciate the response.
I installed the web dev package on installaction of tumbleweed, which installs php and mysql. Then I installed phpmyadmin through zypper. It was all working fine on local and for remote.
Then I decided to add some aliases. I installed the yast http module, and when I ran it, acted like apache had never been setup. After I finished, none of the folders under document root would work. First it was document not found, for anything.
After copying over apache config files and directories from another tumbleweed install, the other folders under docroot work fine. Phpmyadmin still just prompts to download the php file. Yes, the other install has phpmyadmin installed using zypper. Its identical as far as software.
I can find no difference in the config files. I have uninstalled apache and phpmyadmin and reinstalled, all using zypper. It doesn’t change anything. I even added a mime type for phpmyadmin to execute php, same problem.
I still feel it’s likely that your Apache php module setting was not applied to your website somehow.
Possibly related to how your phpmyAdmin site was set up, it’s somehow not inheriting your main Apache website setup.
In any case, from what you describe it appears that a configuration was copied along with your other files so you’re working fine now.