php - Using flush on apache as cgi -


i using php cgi on apache webserver. writing text files using scripts. flush() did not work.

to make flush() work changed php "apache module". flush works, cannot access files anymore(permission denied).

how can both use flush , access files used before?

you need ensure apache user has write permissions on files , directory using.

the user can different when running fcgi module


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

jquery - How can I dynamically add a browser tab? -