I'm not sure what you're asking.
php does not run on a port, it just gets called by apache when a php file needs to be processed.
If you need to run apache on a different port, indicate the port in your httpd.conf file, and you can use multiple ports with the LISTEN option.
Richie
geocities.com/akindele/