Computer Science, asked by negisonam6871, 1 year ago

Usha has installed xampp on linux os, where would she put all php script files to execute them. please provide her with setup location details.

Answers

Answered by Anonymous
13
/opt/lampp/htdocs ...i think this works
Answered by Jasleen0599
0

/opt/lampp/htdocs.

Usha has installed xampp on linux os, where would she put all php script files to execute them. please provide her with setup location details.

  • Install XAMPP in the /opt directory if you're using Ubuntu or another Linux distribution. When you successfully complete the installation, the installer will create the /opt/lampp directory, and by default, your PHP files should be placed in the /opt/lampp/htdocs directory.
  • Knowing where to write a PHP script is necessary before running it. There is a subdirectory called "htdocs" in the XAMPP directory. All of the applications needed to create the web pages will be kept here. The following locations house the primary XAMPP configuration files: /opt/lampp/etc/httpd.conf and /opt/lampp/etc/extra/httpd-xampp are the Apache configuration files.
  • PHP programmes need to be stored in the htdocs folder, which is found inside the xampp folder where XAMPP was installed.
  • Call this command to start XAMPP: /opt/lampp/lampp XAMPP 1.5 for Linux is starting up.

#SPJ2

Similar questions