Questions tagged [lamp]

LAMP refers to a stack of web technologies based on Linux, Apache, MySQL, and PHP/Perl/Python.

Filter by
Sorted by
Tagged with
-1
votes
0answers
24 views

Move all LAMP to Node/Nginx/JS framework? [closed]

I've been developing a language school administration system for some time now. It's based on good old LAMP stack and Yii2 and accessed by a web browser. After some trials with Ionic, Xamarin and ...
0
votes
1answer
33 views

Optimization my.cnf for 100+ wp databases and low RAM usage

I have VDS: 6 cores and 10GB RAM with 150+ WordPress sites. All this things based on CentOS 7, ISPManager Web Panel with MariaDB 10.3 in Docker container. Sites are not highload, but 3 times per week ...
1
vote
0answers
55 views

this is my assignment but i dont know what i did wrong

This is a part of my assignment: Create a directory named members inside the folder /var/www/html. For each member of either executive-staff or management-staff, create a folder inside the new ...
-3
votes
0answers
41 views

Managing multiple remote LAMP server databases

I've got a project assigned recently where I need to manage multiple (30+) remote LAMP servers, aggregate the real-time information on all of the databases, and display them on one page. I'm trying ...
0
votes
0answers
9 views

Why is apachetop so different form server-status?

Why I run apachetop I get around 5requests/sec where are server-status gives me 12.1 requests/sec any idea why?
1
vote
2answers
33 views

Docker containers retaining data

I'm learning Docker and I've been crafting a Dockerfile for an Ubuntu container. My problem is I keep getting persistent information between different containers. I have exited, removed the container ...
0
votes
0answers
21 views

Slim API with Rasperry Pi LAMP not working

I've developed an API using Slim Framework and installed LAMP on my RPi. I have the /var/www/html directory with the index.php, the .htaccess and all API files inside, I also changed the apache2.conf ...
0
votes
1answer
33 views

LAMP stack (ubuntu1804) can not execute Source web from XAMPP (Window 10)

I set up a completely LAMP, test with load phpinfo(), it could work well. But when i copy source web from XAMPP (htdocs/news) to /var/www/ . then I create a new virtual host in Apache2 configuration ...
0
votes
0answers
41 views

mysql_secure_installation problem: access denied for user 'root'@'localhost'

I am using fresh installed Ubuntu 19.10 and trying to install LAMP, so I ran the following: sudo apt-get install lamp-server^ After that, I had to configure mysql by running the command: sudo ...
0
votes
1answer
56 views

How to upload videos to Google Cloud Storage from a GCE VM instance

I created a LAMP Stack site, and I am hosting it on a Google Cloud Compute Engine VM instance. More specifically, it is a video sharing site, and the videos are currently uploaded and saved to the ...
0
votes
0answers
15 views

Unable to sign file using openssl_pkcs7_sign on MacOS X 10.11.16

I need to sign a file that I create(For the purpose of our discussion - lets call it unsignedfile.xml). This file is written to the folder where my php page is (unsignedfile.xml will be alongside ...
-1
votes
1answer
33 views

LAMP Stack cant read from mysql database correctly but can't insert correctly. Function “succeeds” with no errors but database doesn't update

I'm a Sophomore, and the new Webmaster for this community service organization at my University. I'm updating a 10-15 year old website hosted on InMotion, and am currently in the process of moving it ...
0
votes
0answers
36 views

Phpmyadmin Login

Im running LAMP: on Ubuntu: 19.10.1, PHP:7.3.11, Apache:2.4.41, MySql: 8.0.18. Im having a lot of issues logging into phpmyadmin with root user as well as another admin user. Here's the error ...
0
votes
0answers
28 views

Why the page show a php script?

I created a PHP local site, and I don't know why but when I open my page I see only the PHP script on my google chrome page. I created a Vhost like this : <VirtualHost *:80> ServerName ...
0
votes
0answers
63 views

Problem with installing ssh-server in centos 7

I want to install sshd-server on my server, but I get this message Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-...
0
votes
0answers
15 views

How to redirect subdirectory to other subdirectory on Apache

My Apache Server receives bad requests from the client side application: https://example.com//api/followers/0123?currentuserid=0123 How can I redirect the requests in .htaccess correctly? I want to ...
0
votes
1answer
13 views

Allow access to web server across multiple internal networks [LAMP]

My business network is comprised of four locations across my farm, being my house, feed shed, cold storage and vet (animal welfare), due to the size of the property, the network is fibre to the house, ...
0
votes
0answers
40 views

Docker-compose: httpd+php-fpm+mariaDB

I am trying to make a docker environment LAMP like But I cant make HTTPD process PHP files I don't want to use a Linux image This is how my docker-compose.yml looks like: version: '2' networks: ...
0
votes
0answers
11 views

Cannot upload file via Bitvise to new directory created with lamp add command

I've created a virtual machine on my FreeNAS machine to troubleshoot some WordPress websites. I've installed LAMP via this GitHub script: https://github.com/teddysun/ I've used the lamp add command ...
0
votes
1answer
27 views

PHP 5.3.10 SoapServer::handle not finding function

I am getting this error in Apache2 errors logs: PHP Fatal error: Function 'ns1:getClients' doesn't exist I checked to see why the PHP Soap Server is not locating the method in the class Client_API ...
0
votes
0answers
12 views

Could I add JAMstack pages to an existing LAMP server for “gradual transition”?

I have a web domain with 16 years of history - one main site under the domain name, plus dozens of odd pages and images linked explicitly from forums and comments all over the web. I want to ...
0
votes
2answers
193 views

Using Docker for multiple php applications

I recently moved from Wamp (wampserver) to Docker (Windows host). While using wamp, I was able to have multiple projects like in following file structure - wamp64 - www/ - project1/ - ...
0
votes
0answers
21 views

Docker-volume of webroot not editable on host machine

I have a docker-compose LAMP stack comprised of three services; a webserver, php and mysql. The apache2 webroot inside the container is shared to my local machine using a volume like so: volumes: ...
0
votes
0answers
13 views

PHP 7.2 : Ubuntu 18/LAMP Stack: getting PHP error: Cannot modify header information - headers already sent by … (over and over)

The error I am getting on my shared hosting provider in 'error_log' is showing this over and over: \headers already sent by (output started at /404.php on line 3 [21-Nov-2019 12:22:54 America/...
0
votes
1answer
31 views

Sending a cURL POST request as a link

I have a LAMP Django API that sends out a text message to my customer which says Click [This Link] to do A and [Another Link] to do B. I've been using POST requests to take in data to my API but that'...
0
votes
0answers
21 views

PHP Lamp Error, connection refused for localhost server [duplicate]

Could I please have help on working php LAMP connecting to mysql via mysqli: <?php $servername = "192.168.30.145"; $username = "root"; $password = "NOYB-2020"; // Create connection $conn = new ...
0
votes
1answer
54 views

Resetting passwords out of the box on Laravel project with database provider: “user must implement canresetpassword interface”

Ok, it's my first Laravel project. First time developing anything on lamp also (I'm a windows .NET guy, so be gentle, plz). I'm using Laravel 5.8 (limited by our hosting) and have created standard ...
0
votes
1answer
38 views

Retrieving information from a POST without forms in Django

I'm developing something like an API (more like a communications server? Idk what to call it!) to receive data from a POST message from an external app. Basically this other app will encounter an ...
0
votes
0answers
54 views

Restore MediaWiki to a Docker container

I'm trying create a backup solution to restore a MediaWiki installation on a docker container, in case of unavailability of the (private) server, in order to (locally) access MediaWiki data in case of ...
0
votes
1answer
176 views

How can i downgrade the PHP 7.2.xx version to 7.1.XX or 7.0.xx on EC2 Linux 2

I am new to EC2. I have installed the latest php version which 7.2.22 . But my php files are in supported in latest version. So whether running the file in php in ec2 linux 2 its not working. So i ...
0
votes
1answer
31 views

Can I host a website locally without Internet

I want to host a website on a laptop without Internet. This laptop is running Ubuntu, MongoDB, and lamp. The when the website is hosted I want to connect a bunch of tablets to the website over USB. Is ...
0
votes
1answer
53 views

How to copy files from the google cloud shell environment to a virtual machine as a super user?

Cannot copy files from Cloud Shell to virtual machine as super user. The following code works for me, but I cannot use it to copy files to the protected directories within the LAMP stack (i.e. /opt/...
0
votes
0answers
15 views

404 Not Found when hard reload the page in react js with react build in apache LAMP server

I am checking this answer but not helping /a/51552528/8863063 Anyone have better solutions for solve this error Thanks
0
votes
1answer
85 views

Cannot Login into the localhost Wordpress

I cannot login into my localhost WordPress. Initially,​ I thought my password is incorrect. So I changed my password in my database. After that also, It's not allowing me to login using the correct ...
0
votes
0answers
18 views

Problems with mod_rewrite on Bitnami LAMP

I have a Bitnami LAMP setup on AWS. I want to use mod_rewrite to clean up my URLs, so the user can access myapp.com/category to list all products in a category and myapp.com/category/product to se ...
2
votes
3answers
723 views

How to fix “Uncaught ReflectionException: Class view does not exist” in Laravel after deployment to Ubuntu 18.04 server

I am currently hosting an application on a ubuntu 16.04 server... but when i try to deploy the same code on fresh ubuntu 18.04 server i get the following error on my apache logs PHP Fatal error: ...
-3
votes
2answers
39 views

What is the best way to run a continuous loop in php that only runs if it's not already running?

LAMP stack on Ubuntu 18.04: I have a php loop that I want to continuously run. It is my understanding that Apache will spawn a thread per script that is executing and give one core to it and that's ...
-6
votes
1answer
34 views

Installing lamp on linux, how to avoid `php extension not found` problems

I decided to write this article just to reduce "my php extension not found" questions. The following steps are described in the following: full install without adding extensions install php with ...
1
vote
1answer
42 views

.htaccess file is working but causes constant refreshing/redirects

I have changed my .htaccess based on a tutorial to hide the .php file extension and $_Get from URL but the page keeps on jumping. I have tried a number of .htaccess changes this is the only one that ...
0
votes
1answer
51 views

Wordpress site shows php code after fresh install of VirtualMin on Ubuntu 18.04 LTS

I'm getting the below error for my WordPress website immediately after installing Virtualmin. Website was working fine before. I've repeated this several times over by restoring my VM to its previous ...
0
votes
1answer
12 views

serviceWorker on LAMP doesn't exist

I'm testing serviceWorker according "https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers" My PC with Ubuntu 18.04, apache2 v2.4.29, firefox 69.0.1 I saw that ...
1
vote
0answers
23 views

Gcloud expose yii on LAMP stack

How to expose yii2 basic or advanced project to localhost:80 on gcloud vm LAMP instance with numerical external address? Right now LAMP is running /var/www/shared and can pickup {exteralip}/phpmyadmin/...
0
votes
2answers
49 views

Having trouble using PHP's include statement

I cant for the life of me get PHP's 'include' statement to work on any files other than files in the same directory as the file using the 'include' statement. When I try to include any file from ...
0
votes
1answer
29 views

Authentication Failure When Connecting to MySQL as Non-Root User

My login attempts fail for a new user account that I have created, and I have spent several hours learning how authentication is handled by MySQL, but ultimately I think I'm just not fully ...
0
votes
0answers
25 views

LAMP MySQL, (Got an error reading communication packets) when calling a stored procedure

I have a Ubuntu server where I get the (Got an error reading communication packets) error in the MySQL error.log But I get this error only when calling a stored procedure (any stored procedure that ...
0
votes
0answers
21 views

VSCode / Text Mate / Keywords & operators inside strings are not the right colour

Im trying to setup a theme for LAMP based development following the guide at https://macromates.com/manual/en/language_grammars. Its getting pretty good except for im stuck at some things such as ...
0
votes
0answers
40 views

Can't send emails on live server, only local server (Bitnami LAMP Application)

I have implemented the sending of emails through PHPMailer, and when I send the emails while the project is on the local host of my local server there is no problem to send them, but now that I have ...
0
votes
1answer
222 views

How to setup and run a PHP WebSocket service on a cpanel-based shared hosting platform?

I have created a Chat application in Ratchet PHP. It runs fine on local machine using WAMP. I want it to setup on live server. On my server I have: PHP Support SSH access Port 9000, which is ...
0
votes
1answer
15 views

change settings in Apache2 so that directories are listed by default for a page that contains no code?

By defualt all pages left codless, but existing in a directory within the OS file systems accessable by the Apache server are automaticaly converted into site directorys, and list all URL's or other ...
0
votes
1answer
33 views

Give write permission to docker container

I'm running lamp container. So from my app running on apache server I need to upload a file. I keep getting an error: The upload destination folder does not appear to be writable. So, I need to give ...