To facilitate problem solving, we ask that members provide server specs, in a legible manner that does not detract from forum appearance.
For those who object to our requirements, sorry, but this is a support forum, not a candy shop - content is our first priority - you can do what you wish on your sites, but please respect our requirements.
I have upgraded the spec and provided a method that all users with DF versions 9.1.x and above can use.
Simply place this source code into a file serverspecs.php and add the file to your site's DF root directory.
(make sure you use a utf-8 compliant editor)
Then edit Your Profile OS/Apache/MySQL/PHP/DragonflyCMS versions, as follows,[img]http://yoursite.com/serverspecs.php[/img]
This is a simple system, does not require use of images and it,
detects your PHP OS
detects if you have apache in use and which version
detects whether you use mysql or mysqli
detects your PHP version
detects your DragonflyCMS version
has a footprint of only 440 bytes
Edit: PHP4 users will need to replace imagepng($im,'',9,PNG_ALL_FILTER);withimagepng($im);
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Last edited by Phoenix on Tue May 01, 2012 9:19 am; edited 2 times in total
Commented out everything after the line starting with $apache = and added this line:echo PHP_OS.' / '.$apache.' / '.DB_TYPE.' '.$sql['server'].' / '.PHP_VERSION.' / '.CPG_NUKE;
And got this result:
Linux / Webser / mysql 5.0.45-community / 4.4.7 / 220.127.116.11
So my ISP doesn't seem to allow retrieval of Apache version details anyway.
Plus do I want a publicly known link to display my version info? As a DF Admin it is actually tricky to see what version of DF you are running, because Admin only tells you if you are not running latest. I thought I remembered DJMaze saying this was to prevent attackers from easily determining version-based vulnerabilities.
But I will leave up for today in case it is useful for debug ...