php - error while using file operations in google appengine -
) creating php application in google appengine. since have pay cloud sql, decided use files instead of sql database , read/write it. problem not able create or modify existing files using php's standard file operations 'fopen' , 'fwrite',etc. when run same code in 'localhost:8080' working properly. not in uploaded version in internet. getting errors while creating/writing files. please help. thank
you should read appengine php runtime docs https://developers.google.com/appengine/docs/php/#php_the_sandbox
specifically section sandbox. crucial statement -
an app engine application cannot:
write filesystem. php applications can use google cloud storage storing persistent files. reading filesystem allowed, , application files uploaded application available.
Comments
Post a Comment