Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

-1 votes
3 answers
10486 views
Can't connect to local MySQL server
I want to run a website from my computer. I use XAMPP on a Kali Linux. I installed MySQL server with the command: `apt-get install mysql-server` After it was successfully installed, I entered the command `mysql_secure_installation` It prompted me to login to MySQL, but it repeatedly gave the error E...
I want to run a website from my computer. I use XAMPP on a Kali Linux. I installed MySQL server with the command: apt-get install mysql-server After it was successfully installed, I entered the command mysql_secure_installation It prompted me to login to MySQL, but it repeatedly gave the error ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) screenshot I tried my password several times, with no changes just to check if I have typed it wrong the first time. Can anyone tell me how to fix this? I am following a tutorial from this site .
XIII (17 rep)
Apr 3, 2016, 12:19 AM • Last activity: Apr 29, 2025, 02:04 AM
1 votes
1 answers
221 views
How can I install XAMPP onto SteamOS?
I've been trying the whole day to install XAMPP onto my Steam Deck so that I can run Apache and other things from the XAMPP Control Panel. I've gone to the [XAMPP website][1] and downloaded [XAMPP for Linux][2]. The download gives me a `.run` file, but how do I run this `.run` file? When I open the...
I've been trying the whole day to install XAMPP onto my Steam Deck so that I can run Apache and other things from the XAMPP Control Panel. I've gone to the XAMPP website and downloaded XAMPP for Linux . The download gives me a .run file, but how do I run this .run file? When I open the file, then I get the following: Choose Application Portal on KDE What app do I need to choose to install XAMPP? I've chosen a couple of random ones, but it's not working. Launching it using the default Discover app, I get the following error: > Could not open file:///home/deck/Downloads/xampp-linux-x64-8.2.12-0-installer.run Any help would be appreciated 🙏🏻. Thanks. --- **EDIT:** As suggested by ZOOM in the comments. I need to try and run it through the Terminal using the following command: ` ./xampp-linux-x64-8.2.12-0-installer.run `, but that gives a permission error: > bash: ./xampp-linux-x64-8.2.12-0-installer.run: Permission denied And running . ./xampp-linux-x64-8.2.12-0-installer.run, gives the following error: > bash: .: ./xampp-linux-x64-8.2.12-0-installer.run: cannot execute binary file
Shaun Roselt (237 rep)
Oct 24, 2024, 12:22 PM • Last activity: Feb 28, 2025, 11:23 AM
0 votes
1 answers
86 views
Apache2 is not starting in Pop OS
I'm trying to install xampp, and even though the MySQL is working, I can't get Apache started. I have tried many solutions. Below is the output I get when I run `sudo systemctl status apache2` [![enter image description here][1]][1] I have little experience with Linux and I would appreciate any help...
I'm trying to install xampp, and even though the MySQL is working, I can't get Apache started. I have tried many solutions. Below is the output I get when I run sudo systemctl status apache2 enter image description here I have little experience with Linux and I would appreciate any help. If you want any more information, please mention and I will update the post accordingly. TIA!
pasindu (101 rep)
Feb 6, 2024, 12:57 PM • Last activity: Feb 6, 2024, 01:13 PM
1 votes
2 answers
5183 views
How to start the XAMPP control panel on Fedora 27?
I downloaded xampp from the official site. I followed [this][1] and [this answer][2]. Then I had to download pygtk2 and pygtk2-libglade. But after trying to run this line: sudo python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py I get [this][3]. What am I missing? What to do? [1]: htt...
I downloaded xampp from the official site. I followed this and this answer . Then I had to download pygtk2 and pygtk2-libglade. But after trying to run this line: sudo python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py I get this . What am I missing? What to do?
Sagnik Chaudhuri (11 rep)
Jun 26, 2018, 08:36 AM • Last activity: Dec 16, 2023, 02:02 PM
1 votes
0 answers
68 views
Is there a way to change text size on a console screen, specifically XAMPP shell console?
I simply just want to be able to display the text at a smaller size as it currently is too large and messes with the display of the output (at least on my laptop screen which isn't all too big, but isn't small either) I'm specifically using XAMPP shell console. I've looked around on the control pane...
I simply just want to be able to display the text at a smaller size as it currently is too large and messes with the display of the output (at least on my laptop screen which isn't all too big, but isn't small either) I'm specifically using XAMPP shell console. I've looked around on the control panel but can't seem to find any options so I figured I should ask on her to see if anyone might know anything.
schoolstudent (11 rep)
Dec 1, 2023, 12:34 AM
2 votes
0 answers
911 views
getting php readline extension to work in php 8 xampp installation
i have a fresh install of linux mint 21.1 as well as the latest version of xampp which comes with php 8.2.4. i added ```export PATH=$PATH:/opt/lampp/bin``` to .bashrc to access php from the terminal. it works and recoginzes the ```php``` command. the problem is that i cannot use php interactively wi...
i have a fresh install of linux mint 21.1 as well as the latest version of xampp which comes with php 8.2.4. i added
PATH=$PATH:/opt/lampp/bin
to .bashrc to access php from the terminal. it works and recoginzes the
command. the problem is that i cannot use php interactively with option
-a
. i get this error instead: **Interactive shell (-a) requires the readline extension.** i have only found this discussing the issue and i tried to follow the advice. i installed what i think is the extension with:
apt install php8.1-readline
which made this config file: **/etc/php/8.1/mods-available/readline.ini** i added
'--with-readline'
in **opt/lampp/bin/php-config** to configure_options. (i also tried adding
--with-readline=/etc/php/8.1/mods-available
) but no luck. i also installed libreadline-dev with
apt install libreadline-dev
as the tutorial i read suggested. but no luck. is it because php was installed as xampp? (btw, i restarted apache and opened a new terminal with each try). UPDATE: found this in an answer on an old apache forum -- >You cannot add extensions to Xampp. Either it is already included >(what i dont know), or it is not included. You cannot add it, because >you have to recompile the whole thing. As far as it looks, readline is >not part of Xampp. >If you need readline, you should not use Xampp, instead use the >Packages from Ubuntu (Apache, MySQL, PHP etc.). i guess i will give up and install them all separate unless someone here knows something... but that was from 2008, so i was hoping something has changed.
bungee1980 (27 rep)
Apr 10, 2023, 01:23 AM • Last activity: Apr 10, 2023, 03:13 AM
9 votes
3 answers
41168 views
opt/lampp/bin/httpd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
I use Arch Linux (x86_64) I updated my repositories today with the following command ``` Sudo Packman -Syu ``` But the xampp program no longer runs ``` Stopping all servers... Restarting all servers... Starting MySQL Database... Starting Apache Web Server... Exit code: 8 Stdout: apache config test f...
I use Arch Linux (x86_64) I updated my repositories today with the following command
Sudo Packman -Syu
But the xampp program no longer runs
Stopping all servers...
Restarting all servers...
Starting MySQL Database...

Starting Apache Web Server...
Exit code: 8
Stdout:
apache config test fails, aborting
Stderr:

/opt/lampp/bin/httpd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

Starting ProFTPD...
Exit code: 8
Stdout:
proftpd config test fails, aborting
Stderr:

/opt/lampp/sbin/proftpd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
After a bit of checking I found that the libcrypt.so.1 file exists Output the command locate
.so.1
[ahmadreza@ahmadreza-sys ~]$ locate libcrypt.so.1
/usr/lib/libcrypt.so.1
The version of the files is as follows:
[root@ahmadreza-sys lib]# file libcrypto.so.1*
libcrypto.so.1.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=4c926b672d97886b123e03a008387aecf0786de4, stripped
[root@ahmadreza-sys lib]#
output command
ldconfig -v | grep libcrypt
[ahmadreza@ahmadreza-sys ~]$ sudo ldconfig -v | grep libcrypt
ldconfig: Path `/usr/lib64' given more than once
(from :0 and :0)
ldconfig: Can't stat /usr/libx32: No such file or directory
	libcrypt.so.2 -> libcrypt.so.2.0.0
	libcrypto.so.1.1 -> libcrypto.so.1.1
	libcryptsetup.so.12 -> libcryptsetup.so.12.7.0
[ahmadreza@ahmadreza-sys ~]$
cammand outout
/opt/lampp/bin/httpd
[ahmadreza@ahmadreza-sys ~]$ file /opt/lampp/bin/httpd 
/opt/lampp/bin/httpd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=00effd3a02918135bf3106612c2b59866e4f92fe, stripped
[ahmadreza@ahmadreza-sys ~]$
How can I fix it?
ahmadreza1383 (149 rep)
Feb 15, 2022, 02:48 PM • Last activity: Mar 18, 2023, 09:47 AM
1 votes
0 answers
90 views
Xampp 8.2.0-0 on Mint 21.1 VeraCinnamon 5.6.7 x64 issue with localhost
Pulling my hair out with this one :( Lampp is working fine on Mint 21 on my Workstation but I can´t for the life of me work out why I can´t get it to work properly on my HP laptop (for working elsewhere). I installed it the same and edited the conf files the same but it when I start Lampp,...
Pulling my hair out with this one :( Lampp is working fine on Mint 21 on my Workstation but I can´t for the life of me work out why I can´t get it to work properly on my HP laptop (for working elsewhere). I installed it the same and edited the conf files the same but it when I start Lampp, the apache server and Mysql server start up okay but the browser is unable to connect to localhost. In the error message, the localhost has been changed to www.localhost for some reason (although, it's the same on the workstation - which works fine). On the workstation, I have also edited the dashboard to include a link to the websites folder under "www" as there didn´t appear to be any way to load the websites from the dashboard. All this has been the major nightmare in the move from windows to Mint. Any help/suggestions greatly appreciated. Thanks
Porpoise1954 (11 rep)
Mar 17, 2023, 08:23 AM
-3 votes
1 answers
74 views
Some Apache configuration issues
I have been playing around with my Apache [config file][1] for a while to get WSGI working for my Flask application. I was not able to get ```phpMyAdmin``` working though (```localhost/phpmyadmin``` shows the ```php``` code), so I thought I'd try XAMPP. I installed it and was able to get ```phpMyAdm...
I have been playing around with my Apache config file for a while to get WSGI working for my Flask application. I was not able to get
working though (
/phpmyadmin
shows the
code), so I thought I'd try XAMPP. I installed it and was able to get
working. However, I couldn't get it to work with WSGI. So, I removed
/opt/lampp
. But now, even if my
.service
is not running and
"refuses to conect",
/phpMyAdmin
prompts a Download in my browser which downloads this code , and
/phpmyadmin/setup
returns this code . One more thing,
/phpmyadmin
showed the XAMPP favicon in the title bar. So I deleted
/share/webapps/phpMyAdmin/favicon.ico
(which I checked, and it looked exactly like that). But now, though
/phpmyadmin
doesn't show that icon,
/phpmyadmin/setup
still does. My questions: 1. How to get PHP to work in Apache? (Trust me, I have read every guide on the Internet) 2. How am I able to access
/phpmyadmin
if
is not running? Thanks!! PS: I am on Arch, btw.
Akshat Vats (489 rep)
Sep 7, 2020, 10:46 AM • Last activity: Jul 11, 2022, 11:03 AM
0 votes
0 answers
20 views
crontab - mysqldump is using different socket
First, I have already permanently set the PATH directory of MySQL in my `.bashrc` so I can use it in terminal in any directory. To verify this process, I restarted my computer, open the terminal and use the command `mysql` without navigating into any directory. I can also use `mysqldump` in any dire...
First, I have already permanently set the PATH directory of MySQL in my .bashrc so I can use it in terminal in any directory. To verify this process, I restarted my computer, open the terminal and use the command mysql without navigating into any directory. I can also use mysqldump in any directory in terminal. I am using xampp, and it was installed in /opt/lampp/. I have no problem at all when using mysql or mysqldump in terminal What I don't understand, and what I want to fix is when using mysqldump in crontab. So I have this script on my desktop, with the filename of mysqldump.sh. What's inside is; mysqldump -u root thedatabase > /media/sfadmin/BACKUP/db_'date +\%Y'.sql 2> /media/sfadmin/BACKUP/crontab_error.log The problem here is the mysqldump is not working and is throwing me an error of: mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect which I don't understand why. I have also tried to change the code in my script to; (cd /opt/lampp/bin/ && mysqldump -u root thedatabase > /media/sfadmin/BACKUP/db_'date +\%Y'.sql 2> /media/sfadmin/BACKUP/crontab_error.log) which still no luck. what is wrong? why the crontab is using the socket of /var/run/mysqld/mysqld.sock? How can I fix that? Anyway, the crontab is */1 * * * * /home/sfadmin/Desktop/mysqldump.sh. This should execute mysqldump every minute. All the configurations are the default for MySQL, I didn't put any password or anything. **EDIT**: Let's say that the said duplicate post solves this problem, which is about setting the environment variables for the cron to use, then how come this thing work; - Perform a clean install of ubuntu (same version) - Install Xampp - Setting the PATH directory of MySQL in my .bashrc - Create a file mysqldump.sh on the desktop, and make it executable. - Add this code in the script mysqldump.sh: `mysqldump -u root thedatabase > /media/sfadmin/BACKUP/db_'date +\%Y'.sql 2> /media/sfadmin/BACKUP/crontab_error.log` - execute crontab -e in terminal, and save this */1 * * * * /home/sfadmin/Desktop/mysqldump.sh. How come the same method works in a fresh install without doing the said duplicate post?
Bolomeo (101 rep)
Jun 14, 2022, 03:58 AM • Last activity: Jun 14, 2022, 09:15 AM
1 votes
1 answers
305 views
The most reliable way of testing XAMPP / Apache httpd performance
**tl;dr** _What is the best / the most reliable way of testing and comparing performance of XAMPP / Apache server running on different computers and cloud services? If I need a high-level result (just a compare of performance between different option) will measuring browser response times be enough?...
**tl;dr** _What is the best / the most reliable way of testing and comparing performance of XAMPP / Apache server running on different computers and cloud services? If I need a high-level result (just a compare of performance between different option) will measuring browser response times be enough? Or is there any better option?_ ---- I am using [XAMPP](https://www.apachefriends.org/index.html) in three versions (with PHP PHP 7.4, 8.0 and 8.1) on four different gears: * Very, very old PC with Windows XP * Old PC with Windows 10 * Very new and ultra fast PC with Windows 11 * Raspberry Pi 3B+ In addition, I am also using Apache server (but not entire XAMPP) on 12 years old NAS with Linux and in a couple of cloud solutions from AWS, Digital Ocean and OVH. In the same time I am a complete newbie when it comes into performance testing. What would be the best / the most promising or reliable way of testing speed of serving websites / processing API requests on all these gears? The scope or expectations from such test is a quite very high-level in my case. I just want to learn myself: * If using given piece of hardware is or isn't pointless (in case of actual computers) * If there is any clearly readable correlation between service configuration / monthly fee and web server performance (in case of cloud services) Thus, I don't expect any sophisticated results, reports or number. Just one (or more) factors that will allow me to distinguish / compare results of the same piece of software (that I normally use) running on different hardware and cloud options. Since I am a complete beginner to this topic, the only idea that came to my mind is to manually invoke each request directly from my browser and measure response time as reported by browser's dev tools. Is there anything better? ---- **EDIT**: To clarify the question. I don't want to test a hardware. I want to test: * Exactly the same piece of software (XAMPP / Apache httpd) * In exactly the same version * Running on few different hardware (or cloud) platforms I am an author of a several webapps (but I am purely a developer, not a dev ops hence the question). All of them are purely internal (intranets) and not public at all. All of them are: * Served using exactly the same platform (XAMPP) in exactly the same version * Developed using the same language (PHP), framework (Yii 2) and version * Developed by the same team and using the same coding principles Based on above we can assume (can we?) that even though these are all different webapps, their difference is nearly purely business (functional) and therefore their performance will be strongly connected to the number of visitors and the hardware used to serve it. Some of these apps are visited / used by 3-5 persons per day, some of then -- by 50 per hour (at most). By getting an unique solution to test performance of XAMPP under different gears I want to answer myself questions like: * Is using that very old PC enough to serve the XYZ app, with 3-5 visitors per day or is using it pointless / nonsense? * Can I use that fairly new laptop as a secondary (backup) server for the ABC app that has 25 visits per hour at most or is such hardware not enough? Sorry, if you see my question and affords pointless, but I an an eco-maniac and I want to do _virtually everything_ to give my old hardware a second life, second chance or second assignment. Trashing it is the very, very last scenario that I consider. Hence this question.
trejder (771 rep)
May 29, 2022, 08:40 PM • Last activity: May 31, 2022, 07:39 AM
1 votes
0 answers
368 views
File Permissions for XAMPP (WordPress)
I tried this: ``` cd /opt/lampp/htdocs/ sudo usermod -a -G daemon john sudo find . -exec chown john:daemon {} + sudo find . -type f -exec chmod 664 {} + sudo find . -type d -exec chmod 775 {} +cd <-problem child ``` It goes fine until the last command which gives me "find: missing argument to `-exec...
I tried this:
cd /opt/lampp/htdocs/
sudo usermod -a -G daemon john
sudo find . -exec chown john:daemon {} +
sudo find . -type f -exec chmod 664 {} +
sudo find . -type d -exec chmod 775 {} +cd   <-problem child
It goes fine until the last command which gives me "find: missing argument to `-exec'" So Wordpress cannot add or delete plugins etc... thoughts?
user2107656 (11 rep)
May 29, 2022, 03:45 PM
1 votes
0 answers
17 views
How to limit user from being able to read and copy the content of /opt/lampp/htdocs/* while he can start the PC and launch all the websites from it?
There is a PC which is running an Ubuntu 20.04 LTS OS. It is hosting websites using xampp (Apache + PHP + MySQL). All the setup has been made by a web developer who is a root user. So far, there is a need to distribute this PC to customers who suppose to only be able to benefit from the hosted websi...
There is a PC which is running an Ubuntu 20.04 LTS OS. It is hosting websites using xampp (Apache + PHP + MySQL). All the setup has been made by a web developer who is a root user. So far, there is a need to distribute this PC to customers who suppose to only be able to benefit from the hosted websites services, but not being able to read, or copy its source code (PHP script). Only a root user should be able to do so. How can this be achieved? Please notice that I'm not a geek in Linux neither in English.
Saint-Cyr MAPOUKA (11 rep)
Apr 19, 2022, 03:44 PM
0 votes
1 answers
2291 views
Fedora - Xampp starting Apache fails
I'm trying to install Xampp on `Fedora Linux 35`, but I'm getting this error every time I try to start it. I followed [this tutorial][1] command I use - `sudo /opt/lampp/lampp start` Output - ``` Starting XAMPP for Linux 8.0.6-0... XAMPP: Starting Apache...fail. httpd: Syntax error on line 522 of /o...
I'm trying to install Xampp on Fedora Linux 35, but I'm getting this error every time I try to start it. I followed this tutorial command I use - sudo /opt/lampp/lampp start Output -
Starting XAMPP for Linux 8.0.6-0...
XAMPP: Starting Apache...fail.
httpd: Syntax error on line 522 of /opt/lampp/etc/httpd.conf: Syntax error on line 6 of /opt/lampp/etc/extra/httpd-xampp.conf: Cannot load modules/mod_perl.so into server: libnsl.so.1: cannot open shared object file: No such file or directory
XAMPP: Starting MySQL...already running.
XAMPP: Starting ProFTPD...already running.
I tried reinstalling, but it didn't help. What should I do?
krystof18 (103 rep)
Jan 17, 2022, 09:43 AM • Last activity: Jan 17, 2022, 12:05 PM
0 votes
1 answers
273 views
SSL/TLS on linux mint using XAMPP?
I have a basic website that I want to get HTTPS on. It's like the crowning jewel to me. However, I am using linux mint for the server. All the tutorials I can find for it are on windows, using a certificate generator. I couldn't find a certificate generator in the /opt/lampp/ folder. could someone p...
I have a basic website that I want to get HTTPS on. It's like the crowning jewel to me. However, I am using linux mint for the server. All the tutorials I can find for it are on windows, using a certificate generator. I couldn't find a certificate generator in the /opt/lampp/ folder. could someone point me in the right direction?
Piggy (15 rep)
Sep 24, 2021, 01:24 AM • Last activity: Sep 26, 2021, 08:01 PM
-2 votes
1 answers
232 views
send mail from php
I was trying to send mail. It's not working I don't know why. I am not getting any error either. I am not getting any mail. I tried by different email addresses also.. Should I edit any file in lampp/xampp? `var_dump` is always returning `bool(false)` I have changed some code in `php.ini` [mail func...
I was trying to send mail. It's not working I don't know why. I am not getting any error either. I am not getting any mail. I tried by different email addresses also.. Should I edit any file in lampp/xampp? var_dump is always returning bool(false) I have changed some code in php.ini [mail function] ; For Win32 only. ; http://php.net/smtp SMTP=localhost ; http://php.net/smtp-port smtp_port=25 ; For Win32 only. ; http://php.net/sendmail-from ;sendmail_from = Istiakshovon011@gmail.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path ;sendmail_path = ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_parameters = ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename mail.add_x_header=On ; Log all mail() calls including the full path of the script, line #, to address and headers ;mail.log = Although I am having the same issue
user449077
Mar 30, 2021, 10:25 AM • Last activity: Mar 30, 2021, 10:41 AM
-2 votes
1 answers
1796 views
After installing Xampp correctly it's not open into browser in Kali Linux
Firstly I text the command on my terminal like sudo /opt/lampp/lampp start sudo /opt/lampp/lampp start [sudo] password for tayef: Starting XAMPP for Linux 7.2.34-0... XAMPP: Starting Apache...ok. XAMPP: Starting MySQL...ok. XAMPP: Starting ProFTPD...ok. Secondly I text like sudo /opt/lampp/manager-l...
Firstly I text the command on my terminal like sudo /opt/lampp/lampp start sudo /opt/lampp/lampp start [sudo] password for tayef: Starting XAMPP for Linux 7.2.34-0... XAMPP: Starting Apache...ok. XAMPP: Starting MySQL...ok. XAMPP: Starting ProFTPD...ok. Secondly I text like sudo /opt/lampp/manager-linux-x64.run sudo /opt/lampp/manager-linux-x64.run After doing that of above xampp GUI comes like..please, click picture link below enter image description here then enter image description here After click on Xampp home panel on Go To Application it shows like the following Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/tayef/.Xauthority which is owned by tayef.) [11635:11635:1106/191936.161137:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180 . Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/tayef/.Xauthority which is owned by tayef.) /usr/bin/xdg-open: 869: iceweasel: not found /usr/bin/xdg-open: 869: seamonkey: not found /usr/bin/xdg-open: 869: mozilla: not found /usr/bin/xdg-open: 869: epiphany: not found /usr/bin/xdg-open: 869: konqueror: not found /usr/bin/xdg-open: 869: chromium: not found /usr/bin/xdg-open: 869: chromium-browser: not found [11665:11665:1106/191936.206660:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180 . /usr/bin/xdg-open: 869: www-browser: not found /usr/bin/xdg-open: 869: links2: not found /usr/bin/xdg-open: 869: elinks: not found /usr/bin/xdg-open: 869: links: not found /usr/bin/xdg-open: 869: lynx: not found /usr/bin/xdg-open: 869: w3m: not found xdg-open: no method available for opening 'http://localhost:80'
makt (1 rep)
Nov 6, 2020, 02:04 PM • Last activity: Nov 7, 2020, 03:13 PM
0 votes
0 answers
156 views
Desktop Launcher not Working on Elementary OS
I'm still learning about how to make a desktop launcher. I'm trying to make a desktop launcher for the XAMPP Manager (a.k.a. the GUI). This is the location of the .run file: /opt/lampp/manager-linux-x64.run And here's the desktop entry i'm trying to make with the name xampp-gui.desktop : ``` [Deskto...
I'm still learning about how to make a desktop launcher. I'm trying to make a desktop launcher for the XAMPP Manager (a.k.a. the GUI). This is the location of the .run file: /opt/lampp/manager-linux-x64.run And here's the desktop entry i'm trying to make with the name xampp-gui.desktop :
[Desktop Entry]
Name=XAMPP Control Panel
Comment=Start and Stop XAMPP Services
Exec=sudo /opt/lampp/manager-linux-x64.run
Icon=/opt/lampp/htdocs/favicon.ico
Type=Application
Categories=Programming
Terminal=false
I also have done the chmod +x to the .run file and the .desktop file. When i tried to launch it, nothing happens. Perhaps i did any mistake or missing something?
Nix (1 rep)
Oct 21, 2020, 04:13 AM
1 votes
0 answers
287 views
Linux Mint and XAMPP: not loading my.cnf file changes
I am trying to set innodb_log_file_size and max_allowed_packet values on my mysql. I am using xampp under Linux Mint 20. So I edited /etc/mysql/my.cnf The file looks like: # # The MySQL database server configuration file. # # You can copy this to one of: # - "/etc/mysql/my.cnf" to set global options...
I am trying to set innodb_log_file_size and max_allowed_packet values on my mysql. I am using xampp under Linux Mint 20. So I edited /etc/mysql/my.cnf The file looks like: # # The MySQL database server configuration file. # # You can copy this to one of: # - "/etc/mysql/my.cnf" to set global options, # - "~/.my.cnf" to set user-specific options. # # One can use all long options that the program supports. # Run program with --help to get a list of available options and with # --print-defaults to see which it would actually understand and use. # # For explanations see # http://dev.mysql.com/doc/mysql/en/server-system-variables.html # This will be passed to all mysql clients # It has been reported that passwords should be enclosed with ticks/quotes # escpecially if they contain "#" chars... # Remember to edit /etc/mysql/debian.cnf when changing the socket location. # Here is entries for some specific programs # The following values assume you have at least 32M ram [mysqld] innodb_log_file_size=256M max_allowed_packet=256M I finally restarted mysql with: sudo /opt/lampp/lampp restart But I am not getting the new values if I execute SHOW VARIABLES LIKE 'max_allowed_packet' on my mysql. What am I missing?
Alfonso_MA (121 rep)
Aug 18, 2020, 10:22 PM
0 votes
1 answers
22 views
Virtual includes with XAMPP
I am running Ubuntu 18.04 with XAMPP 7.3.7.1 for Linux. I have one acct. that uses HTML and so I use ` ` for my includes. The problem is when I bring up the virtual host, it doesn't display any of the includes. I already have other sites that work but they use PHP. Any idea on how to fix this? If th...
I am running Ubuntu 18.04 with XAMPP 7.3.7.1 for Linux. I have one acct. that uses HTML and so I use `` for my includes. The problem is when I bring up the virtual host, it doesn't display any of the includes. I already have other sites that work but they use PHP. Any idea on how to fix this? If this has already been solved, point the way.
Lee (189 rep)
Aug 6, 2020, 11:28 PM • Last activity: Aug 7, 2020, 01:42 AM
Showing page 1 of 20 total questions