sql server - PHP : failed to open stream error using @fopen -


i'm trying use @fopen php.

in file a, i'm using @fopen call file b supposed send me json object database query.

this query returning 1 900 000 rows.

if in file b stop at, example 1000000 rows, everything working fine , i'm able recieve json object no errors in file if let query return 1 900 000 rows i've got message: fopen(the address): failed open stream: http request failed! http/1.1 500 internal server error

do have idea?

thank beforehand.

actually crossing limit of array. have set limit : divide 19 lacks records in 2 parts. means 1st time create new txt file , write 10 lack record in , 2nd time write rest records , fetch data files.


Comments