Select your language

Hostpoint runs Unix web servers with FreeBSD as the operating system. This article provides an overview of the main system parameters, such as paths to frequently used programs.

Paths

The FreeBSD operating system stores most applications in /usr/local/bin/ instead of /usr/bin/, which is commonly used in the Unix world. Please consider this when using instructions or scripts from external sources or the Internet.

bash /usr/local/bin/bash
Image Magick (convert) /usr/local/bin/convert
GraphicsMagick (gm) /usr/local/bin/gm
gzip /usr/bin/gzip
zip /usr/local/bin/zip
tar /usr/bin/tar
mysqldump /usr/local/bin/mysqldump
mysql /usr/local/bin/mysql
perl /usr/local/bin/perl
php CLI (default version 8.1) /usr/local/bin/php
php CLI (latest version 8.3) /usr/local/bin/php-head
php CLI (8.0) /usr/local/php80/bin/php
php CLI (8.1) /usr/local/php81/bin/php
php CLI (8.2) /usr/local/php82/bin/php
php CLI (8.3) /usr/local/php83/bin/php
composer (current php Version 8.1) /usr/local/bin/composer
composer (php 8.0) /usr/local/php80/bin/composer
composer (php 8.1) /usr/local/php81/bin/composer
composer (php 8.2) /usr/local/php82/bin/composer
composer (php 8.3) /usr/local/php83/bin/composer
python /usr/local/bin/python
ruby /usr/local/bin/ruby
sendmail /usr/sbin/sendmail
xpdf (pdfinfo, pdftotext) /usr/local/libexec/xpdf

Directories

Your Home directory

Your Home directory, which contains all your website data is located at: /home/username/

In Unix lingo, this is referred to as “home” and can be abbreviated with a tilde “~”. The default and following directories are found here:

~/public_html/
The public_html folder is the document root for your domains created before September 2007.
~/www/
The www folder is the document root for your domains created after September 2007. Each domain has a subfolder containing the web data.

Your Home directory contains other administrative directories as well. All of these begin with a period and are treated as “hidden”. Many FTP programs do not even show these at all. Please do not make changes to these directories as this may damage your account!
~/.htpasswds/
Usernames and passwords you have selected in the Hostpoint Control Panel to protect access to your website are stored here.

System directories

In addition to your own Home directory, the file system on your server contains other important locations.

Locales

The locales available on your server are saved under /usr/share/locale/

The separate article on locales provides more information on this topic.

Temporary data directory

Websites must sometimes create temporary data such as for PHP session handling. These temporary files may be stored under /tmp/.

Please note, however, that all users can access this directory and that the data is deleted automatically, periodically and without warning. It is therefore helpful if you create your own folder for this type of data in your Home directory.

Apache handler, MIME types and error documents

In the Hostpoint Control Panel or in the .htaccess file you have the possibility to make additional settings for Apache web servers for Apache handlers, MIME types and error documents.

Please use this form only to provide feedback on the above guide.
For support requests please use this form instead.

 

Unable to find what you were looking for?

Our support experts are happy to assist you personally!

 

© 2001 - Hostpoint AG