If you want to use a newer php5 from a PPA you'll have to rebuild all php5 dependent packages to work with it.
php5-mapscript depends on the php5 version in Ubuntu itself. ** Changed in: mapserver (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1390671 Title: cannot install php5-mapscript package, Depends: phpapi-20090626 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mapserver/+bug/1390671/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs