Questions tagged [lamp]
LAMP refers to a stack of web technologies based on Linux, Apache, MySQL, and PHP/Perl/Python.
2,129
questions
0
votes
0
answers
8
views
Azure Lamp Stack using Terraform getting file provisioner error timeout - last error: dial tcp 20.237.241.47:22: i/o timeout
I am running Azure Lamp stack using terraform getting
file provisioner error timeout - last error: dial tcp 20.237.241.47:22: i/o timeout
this is the script i have coded, Any suggestions to fix this?...
0
votes
1
answer
33
views
Cant find AddHandler of PHP inside Apache configuration files
I have a fresh install of CentOS (latest 8 and Stream 9) and I did this do install PHP and Apache:
dnf install httpd php
Everything works fine and PHP files are being interpreted correctly.
I ...
0
votes
1
answer
52
views
Migrating from LAMP+AngularJS to something more mixed
We have a web app (CRM type) working on Linux (Debian) with Apache, MariaDb and PHP for the backend, and AngularJS (1.x) for the frontend.
Thinking about a redesign, I need advices on a solution I ...
0
votes
0
answers
14
views
Flutter app unable to fetch data from GCP VM(LAMP) with real andriod device
First time asking on here, not a professional developer also. Might ask some really dumb questions.
As the title, I could not fetch data in the GCP VM instance with a real android device.
I have a ...
0
votes
0
answers
36
views
Issue routing custom domain to GCP's VM Instance
When I type in my custom domain, http://jakeyoon.dev , I get ERR_CONNECTION_TIMD_OUT.
I purchased the domain from Google Domain and set up a simple LAMP stack using GCP Marketplace and VM Instances.
I ...
0
votes
1
answer
30
views
How to configure apache to execute cgi
I'm very new to LAMP and I've tested if php is running on apache server creating a file testing.php and instead of showing php version and stuff it just show exactly the same thing I typed:
<?php ...
0
votes
1
answer
12
views
https://srv-board./login/?redirect_to=http://srv-board/
can anybody tell me how I can rid off the redirect loop.
I found this, but didn't help:
The requested URL /about was not found on this server
The Server is a LAMP Stack with WordPress installed.
...
0
votes
2
answers
54
views
MySQL: combining queries for speed
MySQL database with more than 10 million rows. I am currently displaying the first ten results and then counting the total number of matches. The contents of the first ten results are echoed in PHP. ...
1
vote
1
answer
32
views
Setup X-Frame Options in a virtual directory
I have a LAMP site setup to translate the URL using mod rewrite from:
index.php?controller=items&method=show&id=4
to:
/items/show/4
I want to set X-Frame-Options: SAMEORIGIN in the root ...
0
votes
0
answers
38
views
Although I upgraded to PHP 8, Wordpress recognizes only PHP 7.2 - WHY?
I have VPS with LAMP stack.
I tried to upgrade to PHP 8
When I run php -v
the version is 8.1
but Wordpress told me it is 7.2
I created a php file
<?php
phpinfo();
?>
it also tells me the ...
0
votes
0
answers
47
views
How to execute sql file in docker?
I have lamp project and try to run it in the Docker compose. The app is working but doesn't have connection with mysql. The reason: sql file does not execute and the database is not created. When I go ...
0
votes
1
answer
24
views
Web page 404 error on LAMP stack on Ubuntu 18.04 GitHub-hosted Runner for GitHub Actions
For some reason, I can access the homepage of my site (there's an index.php) but every other page gives a 404 error. The PHP framework used is Joomla CMS. I have in my .htaccess file the following ...
0
votes
1
answer
49
views
How can I point my wordpress media library to use a mounted drive as its source?
I've set up LAMP server and installed WordPress on my Raspberry Pi 4. When it is run locally, I can mount a NAS into the wp-content folder, and I can add media to my WordPress Media Library. However,...
0
votes
1
answer
26
views
Best Approach for Multi-Tenant Caching with Yii 1.1 on X2 CRM
I am working on a CRM project using the X2 Engine CRM. The app has File based caching built in and it works well when deployed as a single tenant application. However, I am using this in a multi-...
0
votes
0
answers
27
views
Smtp - configuration & set up?
I have a php script, for sharing pictures,
that seems to offer a configuration of smtp.
At least this is what it looks like in the dashboard:
smtp settings in dashboard
However, I don't know what to ...
-1
votes
1
answer
23
views
How to deny access to specific document types in LAMP
I am conducting a test run of my concept control web panel project on Centos7 using LAMP. However, I am experiencing a bit of a problem. When I visit http://mywebsiteurl.com/users.db rather than say ...
3
votes
1
answer
1k
views
XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system
My xampp suddenly shows this when i run
sudo /opt/lampp/lampp start
XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.
It was working ...
-1
votes
1
answer
73
views
'Make test' fails on installing older version of Perl (5.18.4)
Error in building:
"EISDIR" is not exported by the Errno module
Can't continue after import errors at run/switches.t line 17.
BEGIN failed--compilation aborted at run/switches.t line 17.
...
1
vote
1
answer
36
views
How do you ensure that .htaccess follows custom 403 redirects?
I am running a LAMP Server on Linux. In apache2.conf we have:
<Directory />
Options FollowSymLinks
AllowOverride None
Require all granted
<LimitExcept GET POST HEAD>
...
0
votes
0
answers
21
views
database password change results in broken website
I am running a website on amazon linux 2 (lamp server; database mariadb).
When I installed lamp, I think I did not assign a password for my db.
I can ssh login into my db with root/ nopassword.
Now, I ...
0
votes
0
answers
15
views
Single Generic htaccess Rule to format Url in 3 ways (did I do this right)
I am trying to implement these 3 rules via htaccess :
Remove trailing slash
force www
force https
ie http://example.com/ becomes https://www.example.com
This is what I currently have, but I am not ...
1
vote
1
answer
52
views
How do I use mod rewrite to deny access to specific URL generated by PHP?
I am running a LAMP server on ubuntu and I want to restrict access to a login page URL to localhost for security reasons at the level of the apache2.conf file. (The login URL looks like /wiki/foo.php?...
0
votes
0
answers
30
views
Can't login MariaDB root user
I'm trying to set up LAMP stack following this tutorial (without a raspberrypi): https://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress/6
After following thi step => GRANT ALL ...
0
votes
1
answer
39
views
Simultaneous scripts: MySQL server unresponsive
I want run a PHP script that loops through each entry of TableA. It does some web crawling and if a certain condition is met, it INSERTs something into TableB and updates TableA.
While that script is ...
0
votes
1
answer
59
views
Apache internal server error for Perl scripts
I am installing a LAMP (Linux, Apache, MySQL, Perl) stack and I have an issue running some scripts on the web server. I have given full permissions (755) on the directories and files but still receive ...
0
votes
0
answers
13
views
Subdomain on VPS redirecting to main domain
So far, this is what I have done:
Added A records:
Type name priority content ttl
A api 0 123.456.789.000 14400
set up project using git on /var/www/project
On etc/...
0
votes
1
answer
21
views
Running a different version of php per project directory on a LAMP stack enviroment
Is there a way to configure or a program that allow me to run a different version of php based on my project directories for example /project1 running on php 5 and /project2 running on php 7? I have ...
1
vote
0
answers
76
views
What version of lamp-mariadb and php should I install on WordPress instance?
I am deploying a MySQL database with AWS RDS and a WordPress site on an EC2 instance. I've found this guide on how to do so: Deploy WordPress with Amazon RDS.
I followed the guide successfully but ...
1
vote
0
answers
97
views
Integrate nodejs into existing docker lamp container
I'm currently learning how to use docker. And i have a lamp stack container, including php7.4, apache, mariadb, phpmyadmin. All is working fine. I installed Laravel into this container. It includes ...
1
vote
0
answers
54
views
Apache not working on DigitalOcean droplet transfer
I’ve recently created a DigitalOcean droplet from a transferred snapshot.
I thought that recreating a droplet would have kept the original stack LAMP so that it would have worked out of the box.
MySQL ...
0
votes
0
answers
50
views
Play sound on webpage
At my workplace, I was asked to resolve when an inductive loop busy by a car, a webpage will sound a warning while the loop is busy. The created page will opened non-stop on the dispatcher PC browser. ...
0
votes
0
answers
20
views
Why does my Notepadqq editor does not recognize LAMP www folder and sub-folders?
Attempting to get LAMP working on my 32-bit Ubuntu 18.04 machine. I believe the set-up is close to correct. I have all Apache2, mysql, and PHP software installed. I have an index.php file located in ...
0
votes
0
answers
27
views
SQLSTATE[HY000] [2006] MySQL server has gone away (SQL: select * from `listings` where `is_active` = 1 order by `created_at` desc) [duplicate]
I have tried to set up a laravel jobboard on a LAMP server with php 8.0, Apache 2 and MariaDB. After a few solved problems I got the above error message. I'm not really in PHP and MySQL. Therefore I'm ...
0
votes
2
answers
131
views
Laravel Cron Job not working on AWS lightsail LAMP
I am using Laravel 7 and AWS lightsail LAMP server for my application.
When I am running this
php artisan schedule:run
command manually it's working properly. But, when I am creating a cron job for ...
0
votes
0
answers
177
views
Lightsail instance connection to Lightsail database is unreliable
I have a web app running on Lightsail instances stacked with LAMP (PHP 7/MariaDB 10 service). When I want to connect the instances to a Lightsail database instead of localhost, it works sporadically. ...
1
vote
0
answers
41
views
Apache, Php, Centos7 server whole application do not respond when any long running php page is called and respond after the long running task is done
I have deployed an Apache, Php, Linux Centos7 server. The application is in Yii2. The whole web application hangs when any long running php page is called and all the scripts responds as soon as long ...
0
votes
0
answers
63
views
Caching a Dynamic Laravel-based Progressive Web App for Offline Mode
I am currently in the process of converting a dynamic Laravel-based web application into a PWA.
Specifically, I am trying to get the offline caching for my app to apply across the entire code ...
0
votes
0
answers
86
views
Unable to install Mysql server on centos 7 while installing powerdns
I am using Windows 10. I have installed the VMWARE workstation and CentOS 7 on it. My goal is to install powerdns in my CentOS 7. But I am getting errors like below:
# yum install mysql-server
Loaded ...
0
votes
1
answer
22
views
Configuring LAMP - Getting 403 Forbidden Error
I just installed LAMP server on Linux Mint 20.2. My website files are located in /home/larry/Site/foxclone/public_html. All files are .php files. Project name is foxclone. When I go to foxclone in ...
1
vote
1
answer
114
views
How do I establish a connection to a remote database?
I'm just trying to understand the general concept.
I have a LAMP stack virtual machine instance on Google Cloud Platform with a MySQL database.
I have created a database already via the phpMyAdmin web ...
0
votes
0
answers
227
views
Getting a socket error when trying to connect to MySQL
I updated my Linode server from Debian 8 to 11, and this has caused multiple issues. I'm aware this was a very silly thing to do, and I didn't even have any real backup strategy.
But anyway, I'm ...
0
votes
0
answers
98
views
Is there WSDL for RequestSecurityToken / RequestSecurityTokenResponse
I'm working on project where a SoapClient is sending my server a RequestSecurityToken request from a .NET environment.
Normally this request would go to a .NET WCF service and the WCF service would ...
4
votes
2
answers
1k
views
volume already exists but was not created by Docker Compose
This is what i get after i use ddev start on new or any other projects.
I clear all docker images, volumes, etc... and problem repeats again...
Does anybody has the same problem, does it have any ...
0
votes
1
answer
78
views
Apache2 not pointing to the WordPress directory
First I followed this tutorial:
https://www.tecmint.com/install-wordpress-alongside-lamp-on-debian-10/
Which worked fine until I got to the step where I needed to set the permissions. After that, ...
0
votes
1
answer
45
views
Unsure how to change Root Directory to point away from my HTTP sites content
I am currently SSH'd into my AWS VM IP address on Ubuntu.
I've installed the Apache SSL module, copied my server certificate and private key to /etc/pki/tls/certs and /etc/pki/tls/private. Changed the ...
0
votes
1
answer
19
views
What is the encoding chosen by default when using the quick export method?
In phpmyadmin, under export database, under export method there is option to choose quick or custom.
Custom allows to choose encoding. For quick, what is the encoding that is selected by default?
0
votes
1
answer
424
views
How to create SSL for website without domain name using certbot? [duplicate]
I have a website hosted on my Ubuntu LAMP server having static public IP (example: 10.11.12.13).
I want to add SSL certificate to this. I am following this tutorial link: https://certbot.eff.org/...
1
vote
1
answer
179
views
Why is MariaDB the default database in my Bitnami LAMP instance and how do I switch it to MySQL?
I recently got a new AWS Bitnami LAMP instance for a new project. However, I noticed the following in the phpMyAdmin portal of my new server:
Server type: MariaDB
I did some more investigating and ...
0
votes
1
answer
62
views
How to install LAMP where M=Mysql?
I want to setup LAMP (M=Mysql). I am following this tutorial: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html
The installation command given is: sudo amazon-linux-...
0
votes
0
answers
440
views
MariaDB crashes from semaphore wait
I've got a standard LAMP server here under Amazon Linux 2 (a t3.small instance), where MariaDB crashes every 1-2 weeks. The mariadb config is out of the box, I did not make any changes. The server is ...