You must first download the XAMPP Development Tools from the same download page. In the above example, you can access the files by pointing your web browser to localhost/ yourAlias.ĭebugging and profiling with Xdebug and XAMPP This will allow you to host files from your home directory (or any other directory) with XAMPP. And change the daemon with yourUser and yourGroup:.# will make a new request for the document at its new location. # exist in your server's namespace, but do not anymore. # Redirect: Allows you to tell clients about documents that used to Options Indexes FollowSymLinks ExecCGI Includes Find DocumentRoot, you will see something like:.Edit Apache's /opt/lampp/etc/nf with your favorite editor.To host other files on your system with XAMPP, you can configure an alias with Apache. All files placed in this directory will be processed by the web server. The document root (web root) directory is located at /opt/lampp/htdocs/. Tips and tricks Hosting files outside the htdocs directory In order to start XAMPP at boot, enable rvice. Use the following commands to control XAMPP:Īlternatively, you can start, stop, or restart rvice. You will be asked step by step to choose passwords for web page's access, user "pma" for phpMyAdmin, user "root" for MySQL and user "daemon" for ProFTPD. If you would like to set up security of server, just run /opt/lampp/etc/my.cnf - MySQL configuration./opt/lampp/etc/nf - ProFTPD configuration./opt/lampp/phpmyadmin/ - phpMyAdmin configuration./opt/lampp/etc/php.ini - PHP configuration. For example you can change folder with web page's source files. /opt/lampp/etc/nf - Apache configuration.Setting the individual parts of XAMPP can by made by editing following files: The default configuration should work out of the box. 4.2 Debugging and profiling with Xdebug and XAMPP.4.1 Hosting files outside the htdocs directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |