There is no way. Hmmm. Or let me say it is not easy. You can - of course - write down a custom profile activator. And you may even fetch the goal one is executing and set a proper profile. But for me this seems to be a very ugly hack to only manipulate the staging.
For zend applications you should write down all config in a single application.ini file. This leads you to the question how to enable the proper staging via ENV-Variable.
I already showed a way you can influence the environment variable for the jetty servlet (=the website in browser).
To influence it for unit testing you can either use the 'testing' staging within the setup class of the testcase or you can use the following snippet:
<build>
...
<plugins>
...
<plugin>
<groupId>org.phpmaven</groupId>
<artifactId>maven-php-phpunit</artifactId>
<configuration>
<executableConfiguration><env><APPLICATION_ENV>testing</APPLICATION_ENV></env></executableConfiguration>
</configuration>
</plugin>
...
</plugins>
...
</build>
What exactly do you want to do? Can you give me an exact example of what should happen during the lifecycle? Maybe I can help you with a workaround.
Some hint: In the 2.1 planning draft I already identified the problem that there may be different versions of the code because of the configuration, one for local developers, one for being stored in repositories, one for productional server.