Closed Thread
Results 1 to 4 of 4

Thread: phpinfo

  1. #1
    jensen's Avatar
    jensen is offline x10 Lieutenant jensen is an unknown quantity at this point
    Join Date
    Nov 2005
    Location
    At my desk
    Posts
    438

    phpinfo

    Was trying to solve some Drupal error with MySQL after the upgrade and needed to run the phpinfo() but it was blocked due to "security issue"

    So what should I do if i need the phpinfo details. Where can I get them?
    "For I am not ashamed of the gospel of Christ: for it is the power of God unto salvation to every one that believeth" Romans 1:16

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,504

    Re: phpinfo

    Some of the information can be retrieved using other functions. For example, you can check for specific extensions with extension_loaded, for specific configuration values with ini_get and for the PHP version with phpversion or the PHP_VERSION constants. Make sure you don't abuse them or you'll find yourself with an HRU suspension (or worse).
    Last edited by misson; 05-26-2011 at 03:07 AM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    jensen's Avatar
    jensen is offline x10 Lieutenant jensen is an unknown quantity at this point
    Join Date
    Nov 2005
    Location
    At my desk
    Posts
    438

    Re: phpinfo

    Thanks for the quick reply. Seems like the support team has improved their response time.
    I won't be keen to get suspended, was enjoying the excellent hosting until the server upgrade which broke my site and the support team cannot help me, so now I go get help n they ask me to use PHPINFO to check on the MySQL details. Am not a hacker so I won't know how to abuse the server anyway.

    Anyone in the support team knows DRUPAL 6.20?
    "For I am not ashamed of the gospel of Christ: for it is the power of God unto salvation to every one that believeth" Romans 1:16

  4. #4
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,504

    Re: phpinfo

    There isn't really a support team in the free hosting forums, just volunteers.

    The suspension warning is more for others that read this thread and start getting ideas. Gathering information just once for a support request shouldn't cause you any problems.

    Since phpinfo isn't enabled, ask the people helping you with Drupal exactly what information they need. If it's loaded modules or configuration options, use the previously mentioned functions. If it's something else, ask for it here or in IRC.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

Closed Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers