Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Agent86 on June 09, 2006, 11:24:40 PM
-
Hi all
I have three questions
How can I test php and sql to see if it's working correctly
is there a test script that will work I can use to test my SME box that php,cgi,sql are working correctly ?
Thanks
-
To see if PHP is working make a file called info.php,
Add the following lines to the file:
<?
phpinfo();
?>
save file on the webserver, go with your browser to www.yourdomain.com/info.php
Read the output of this file very carefully and it answers you 3 questions.
-
Sorry for my ignorance I seem to be getting more ignorant as time goes on LOL :-D
Is there a similar test for perl
Please advise
Thanks
-
Agent86
I saw your comment in another thread re the version of perl installed on sme 7 as being 4.3.9.
If I do
rpm -q perl
perl-5.8.5-24.RHEL4
So sme 7 has greater than perl v5, so that will not be your problem
Even sme6 has greater than perl v5
rpm -q perl
perl-5.6.1-36.1.73
-
Yes thanks for the corrections
see other thread for explainations
-
More PHP test (http://www.phpkode.com/projects/category/php-tests-quizzes/)you can check
-
How can I test php and sql to see if it's working correctly
Unless you have done customisation which has broken them, then they are working correctly. You can confirm that by enabling and then using webmail. Webmail requires php and mysql to be working.
-
Is there a similar test for perl
If server-manager and admin console menu are working, then you have perl installed and it is working. CGI is working as well.
Why are you asking these questions? What are you trying to achieve?