How to install phpMyAdmin with suPHP support

Install phpMyAdmin from the ports collection:

Select the following options:

Do the actual installation

Setup a config for phpMyAdmin, edit /usr/local/www/phpMyAdmin/config.inc.php

 

Now the only thing you have to do is add the following to your Apache configuration