A googol ones?
This will blow out something somewhere (probably the outer bcpow):
echo bcdiv(bcsub(bcpow(10,bcpow(10,101)),1),9);
If you built a string of 5**100 ones you could get to a googol by doubling it a hundred times, but that of course means storing half a googol digits at one point long enough to output it twice.
The alternative to a hundred doublings is of course to just output it 2**100 times, but that of course won't fit in a 64-bit integer; there's a tradeoff to be made: instead of doubling a hundred times, do fewer doublings (so that the intermediate storage doesn't blow out too far) and then loop over the result as many times as required.
That maybe reduces the problem to generating and storing a string of 5100 ones - got a spare 7*(1048) yottabytes?
Just for amusement, here's a tiny file I keep around to spook things like antivirus scanners.
plex-10.gz.gz.gz.gz.zip