User Tools

Site Tools


default_a2hosting_subdomain

This is an old revision of the document!


Default A2 Hosting Subdomain

Mod 1

  • Make html the docroot, in cPanel Subdomains
  • in the docroot
    • delete cgi-bin folder (cgi scripts can run in any folder)
    • add a phpinfo.php script to the docroot
    • add and modify a php.ini file, to turn on logging to xxxxx.log (Did not take effect until I viewed cPanel, Select PHP Version.)
    • add and modify a dot htaccess file with a lsapi_phpini directive to apply php.ini to all folders
    • add and modify a config.ini file to point the log file
  • add a phpinfo.php script to the docroot
  • add a php.ini file to the docroot, to turn on logging to sandbox.log (Did not take effect until I viewed cPanel, Select PHP Version.)
  • add a dot htaccess file with a lsapi_phpini directive to apply php.ini to all folders
  • x
default_a2hosting_subdomain.1667962869.txt.gz ยท Last modified: 2022/11/08 22:01 by jhagstrand

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki