Skip to main content

Cpanel PHP code checker

Comments

7 comments

  • kernow
    Never used putty myself ( I run a linux desktop) but doesn't the normal ls or ls -lah commands work for you?
    0
  • walt
    Thanks kernow, ls -lah works. I was using ls -al. I read somewhere that, for security reasons, there is a server setting that will not allow certain files to be listed (only remotely?). I did not feel like trying to change this setting, however ls -lah is showing all the files. Great! I'm logging in using Windows xp. I do have a small Linux computer that I could try logging in with. Would there be any advantages of logging in with a Linux computer? Edit: Just realized that asking a Linux user if there are advantages over Windows is probably an insult! Apologies, didn't mean it that way :)
    0
  • cPanelMichael
    If there is an error in the file, often there is no error log generated.

    Hello :) Do you have root access to the server? If not, you can report this issue to your web hosting provider to see if they can modify the error reporting configuration for PHP. Thank you.
    0
  • kernow
    No insult taken :-) I stopped using windoze as a desktop about 15 years ago, advantages of using Linux? well let me see, security, stability, reliability..........:)
    0
  • walt
    @cPanelMichael, thanks for your reply. I will try and learn a bit about php error logging before I ask them to do anything, just in case this is a 'beware what you ask for' case . For now logging in with Putty, and using 'php -l' is working great, thanks to kernow pointing out how to list hidden files with the 'ls -alh' command. Now it occurred to me that access to a terminal window, from cPanel, would be very handy. Could this be added under the 'advanced' tab? @kernow When xp was phased out, I bought a small single board Linux computer to learn about Linux. It has a 1Ghz dual core A20, 1GB ram and I added a hard dive. If it has a multitasking limit, I have not reached it yet. The processor only has a passive 3/4 x 3/4" heat sink. At 100% load, it's barely warm to the touch. I can't imagine what a modern Linux laptop would be able to do, and it's very tempting to look into it.
    0
  • kernow
    @walt I use mageia linux DistroWatch.com: Put the fun back into computing. Use Linux, BSD.
    0
  • cPanelMichael
    Now it occurred to me that access to a terminal window, from cPanel, would be very handy. Could this be added under the 'advanced' tab?

    Feel free to vote and add your feedback to the following feature request: Include an html5 ssh terminal client Thank you.
    0

Please sign in to leave a comment.