![]() ![]() If this shows your PHP version, everything is working fine. ![]() Now open your web browser and type localhost/site.Type the following command to create the PHP version file.Įcho "" > /home/user-name/Desktop/site/index.php.Now restart the system and login as the standard user. ![]() Sudo ln -s /home/user_name/Desktop/site/ /opt/lampp/htdocs/siteĬhange the user_name to the standard username. ![]() Now we want to make a link from the htdocs folder to the newly created folder site.After making the folder, login back as the admin user.For this, you have to login into that user. Now make a new folder with some arbitrary name in the Desktop folder of the standard user.Run this command to install the init script to all run level.Change the location to your XAMPP folder accordingly (if not in /opt/lampp). Paste these commands in the newly opened gedit window. Installing XAMPP On Linux After you’ve downloaded XAMPP installation file, open a terminal program and browse to the directory where you downloaded the file.Open gedit and create a file as given using the terminal.open the xampp control panel and click on the. if you are using the xampp stack, follow the steps below: 1. if another application is using the same port, it can create a conflict resulting in localhost refusing to connect. by default, localhost uses port number 80. Usually, in Linux, XAMPP will be installed inside the folder /opt/lampp. Windows: ipconfig flushdns change port settings. Once you do this solution as a privileged user, XAMPP starts automatically while booting into your system (even if you are using unprivileged standard user). In many cases like computer labs where students should not be provided with the admin privilege have to use XAMPP server for their academic needs. We should manually enter the command to start the XAMPP as SUDO user.īut in the case of a standard user in Ubuntu, he cannot use the sudo command as he doesn’t have the admin privilege. In Ubuntu, XAMPP will not auto start on boot or reboot in usual Installation. ![]()
0 Comments
Leave a Reply. |