[updated] Server Specs
Go to page 1, 2  Next  :| |:
-> This Site

#1: [updated] Server Specs Author: PhoenixLocation: Netizen PostPosted: Fri Apr 04, 2008 1:36 am
    ----
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.

To that end, we provide a specification in our Rules and Regulations Section #2e so that people can use the image method to automatically provide up to date specs.

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,
Code::
[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
Code::
imagepng($im,'',9,PNG_ALL_FILTER);
with
Code::
imagepng($im);


Last edited by Phoenix on Tue May 01, 2012 9:19 am; edited 2 times in total

#2: Re: Server Specs Author: Kendle PostPosted: Fri Apr 04, 2008 8:15 am
    ----
Doesn't appear to work for me...

#3: Re: Server Specs Author: hadi00Location: Syria PostPosted: Fri Apr 04, 2008 8:36 am
    ----
thanks a alot ... but I think it doesn't work too .. Rolling Eyes

#4: Re: Server Specs Author: Bluefin221Location: Centre of the Earth PostPosted: Fri Apr 04, 2008 2:59 pm
    ----
Appears to work fine for me.

#5: Re: Server Specs Author: layingback PostPosted: Fri Apr 04, 2008 3:38 pm
    ----
Couldn't get it to work either.

Commented out everything after the line starting with $apache = and added this line:
PHP:
echo  PHP_OS.' / '.$apache.' / '.DB_TYPE.' '.$sql['server'].' / '.PHP_VERSION.' / '.CPG_NUKE;

And got this result:
Quote::
Linux / Webser / mysql 5.0.45-community / 4.4.7 / 9.1.2.1

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

#6: Re: Server Specs Author: WebSiteGuru PostPosted: Fri Apr 04, 2008 4:53 pm
    ----
We at WebSiteGuru Designs is working on updating to the complient for Server Specs.

#7: Re: Server Specs Author: beanman1 PostPosted: Fri Apr 11, 2008 5:51 pm
    ----
Tied using the above php code to get my server specs and all I'm getting back is the little box with an X in it like it's missing an img file.

www.eq2bloodsiege.com/...rspecs.php

#8: Re: Server Specs Author: EestlaneLocation: Estonia PostPosted: Mon Apr 14, 2008 3:12 pm
    ----
What did you use to save the file and what character encoding you used?

#9: Re: Server Specs Author: PhoenixLocation: Netizen PostPosted: Mon Apr 14, 2008 11:48 pm
    ----
Right on the money Eestlane Wink

#10: Re: Server Specs Author: Kendle PostPosted: Tue Apr 15, 2008 6:48 am
    ----
Eestlane wrote:
What did you use to save the file and what character encoding you used?

PSPad (which I use for all my PHP work) and UTF-8, still doesn't work for me.

#11: Re: Server Specs Author: PhoenixLocation: Netizen PostPosted: Tue Apr 15, 2008 7:32 am
    ----
hmm, DF versions 9.1.x and above?

#12: Re: Server Specs Author: NanoCaiordoLocation: Melbourne, AU PostPosted: Tue Apr 15, 2008 8:56 am
    ----
Are you using any background image?

[edit]looks like you are using utf8 signature for your files[/edit]

[edit]
instead looks like you have a CRLF at the beginning of the file or somewhere before the headers output.

Tip: make sure that you have nothing before <?php opening tag
[/edit]

#13: Re: Server Specs Author: Kendle PostPosted: Tue Apr 15, 2008 10:19 am
    ----
CMS Version 9.1.1
PHP Version 4.4.4
MySQL Version 4.1.22-standard (client: 4.1.22)
GD Version bundled (2.0.28 compatible)

I'm using the code exactly as posted by Phoenix, no background image, not even changed the colours.

There is nothing before the <?php opening tag.

#14: Re: Server Specs Author: NanoCaiordoLocation: Melbourne, AU PostPosted: Tue Apr 15, 2008 11:10 am
    ----
zip the file and let me know the location for download please.

#15: Re: Server Specs Author: Kendle PostPosted: Tue Apr 15, 2008 12:54 pm
    ----
url removed by nano: issue fixed



-> This Site

All times are GMT

Go to page 1, 2  Next  :| |:
Page 1 of 2