Syntax check with PHP on remote server?

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
PeterPanino
Posts: 5
Joined: Sat Feb 19, 2011 4:23 am

Syntax check with PHP on remote server?

Post by PeterPanino »

Hi, since I edit a PHP file on a remote server (1&1 hosting service): Is it possible to use the PHP system on the remote server (1&1 hosting service) for syntax check? (And for debugging?)
User avatar
Capricorn
Posts: 63
Joined: Fri Aug 06, 2010 11:37 am
Location: Germany!
Contact:

Re: Syntax check with PHP on remote server?

Post by Capricorn »

I don't think so. How should this work? Your program needs to communicate with the 1&1 Serverm, but I don't think there's an interface/api for that.
User avatar
piposek
Posts: 9
Joined: Fri Oct 08, 2010 1:14 am
Location: Praha 10, Czech Republic, Europe
Contact:

Re: Syntax check with PHP on remote server?

Post by piposek »

You can use SSH to remote host and check syntax by calling PHP in CLI, e.g. GoDaddy shared hosting has this feature (usupported but working), incl. rsync!
Filip OÅĨĆdal – mxd.cz
independent internet consultant
Post Reply