I have downloaded some other apps that can open php files. I don't think that is the issue. I guess I forget to mention that in the original post. I can open the php files using these other apps like Astro File and Webmaster Lite. I just cannot open the php files from Google Drive. It says I can open them offline. But, when I click on Open Offline, it still tells me I don't have the correct viewer. That is not true though because I have a few viewers as stated above.
Webmaster lite is a web development app. Php files are very common in web development. I think the issue is that the device is not seeing one of these apps as a default to be able to open a php file. Or Google Drive is blocking something.
Remember also, I am trying to get the file from Google Drive also on the Android. I have read on many other sites while researching this issue, that there can be issues from time to time with the Google Drive app on Androids.
Oh, I have the Evo also. Maybe device type is an issue too. I don't think so for me since I can use other apps to open the php files, but maybe. LIke I said, I can open the php file outside of Google Drive.
Here are my steps just so I am clear:
1. Set Offline up on Google drive ( not listing steps, this can be googled )
2. On Android, open Google drive
3. Click on "Offline"
4. Long press on .php file
5. Choose "Open With" from menu
6. Now I see "Oops Unable to open document. Reason: No viewer is available for this type of document"
6a. I can click Cancel of "Open Offline"
7. So, I click Open Offline
7a. I get the same pop up as in step 6
8. Click Cancel
9. Open Astro File Manager ( I downloaded from Play Store already )
10. ( I also had already set up my Google account in here...Astro Manager will ask you this after you install and run it...it was pretty easy, not listing steps here )
11. Click on my Google Drive account ( I can see the Google Drive icon )
12. I see Connecting, then Loading, then my Google Drive files
13. Click on folders and files until I get to the php file I want
14. Long press the php file, choose "Copy" from bottom
15. Go back up a few directory to "My Files 1"
16. Click My Files 1
17. Click sd card at top ( at least for me it was, may be in a different location for you )
18. Click paste at the bottom
19. Shows copying the file to sd card
20. Scroll down and find the php file that was copied
21. Long press and choose Open As
22. Choose Text
23. Choose an option. I also had install ES File Explorer. ES Note Editor is an option. So I picked that. The .php file is opened
24. Now, I can edit this file and save it back to the sd card
I don't want to go through those steps every time to make a change. Is that what I have to do though? Anyone have a better way to do this?