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
0
votes
1answer
37 views

PHP variable access errors appear suddenly, and repaired by simply editing/saving relevant file with no actual changes. What could be causing this? [on hold]

My website has been running fine with minimal changes for 12 months+ Recently, certain fatal PHP errors started appearing and breaking the website, always related to Class variable access. E.g. PHP ...
1
vote
1answer
31 views

Localhost displays website but says further urls aren't found

I get in trouble setting up lamp almost all the time. I installed apparmor, activated it and install lamp using bunsen-meta-lamp. Localhost displays all the project files inside /var/www/ and ...
0
votes
1answer
36 views

cannot use 2 separate tables from the same database in php [duplicate]

I am new in php and reading book "PHP Bible". I wanted to code an example. The example is following. I have a database with 2 tables. The first table is country and the second is city. The country ...
1
vote
0answers
24 views

htaccess file not redirecting routes on my React App [closed]

I am currenlty hosting my React App on an Amazon Lightsail LAMP instance. I have two versions of an htaccess file. One works for me when I host my React App on GoDaddy cPanel webhosting. I found the ...
1
vote
1answer
32 views

Redirect all subdomains to a new domain with htaccess

I am trying to redirect all subdomains to a new domain with htaccess. All subdomains with any path get forwarded: y.domain.com/anything --> y.domain2.com/anything Don't forward the main domain or ...
0
votes
1answer
90 views

Dynamic subdomain handling in a .htaccess file for xxx.domain.com to redirect to a ../users folder

Here is where I am. I am great at CodeIgniter and general LAMP but not so great at .htaccess. I am setting up the PHP handling of dynamic subdomains in a user creation setting. Think mydomain.com can ...
0
votes
0answers
26 views

My directory created on a LAMP don't work in a WAMP

I have created a website in a LAMP using Apache MySQL and PHPmyAdmin, I have migrated this website and is db to a similar configuration but and Windows. And my directory are all mucked up. from index ...
0
votes
1answer
34 views

I got 404 error after deployed my site (Laravel with LAMP) in DigitalOcean

I deployed my site in DigitalOcean. It throws 404 error. The API call is working. but the front-end won't respond. I have tried configuring the htaccess to All Granted, but it still throws 404 error. ...
1
vote
0answers
37 views

Xmlrpc api requests

I have a testlink installation on one machine with MSSQL server at another machine. So, everything is working fine besides xmlrpc api. I have already set 2 options $tlCfg->api->enabled = ...
0
votes
1answer
27 views

Cannot display image in SubDomain Apache XAMPP

I have a php application, I access it usually using: localhost/my-site/public I'd like to use a sub-domain, so something like: my-site.locahost/some-url I changed the /opt/lampp/etc/httpd....
0
votes
1answer
51 views

Localhost throws forbidden error and some directories are just blank

I installed lamp stack using the bundle that came with the distro; bunsen-meta-lamp. After lamp installation apparmor was installed and activated it. Root directory has been changed to /var/www/. var/...
0
votes
1answer
46 views

Do I have to buy a domain in order to run my app that is using an EC2 instance on AWS server in order to use HTTPS?

I have an iOS app on TestFlight that is using a LAMP server running on an EC2 Instance on AWS. It has an elastic IP, and therefore has a Public DNS: ec2-xx-xx-xx-xx.us-east-2.compute.amazonaws.com So ...
0
votes
1answer
60 views

Url rewrite on LAMP server with post data

Im trying to set up a URL rewrite rule set on my LAMP server and all GET request are working as they should, but as soon as i submit a posted form all post-data disappears. If i change the form to GET ...
0
votes
0answers
16 views

An error occurred while installing “X”: Could not create directory

I am trying to install some plugins on my wordpress site that is running locally, when i try to install the plugins i get the error could not create directory . I am running wordpress on the lampp ...
0
votes
1answer
27 views

Apache site does not load without http or https in front of it

when I do not include the http:// or https:// prefix, my site does not load. For example, these don't load: example.com , www.example.com But this does: https://example.com, http://example.com, http:...
0
votes
0answers
38 views

codeigniter project runs in localhost fine. when i put it to the ubuntu server(lamp) it gives an error [duplicate]

I already have a codeigniter project in my localhost(wamp server) and it's running without any issue. However when I copy the project to my Ubuntu server (LAMP), when I try to input data using a ...
0
votes
1answer
15 views

Apache http.conf with wildcard subdomains

I have a white-label web app that runs with subdomains to divide out the labels. Let's say cust1.app.com and cust2.app.com. I have SSL on my site, but I am having troubles making the site redirect ...
0
votes
0answers
17 views

Apache2 set up multiple site with subdomain not working?

I want to run 2 Wordpress sites on my VPS installed LAMP stack. Site 1: test1.example.com Site 2: test2.example.com Here are my config files: test1.example.com.conf: <VirtualHost *:80> ...
0
votes
1answer
86 views

Localhost not working after basic installation on WSL

I am trying to install a LAMP working environnement but for some reason nothing happen. The lack of error messages makes me wonder what to look for. I followed the Ubuntu installation process : sudo ...
0
votes
0answers
23 views

Apache2 does not working after reinstalling in Linux Mint

I have recently installed LAPM stack with PHP7 in my Linux Mint operated laptop. Now I wanted to use PHP5.6. Without searching further information I just deleted all everything of LAMP stack with the ...
0
votes
1answer
26 views

Reverse Proxy works but not Virtual Host in the secondary RPi Web Server

I have two RPi(3+), both use for LAMP web server. And their relation is like this image So, Rpi1 is the one directly talks to my home router and I set up reverse proxy to retrieve RPi2 Data. My ...
0
votes
0answers
5 views

ajax get on server lamp

I have this code: $.ajax({ type: "POST", url: url, data: form.serialize(), // Send the form information as success: function(data) { var ...
-1
votes
1answer
52 views

Apache Server on Google Cloud Console VM Instance

I have LAMP set up on a VM instance in Google Cloud Console. When I visit the external ip URL, I am prompted with the default Apache page shown below. I have a website application located at /var/www/...
-1
votes
1answer
215 views

another web server is already running and unable to run Apache2

another web server is already running, and i am unable to run Apache2 i tried so many ways to fix it .. As i am usinng kali linux , i successful installed xampp and apache2 but dont know why apache ...
-1
votes
1answer
11 views

What kind of issues could come up while upgrading to HTTPS?

We need to upgrade our application from http to https. Our application is built on core php and unaware about exactly what changes required after SSL installed.
1
vote
0answers
52 views

phpMyAdmin not working in Amazon Linux 2 after adding virtual host in .conf file

I followed the below link and installed everything. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html I have some applications running and there are virtual hosts. All ...
0
votes
2answers
25 views

jQuery passing multiple values in Data and editing event

I am creating a php file to alter file systems and I want to make this php run in the background on a ubuntu server. The html creates a webpage but the php does not trigger at all. I followed a ...
0
votes
0answers
24 views

Netbeans MySQL connection : Server properties error

I am working on Netbeans-11.0 with JDK12 on Ubuntu 19.04. I have LAMP server with which I use phpMyAdmin to connect to MySQL server. Now I am trying to connect Netbeans to MySQL server but it shows an ...
0
votes
0answers
10 views

redirect subdomain subfolder to proper sub folder using htaccess

I have set up a subdomain dgm.abc.org which redirects to www.abc.org/dgm/ . What I am trying to achieve but am unable to do is when someone types dgm.abc.org/xyz/abc it should forward to www.abc.org/...
0
votes
0answers
20 views

Access the database from another LAMP

I have two LAMP installations, one is 7.1 and another is 5.4. Mistakenly I have copied one really big DB in lampp 7.1 instead of 5.4. So now I am worry about is there any way that I can port it to 5.4 ...
0
votes
1answer
34 views

How to fix too_many_redirects with this PHP login set up

I have a web server running LAMP. I have the website tbg.robotpidgeon.com set up to run the PHP login system that I copied from here (https://www.tutorialrepublic.com/php-tutorial/php-mysql-login-...
0
votes
1answer
41 views

How can I get client's IP and hostname from all pages that are visited (including images) in my LAMP server?

I'm setting up a web server using apache and want to be able to get client's IP and hostname from any page they visit on the website without having to manually implement logging code in all the files. ...
0
votes
1answer
48 views

Unable to start Apache - (98)Address already in use: AH00073

Recently decided to change my VM type on my Google Cloud account, but in the process of changing the VM it seems something has gone wrong as I'm now unable to start Apache as I keep getting the ...
-1
votes
1answer
28 views

Making forward/backward Buttons in html for Table Data

I have more than 200 data on this table based on HTML and MySQL database: So, I would like to limit the number of entries shown to 15 and then have next and back button for every 15 other entries. ...
-1
votes
1answer
28 views

Set localhost name to custom name inside for local wordpress setup

I want to put a live wordpress site in my local environment, let's say for example the site url is www.test.com , this opens the page, so when I normally set up a local environment in /var/www/html (...
1
vote
1answer
23 views

Magic method to run when object is referenced by a variable in an echo statement

In PHP does such a magic method automatically run when a variable referencing an object is in an echo statement?
0
votes
1answer
64 views

Deploy custom site on Azure VM (LAMP)

I am trying to learn how to move an application from on-prem to Cloud (Azure). I have an existing application (PHP, Laravel, MySQL) which is hosted on IIS. Following this tutorial, I was able to ...
0
votes
0answers
34 views

How to convert nodejs string To mysql?

I am trying to put a date to my mysql database. The column type is date. the value of orderDate is '2018-04-18' however after putting it into the database it is changed to 1997-00-00 why is that and ...
1
vote
0answers
22 views

API and static html served from same directory

I am on a shared hosting and from my directory I want to serve both static pages and requests from api server (written with symfony php). I have a /static folder with index.html etc. and a /myapi ...
0
votes
1answer
135 views

This site can't be reached (refussed to connect) laravel project on digitalocean

I install LAMP on my droplet in digital ocean, it did works good but now just tell "this site can't be reached, refused to connection" my IP is 157.230.139.112 My project worked well, however, from ...
-2
votes
1answer
44 views

How do I change the php version using bitnami/linux terminal for my php app

So I'm using AWS with bitnami using a linux terminal for my php application. But I need to switch my PHP version from 7.2 to 5.6, and I can't figure out how. I've never used Linux so I'm having ...
0
votes
1answer
20 views

Is there a way to intercept requests to a specific directory and then choose how i want to respond to that request?

I want to try and build a lazy load plugin for a dummy wordpress site that I manage. I want to do it in this way for experience. How could I go about intercepting calls to my images folder and then ...
0
votes
1answer
124 views

DOCKER: Running shell script inside container hangs

I am currently trying to dockerize a codeigniter application cloned from here. I used a base lamp stack image from docker hub found here My dockerfile looks like this currently: FROM firespring/...
1
vote
0answers
31 views

could php7-fpm strtotime ever think this date '4/10/2019 13:54:21' as invalid input due to server load?

The mysql database(5.7.25-0ubuntu0.18.04.2 (Ubuntu)) reports that i am inserting '1969-12-31 16:00:00' instead of '2019-04-10 13:54:21' into a table in the database. However, since there is proof ...
0
votes
0answers
92 views

“mysql_config not found” when trying to install PHP 7.2 from sources

On Ubuntu, I've got currently installed from sources Apache 2.2.32 + PHP 5.4.45 + mySQL 5.1.55. And now, I want to install PHP 7.2.16. I downloaded the .tar.gz file, and tried to do the 'configure' ...
0
votes
0answers
17 views

XDebug Client for Sublime 3 do not start debugging

I have searched all the sources, and nothing helped me. When I run Xdebug Client, it doesn't stop at my breakpoint. Here is my config: php.ini: zend_extension = /usr/lib/php/20170718/xdebug.so ...
1
vote
1answer
44 views

Finding the best environment to test different PHP versions [closed]

I've got Apache + PHP 5.2.17 + mySQL on a Linux/Ubuntu server, and I was requested to upgrade the PHP version (I guess to 5.3.x or 5.4.x). I would like to test my code in a versatile environment ...
0
votes
1answer
97 views

Prestashop 1.7 can"t access to api

I can't access to the api on my prestashop test-shop. Here what I did : The webservices is active and a key is created : screen copy of my admin The rewrite mod is active on Apache : Apache ...
1
vote
0answers
64 views

AltoRouter not executing routes, but it's working in localhost (LAMP)

Problem My AltoRouter is not routing properly on live server (LAMP), but it's working just fine in localhost (XAMPP). How do I know that the routing part is correct? Because, when I execute GET ...
1
vote
0answers
288 views

How to fix Apache Server child pid 637 exit signal Segmentation fault (11), possible coredump in /etc/apache2 Issue

I am facing apache server issue. I have check apache server logs and seems likes its go in infinate loop. error log continuously display below errors. [Fri Mar 15 04:39:52.384115 2019] [core:notice] ...