Yeah, I agreed that PHP is not suitable for big systems. I'm currently doing a prototype that builds objects in C++, and then assemble them in web-based, using PHP. In larger sytem, I bet other languages will need to be used for the web-based purpose.
Meanwhile, another option is to build those objects in Java. I've found resources about calling Java class from PHP and also ASP as well. From what I know about Java, it will be easier to intergrate with backend database with the use of JDBC, comparing to native C++. Just that, Java may be slower in processing.
i'm still looking to research whether to use Java or C++. Any suggestion?