your phpinfo look fine to me.
If you open a file from the file manager in the control panel it will display the file without running the PHP code. Look at the source code (Ctrl+U in most browsers) and you will see that the PHP tags are still there.
I had noticed that the php code does sometimes get included in the final document, but I thought that was a separate issue. I do not find it a useful feature, especially as I spent a lot of time on the apparent errors.
Can we change the php or file manager settings for this? I would like the php code to work, or have a direct link in the file's row to the document as a user sees it. Otherwise, I have to delete the extra info from the logged-in url after I call up the document, and this is kind of a time-wasting pain in the neck.
I don't think you can make it link to the public URL. The file manager doesn't really know what paths can be used to access the document. It might be several possible paths or none at all.
I don't understand when you say you have to delete the extra info from the logged-in url. The file manager is a way to handle your files. It's not meant as a way to view your site. Visitors will never see the logged-in url. If you want to view your site, simply us the public URL.
Yes, I do use that editor for small files, or sometimes HTML if I don't have trouble finding an error. I find it convenient. But if for larger ones, I use a line editor which shows line numbers like the XML editor "editx". Copying and pasting them into the DirectAdmin editor is another pain in the butt. But I haven't tried ftp for several years.
Instead of copy pasting you can use the button at the bottom that says "Upload files to current directory". After you have uploaded the file(s) you can simply refresh that page if you want to upload the same file(s) again. Very convenient if you want to make changes and test it multiple times before you getting it right.
I tried it. It worked ok, but still requires several steps. (1-->Save the file from the editor to my computer,2-->Click on the "Upload files to current directory",3-->Click on the "Choose..." button and choose the file to upload,4-->Click on the "Upload files" button, 5-->Click on the "here" link in "Click here to go back" to get back to the directory in File Manager I started from.)
What I like about about DirectAdmin is that to save the files from the editor requires only a single click.
I'll probably do some time studies where I copy and paste from the editor on my computer to the editor in File Manager and saving from there. From my experience so far, it looks like they will take about the same amount of time.
I already refresh the public url once I have the page open in a tab the way I want it.
I'm also working on an online editor like the one in DirectAdmin but which displays the line numbers. Yes, I know that a lot of others are doing the same, and I still have a few bugs to work out. Also, I haven't even started to tackle displaying text in different styles according to function. (I'm not even sure if it's possible in a textarea.) But it seems like it would be a good idea to improve the DirectAdmin editor so it works like a typical line editor.
Another issue is that I often have about 20 tabs open at a time. Using the editor on my computer could work well in the way you suggest for the purpose, providing I can keep track of the corresponding pages in both my editor and the browser. I think it will likely take some practice, but at least the tabs will be wider and show more of the text. The copy and paste method would not work well, because it would require a third page open (for the DirectAdmin editor in the browser) for each file, and would need a lot more memory. (The computer I am on now is pretty old and does not have a lot of memory. I'm shopping around for another.)