phpinfo

Status
Not open for further replies.

jensen

Active Member
Messages
1,168
Reaction score
22
Points
38
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?
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
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:

jensen

Active Member
Messages
1,168
Reaction score
22
Points
38
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?
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
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.
 
Status
Not open for further replies.
Top