Knowledgebase

Installing a Third-Party PHP Script Print

  • otherapplicationsscripts, other, php, permissions, email, database, security, troubleshooting, uploads
  • 0

Small utilities and custom tools.

BEFORE INSTALLING ANYTHING

Where did it come from? Only install from the developer's own site or a reputable repository. When was it last updated? Abandoned scripts do not receive security fixes. Does it have a licence you can comply with? Does it need database access, file writing, or email sending?

THE PROCEDURE

  1. Upload and extract into its own directory, not into public_html root alongside everything else.
  2. Create a database and user if it needs one.
  3. Set permissions: 755 directories, 644 files, 600 for configuration.
  4. Run the installer or edit the configuration file.
  5. Delete any install script afterwards.

SECURITY CHECKS

Does it validate input, or does it accept anything? Does it have an admin area, and is it protected? Does it write files, and where? Does it send email, and from what address?

WHAT TO AVOID

Scripts distributed on forums with no named author Anything encoded or obfuscated, which hides what it does Anything requiring 777 permissions

RECORD IT

Note what you installed and where. Forgotten scripts are a common route into accounts.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot