XOOPS Install and Upgrade
doc-v2.5.10
doc-v2.5.10
  • The XOOPS Install & Upgrade Guide
  • The XOOPS Install & Upgrade Guide - en
  • Introduction
  • Languages
  • Installation
    • Requirements​
    • Preparations​
      • phpinfo
    • Special Topics
    • ​Installation​
      • Language Selection​
      • Welcome​
      • ​Configuration Check​
      • ​Path Setting​
      • Database Connection​
      • Database Configuration​
      • Save Configuration​
      • Table Creation​
      • Initial Settings​
      • ​Data Insertion​
      • Site Configuration​
      • Select Theme​
      • Modules Installation​
      • ​Welcome​
      • Cleanup​
  • First Steps
    • Review System Settings
      • Configure Emai​l
      • Add a module
  • Upgrading
    • ​Upgrading​
      • Preparations for Upgrade​
      • Running Upgrade​
      • Troubleshooting​
      • ​After the Upgrade​
  • Moving a Site
    • Moving a Site
  • Notes for Developers
    • Notes for Developers
  • Tools
    • Tools of the Trade
  • License
    • License
Powered by GitBook
On this page

Was this helpful?

  1. Installation
  2. Preparations​

phpinfo

PreviousPreparations​NextSpecial Topics

Last updated 5 years ago

Was this helpful?

This step is optional, but can easily save your hours of frustration.

As a pre-install test of the hosting system, a very small, but useful PHP script is created locally, and uploaded to the target system.

The PHP script is only one line:

<?php phpinfo();

Using a text editor, create a file named info.php with this one line.

Next, upload this file to your web root.

Access your script by opening it in your browser, i.e. accessing http://example.com/info.php. If everything is working correctly, you should see a page something like this:

Note: some hosting services may disable the phpinfo() function as a security measure. You usually will receive a message to that effect, if that is the case.

The output of the script might come in handy for troubleshooting, so consider saving a copy of it.

If the test works, you should be good to go for the install. You should delete the info.php script, and proceed with the install.

If the test fails, investigate why, as whatever issue is preventing this simple test from working will prevent a real install from working.

Filezilla info.php Upload
phpinfo() Example