phpinfo()

infoyote

New Member
Messages
1
Reaction score
0
Points
0
Hi,

They say "Warning: phpinfo() has been disabled for security reasons"

So, how am I supposed to know what capabilities are there e.g. checking if GD is available so as to run scripts for pulling out graphics/charts?

Thanks
 

tittat

Active Member
Messages
2,478
Reaction score
1
Points
38
phpinfo() is disabled for security reason.Even in the advanced PHP version phpinfo() is disabled.

And the GD is available in intermediate version i think.
you can change your php version from your account panel http://www.x10hosting.com/account
Edit:
Basic PHP Configuration
Most features of PHP that have the potential for abuse have been disabled in this version. This version of PHP is the default for all new accounts.

* Memory limit and max upload file size set low
* No mail(), eval() functions
* No URL fopen or include
* Variety of 'unsafe' or 'bad' functions disabled

* PHP Version - 5.2.4
* cURL, FTP, Socket, and MBString extensions disabled
* /e modified with preg_replace disabled
* No system/execution-related functions allowed, eg: exec, passthru, system
* Magic Quotes GPC enabled
* Extremely long variable names truncated
* Register Globals disabled
* File uploads disabled
* Suhosin Path + Extension installed








Intermediate PHP Configuration
This version of PHP is much more relaxed in regards to security. More features are enabled compared to the default version.

* Mail(), eval() functions allowed
* Memory limit and max upload filesize set moderately higher
* URL fopen or include enabled
* More relaxed restriction of 'unsafe' and 'bad' functions

* PHP Version - 5.2.4
* cURL, FTP, Socket, and MBString extensions enabled
* /e modifier with preg_replace allowed
* No system/execution-related functions enabled, eg: exec, passthru, system
* Magic Quotes GPC enabled
* Register Globals disabled
* File uploads enabled
* Suhosin Path + Extension installed







Advanced PHP Configuration
This version is very open in comparision with the previous versions. Barely any limits or restrictions are imposed.

* Much more relaxed security precautions
* Memory limit and max upload filesize set significantly higher
* Basically all functions enabled, except for a few 'bad' ones

* PHP Version - 5.2.4
* Some system/execution-related functions enabled, eg: exec, passthru, system
* Magic Quotes GPC enabled
* Register Globals disabled
* No filtered variables
* Suhosin Path + Extension installed
 
Last edited:
Top