Hello
I am creating a big website and some of php file will be bigger than 1MB
So, I want to know what is max file size of .PHP file to execute or include.

Thanks

Not sure of the maximum size, but you may want to think about the effect of having a 1MB script on your bandwidth and website performance during peak periods.

use the include(); || require(); functions to reduce your file sizes, split things up. Put functions in there own files etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.