Category : server

I downloaded LAMP about a month ago and it was working just fine. Today I installed XaMPP Server software and then restarted my computer. Ever since MySQL won’t start and in my terminal, I get this error: sudo /opt/lampp/lampp start Starting XAMPP for Linux 8.1.1-2… XAMPP: Starting Apache…fail. XAMPP: Another web server is already running. ..

Read more

<VirtualHost *:80> ServerName my_domain_name DocumentRoot /var/www/html <Location /node/> ProxyPass http://my_domain_name:1341/ ProxyPassReverse http://my_domain_name:1341/ </Location> ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined I am redirecting to the node server that is hosted on http://my_domain_name:1341/ Actually, I am plotting Gantt charts using a free library in node js. What happens actually in my node server It gets a response from ..

Read more

I’m using Apache 2.4, I created a server, installed PHP, MySQL, drivers, etc. I’ve written a simple file called display-comments.php, here’s the code: <span style="font-family: calibri;"> <form action="/comments.php" method="post"> <input type="text" placeholder="Nickname" name="author" required><br> <input type="text" placeholder="Email" name="email" required><br> <textarea type="text" placeholder="Comment…" name="comment_text" required></textarea><br> <input type="submit" value="Comment"><br> </form> <?php try { $conn = new PDO("mysql:host=localhost;dbname=database", ..

Read more