Initial Environment Test

For convinience, Mivec Framework comes with a PHP script to perform some initial checking with your environment. After unpacking the distribution to Apache, point your browser to <mivec-directory>/mivectests/initial-tests.php.

This PHP script will do the following:

  • Check if your web server has mod_rewrite enabled (If you are using Apache)
  • Attempt to open a URL mapped to Mivec Framework to see if URL rewriting is really working (not Apache-specific, but only tested on Apache httpd)
  • Check for gettext support in PHP
  • Check for DOM XML support in PHP
  • Check if PHP safe mode is enabled; if so, see if environment variables prefixed with LC_ can be set with putenv()

This script should give you an idea of what is available on the server, what you can do with it, and how you can secure your web application.

If you see nothing but an “Internal Server Error”, it means some configuration directives in .htaccess is not allowed. You may then look at Framework Configuration, comment out the sections and try accessing this test page again.

Notes for using Linux hosts

Because the script will create .htaccess files during the test, if you will be running this test on a Linux server, you may need to change all file and directory ownerships to HTTPD’s running user/group. For example

chown -R wwwrun.www mivec

« Prev: Files Layout Next: Setting up the Environment »

 
  devguide/initial_environment_test.txt · Last modified: 2005/03/15 04:44
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

SourceForge.net Logo