phpinfo()

Status
Not open for further replies.

rob1grie

New Member
Messages
3
Reaction score
0
Points
0
I ran the phpinfo() script and got a notice that it's been disabled for security reasons. Is this an option that you can enable for me, or am I out of luck? Mainly wanting to know what features are enabled in PHP.
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
It cannot be enabled for individual accounts.
The cPanel does have an icon that has some of the PHP configuration information.
The others, you will have to run small test scripts to check if a given functionality is enabled or not.
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
Sorry about that. The free hosting cPanel used to have an icon for PHP configuration. Guess they removed it.

As I said, you can run a test.php script that can test features before you build a full script around a given function/setting

ini_get('display_errors') .... ini_get() will show the config settings

Calling foobar() will give an error message if the function is disabled.
 

rob1grie

New Member
Messages
3
Reaction score
0
Points
0
I followed some of the "Similar threads" listed at the bottom of this one and saw some info about editing PHP configurations on our Account page, but I guess this all pertains to paid hosting and not free hosting. I'll certainly take what I get for free without complaint. Thanks for your help.
 
Status
Not open for further replies.
Top