Unix Hosting FAQ
Our Unix Hosting service is
configured to offer the best balance between security and flexibility we can
provide. This page contains information about the settings we have in place to
create this environment. If your question is not answered here please contact Web
Services.
General
PERL/CGI
PHP
MySQL
General
Can I use this package for Faculty/Staff Web Accounts?
No. Unix hosting is exclusively for College, Department or University-sponsored Organizations that allow them to have a subdomain. Faculty/Staff websites are set up under their department and you'll need to contact the site owner of your department site about your needs.
How much disk space am I allowed ?
500 Mb. The size of your database does not count toward this limit.
How do I connect to my account ?
You can connect to your
account to add files through two methods: FTP or FTP over SSL. We are
unable to offer SFTP.
What FTP programs do you support ?
Support for WS_FTP 5.08 for Windows and Fetch 5.x for Apple's OS X is provided by ITS
Desktop Support.
Can I have shell access to my account ?
No. In the current implementation of Unix Hosting it was not possible for us to allow users to have shell access. This is a feature we will look at providing in the future as this service grows.
Can I use htaccess files ?
Yes. Please name the file 'htaccess' with no file extension because dot filenames (.filename) are not allowed for security reasons.
What settings can I change with an htaccess file ?
You may prevent unwanted visitors from directories and files using passwords (AuthGroupFile, AuthName, AuthType, AuthUserFile, and Require) using IP addresses (Allow, Deny, Order) or create your own custom indexes (MultiViews, Indexes, DirectoryIndex, FancyIndexing, IndexIgnore, and AddIcon).
What settings can I not change with an htaccess file ?
You may not create a custom error message or change PHP settings.
Can I use Server Side Includes (SSI) ?
Yes. Server Side Includes can be used but the exec command has been disabled for security reasons.
PERL/CGI
Can I run CGIs ?
Yes. Your account will
automatically be provisioned to allow you to run PERL and CGI scripts inside
your www/cgi-bin directory. This is the only place they are allowed to execute.
What version of PERL do you offer ?
5.8.8
What is the path to PERL ?
!#/usr/bin/perl
PHP
What is PHP ?
PHP is a powerful, server-side scripting language that can be used to extend the functionality of your pages in many ways. It is available only with our Unix Hosting package.
What version of PHP do you offer ?
5.1.6
How do you run PHP ?
We offer PHP as an Apache module, not a CGI binary.
Do I have to have a header at the top of my PHP scripts ?
No. Since we are not using
PHP as a CGI binary, there is no reason to use the #!/usr/local/bin/php header
in your PHP scripts. Doing so will only cause the header to show up as output.
Can I run PHP scripts anywhere in my account ?
Yes. PHP scripts do not
have to reside in a particular directory and will run anywhere beneath your
www directory.
What are valid file extensions I can use for PHP scripts ?
Files with the file extension .php, .php5, .php4, .php3, .inc, .class, or .module will be recognzied as PHP scripts.
Can I use PEAR modules ?
Yes. PEAR packages are included in PHP's path. If there is package you need that is not installed, please file a MAGIC support ticket to request it. Only stable packages will be installed.
What settings are in place for PHP ?
The following have been set for all accounts on Unix Hosting:
- open_basedir
- PHPscripts can not access files outside of your account directory
- short_open_tag = On
- PHP
scripts can start with <? or <?php
- asp_tags = Off
- PHP
scripts can not start with <%
- safe_mode = Off
- PHP
scripts can upload or create new files
- display_errors = Off
- PHP
scripts will not display error messages to the browser
- error_reporting = E_ALL
| E_STRICT
- error_log
- PHP
scripts will write to the php.log file in your /logs directory when
you use the error_log function
- get_magic_quotes_gpc =
Off
- PHP
scripts will not automagically escape incoming data
- register_globals = Off
- PHP
scripts will need to use $_GET , $_POST, and $_SERVER arrays for form
data
- allow_url_fopen = Off
- PHP
scripts can not open/read/download content remotely
- file_uploads = On
- PHP
scripts can upload files
- upload_max_filesize = 2M
- PHP scripts can not accept a combination larger than 2 Mb of all files
being uploaded at once
- max_input_time = 60
- PHP scripts can not spend longer than 60 seconds parsing input
- max_execution_time = 30
- PHP scripts can run for longer than 30 seconds
- memory_limit = 32M
- PHP scripts can not use more than 32 Mb of memory
Can I change PHP settings ?
No. Using php_value directives inside of htaccess files has been disabled for security reasons.
MySQL
What version of MySQL do you offer ?
5.0.77
How many databases can I have ?
1. You can create as many tables as you need inside that database.
How can I manage my database & tables ?
- Direct Interface
- If you have a MySQL client that you are familar with and are on campus you may connect directly.
- server name: hosting.uncc.edu
- server port: 3306
- username: your account username
- password: your account
password
- database: your account username
- Web Interface
|