Right click on the PHP project and goto properties. then project references. you'll see the flex project check the check box.
You also need to remove the flex code from the PHP project so that it looks for it in the Flex project.
Then eclipse will use the PHP debugger in the php project and the flex debugger in the flex project.