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

292 questions
76
votes
24 answers

PHP Fatal error: Call to undefined function curl_init()

I try PHP Post Request inside a POST Request thinking it might be useful for me. 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; your…
S L
  • 14,262
  • 17
  • 77
  • 116
59
votes
3 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,165
  • 1
  • 11
  • 15
27
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,090
  • 3
  • 14
  • 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
  • 2
  • 9
  • 10
19
votes
11 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…
kmihingo
  • 376
  • 1
  • 2
  • 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,815
  • 8
  • 48
  • 87
11
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
  • 195
  • 1
  • 2
  • 9
9
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
  • 139
  • 1
  • 10
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
  • 3,344
  • 3
  • 28
  • 46
5
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
  • 189
  • 3
  • 8
5
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
  • 63
  • 1
  • 1
  • 5
5
votes
2 answers

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
5 answers

svn: Could not open the requested SVN filesystem

I tried to set up svn in the LAMPP environment. My svn repositories are in /var/svn/repos, and the repos directory is owned by root:root. Now, when running the command svn import test http://localhost/svn -m 'init' I see this error message: svn:…
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

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
  • 265
  • 6
  • 27
1
2 3
19 20