Questions tagged [lampp]

An abbreviation for "Linux, Apache, MySQL, PHP, and Perl"; an interoperable group of open-source computer programs.

An abbreviation for "Linux, Apache, MySQL, PHP, and Perl"; an interoperable group of open-source computer programs.

Since its creation, the LAMP model has been adapted to other componentry, though typically consisting of free and open-source software. For example, an equivalent installation on the Microsoft Windows family of operating systems is known as .

Use this tag for programming questions related to the LAMP programs.

Source: Wikipedia

279 questions
66
votes
23 answers

curl_init() function not working

Hi I tries PHP Post Request inside a POST Request thinking it might be useful to me and my code is given below $sub_req_url = "http://localhost/index1.php"; $ch = curl_init($sub_req_url); $encoded = ''; // include GET as well as POST variables;…
Santosh Linkha
  • 13,692
  • 17
  • 72
  • 113
54
votes
2 answers

ERROR 403 in loading resources like CSS and JS in my index.php

I'm in Linux, Elementary OS, and installed lampp in opt. My CSS and JS won't load. When I inspect my page through browser. The console says Failed to load resource: the server responded with a status of 403 (Forbidden) I'm really sure that my…
Mark Vizcarra
  • 1,085
  • 1
  • 11
  • 15
26
votes
4 answers

LAMP PHP configuration

OS: Ubuntu 17.10 (Artful Aardvark) I have installed the LAMP stack and Laravel, and when I tried composer install in my Laravel application, I got the following errors. - Installation request for phar-io/manifest 1.0.1 -> satisfiable by…
Arafath
  • 1,052
  • 1
  • 13
  • 28
25
votes
5 answers

Error on creating connection to PDO in PHP

Today, I removed and reinstalled the latest version of lampp in order to move to php 5.30, and suddenly a very simple app is failing to connect to the mysql database. I'm using PDO to connect, and receiving the following error: Warning:…
krdluzni
  • 799
  • 1
  • 9
  • 10
13
votes
3 answers

"Symbolic link not allowed or link target not accessible" on fresh installed XAMPP for Linux

I did a fresh-install of XAMPP for Linux (version 1.7.4) on my Ubuntu 11.04 x64 laptop. Then I made a link in my htdocs folder to my project folder: $pwd /opt/lampp/htdocs $sudo ln -s /home/petra/projects/webapp webapp $ls -al drwxr-xr-x 4 nobody…
Petra Barus
  • 3,414
  • 5
  • 38
  • 76
10
votes
10 answers

XAMPP: Another web server is already running

I get the following error after installing gitlab.. root@Blase:~# sudo /opt/lampp/lampp start Starting XAMPP for Linux 7.0.9-1... XAMPP: Starting Apache...fail. [XAMPP: Another web server is already running.][1] XAMPP: Starting MySQL...already…
Juan Kev
  • 187
  • 1
  • 1
  • 9
9
votes
2 answers

Php composer openssl error

Before asking, i have to say that I have tried every similar question here on stack and elsewhere and failed. I am unable to use composer because of this error: requires ext-openssl * -> the requested PHP extension openssl is missing from your…
JTC
  • 2,975
  • 3
  • 26
  • 43
8
votes
2 answers

pecl/mongo requires PHP (version >= 5.3.0, version <= 5.99.99), installed version is 7.0.4-7ubuntu2.1 No valid packages found install failed

I would to connect lampp to mongodb so I need to install mongodb client , I do sudo pecl install mongo il m'affiche le message suivant : PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mongo.so' -…
Sarah
  • 119
  • 1
  • 9
7
votes
3 answers

How to run `npm install` in Amazon Elastic Beanstalk with .ebextensions

I want to deploy my PHP app in a Amazon Elastic Beanstalk with eb deploy command. But my app use gulp to concat and minify scss and js. So I tried these commands to in the file .ebextensios/03npm.config commands: 01-install-node: command: "yum…
Harrison
  • 154
  • 1
  • 8
5
votes
1 answer

Advanced Template installation issue [ErrorException] touch(): Utime failed: Permission denied

I am using YII2 for my project,I have created a project(advanced template) using composer, now I need to start another project, firstly I have update composer(composer self-update), it is fine. now I am trying to complete installation process of…
ksn
  • 51
  • 1
5
votes
1 answer

How do I set MYSQL environment variable in Ubuntu?

So I installed XAMPP (in Ubuntu), and it was successful, the location of MYSQL is on, /opt/lampp/bin/mysql, and so I have to include the entire path to access mysql as seen below: $/opt/lampp/bin/mysql -u root -p And it can login. But using just…
Sushi
  • 225
  • 1
  • 3
  • 6
4
votes
1 answer

Best Practices for Resolving Permission issues Using XAMPP (LAMPP) on a Linux machine

Problem I've recently started using Linux on one of my laptops. I installed XAMPP (LAMPP) which I'm very familiar with on the Mac and Window OS in order to develop my WordPress themes etc. I keep running into annoying permission issues, which I…
jw60660
  • 179
  • 3
  • 8
4
votes
1 answer

Apache virtual host configuration on MAC with LAMP

I'm having a challenge with Apache virtual host configuration on MAC. For my setup, I've added 127.0.0.1 test.wp to my /private/etc/host file and included it by uncommenting the Include etc/extra/httpd-vhosts.conf line in the lampp/etc/httpd.conf…
Kintamasis
  • 255
  • 5
  • 23
4
votes
2 answers

laravel @if statements displayed in view

I'm learning Laravel for the first time, just started today. Fresh Laravel install via Composer on LAMPP - Ubuntu. After I run sudo /opt/lampp lampp start in my terminal, I open Chrome and nav to localhost/MYAPP/resources/views/welcome.blade.php.…
MDJ
  • 53
  • 1
  • 1
  • 4
4
votes
0 answers

XAMPP: Your /etc/hosts is not okay. I will fix it

I'm getting this error on starting my apache. I'm using linux server. Can somebody help me. Thank you! XAMPP: Starting Apache...fail. XAMPP: Starting diagnose... XAMPP: Your /etc/hosts is not okay. I will fix it. XAMPP: Next try... XAMPP:…
Carl Sare
  • 163
  • 1
  • 13
1
2 3
18 19