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?
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
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.
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
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.