I don't know where php5enmod documentation can be found. Googling it brings up this bug report.
After digging through the bash source, I found that the way to set the priority is to use a very specific format in the .ini file for the module. This is what Ondrej mentioned above, but for those who can't read shell script to easily, simply add a line to the ini file in the format: ; priority=99 That must be a semicolon, space, then the word priority, equals sign, then the desired priority number. This exact format is what the get_priority() function above is looking for. After adding that to the .ini file, simply run php5enmod with the module name as the only argument. ie: php5enmod tweaks More notes at http://www.brandonchecketts.com/archives/getting-ubuntu-14-04-php5enmod-to-understand-module-priority -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1273225 Title: php5enmod - priority is not set by argument To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1273225/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs