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
2
votes
3 answers

onelogin api with php curl 401 unauthorized

I have a simple curl request to the onelogin api written in PHP. The request works fine with my parameters from my terminal and I am able to login my user, however the php version I run on server, generates access token but then gives a 401 error…
2
votes
2 answers

Linux XAMPP suddenly requires 32 bit compatibility library

I have been working with linux's version of XAMPP (named LAMPP) for about 3 months now and up until tonight XAMPP has worked fine, but suddenly when I tried to run the command sudo xampp stop it gave me this error message: XAMPP is currently only…
user3897748
  • 21
  • 1
  • 4
2
votes
2 answers

Executing a few python scripts with PhP not working

Would like to ask , as I am designing a webpage whereby there will be a few buttons that when press will run different python scripts. For now I have tried a basic example by using both jquery and php to pass the command to run just a single python…
peekaboo
  • 105
  • 1
  • 15
2
votes
1 answer

Why do we set $system_path in CodeIgniter?

I'm using XAMPP on Linux, so I moved the folder CodeIgniter-3.0.1 inside htdocs. Below is the directory. /opt/lampp/htdocs/CodeIgniter-3.0.1 On the User Guide, they wrote... After moving them, open your main index.php file and set the…
mshahrim
  • 55
  • 11
2
votes
0 answers

Lampp and wkhtmltopdf not working from shell_exec

Im trying to run the following php script: error_reporting(E_ALL); ini_set('display_errors', '1'); $cmd = "/usr/local/bin/wkhtmltopdf http://www.yahoo.com /opt/lampp/htdocs/filer/yahoo.pdf"; $t = shell_exec($cmd); exit(); I have wkhtmltopdf…
Alosyius
  • 8,771
  • 26
  • 76
  • 120
2
votes
2 answers

PHP Sendmail Arguments Linux

/usr/sbin/sendmail -t -i I know the -t argument tells Apache that email can be sent through php. What does the -i argument do? And are there any more arguments worth knowing about? One other I know of is -f myemail@example.com which is a sendmail…
Generic
  • 31
  • 4
2
votes
3 answers

Lost Xdebug.ini file while installing Xdebug

Accidentally i lost xdebug.ini file in /etc/php5/conf.d folder. How to get back that while i am trying to install xdebug using apt-get,it's giving an note like below. Not replacing deleted config file /etc/php5/conf.d/xdebug.ini I searched for this…
Venkata Krishna
  • 4,287
  • 6
  • 30
  • 53
1
vote
1 answer

Netbeans PHP configuration on Ubuntu

I have this problem getting my newly created php project on Netbeans work on Ubuntu. I've tried to place the source folder of the project in the /lampp/htdocs folder or selected the copy location option on the 3rd step of creating the project, yet…
David B
  • 3,269
  • 12
  • 48
  • 80
1
vote
2 answers

How could I browse the index.php stored on a internal machine on my local net browser?

The situation is like this: I have three machines A , B , C . A is my laptop installed MACOS, B is a remote server installed redhat and can access to the Internet, C is another server installed redhat and connected to B directly with a Cable . So B…
xuqin1019
  • 202
  • 3
  • 12
1
vote
2 answers

LAMPP html or php error?

I am just doing an excersise in php. I`ve started my lamp server, created the html file and send it to /opt/lampp/htdocs ( saw that in phpinfo() ). Here is the tip.html content:
Ilian Zapryanov
  • 1,132
  • 2
  • 16
  • 28
1
vote
1 answer

PHP exec throwing unexpected results

I am trying to automate my deployment using phing. I get the below error when I use svnlastrevision task Execution of target "builddiff" failed for the following reason: /home/ramjee/Work/Projects/it/dev-stack/build.xml:88:1: Failed to parse the…
rAm
  • 1,086
  • 2
  • 16
  • 23
1
vote
3 answers

lampp error 403 - Access Forbidden

I have lampp installed in Fedora, and i have used it without problems for a long time, i was working with the cake framework without issues, i tried to copy the codeigniter folder (from the framework zip) in the HTDOCS folder and was done without…
Leonardo
  • 2,484
  • 2
  • 25
  • 37
1
vote
2 answers

Use crontab in Ubuntu with LAMPP

I googled for quite some time already, but I still can't find how to setup crontab with lampp. I need to run a PHP script for every 15 minutes. So, in bash: $ sudo -i # crontab -e I get a nano editor... what should I type inside? I tried * * * *…
Irene Ling
  • 1,881
  • 3
  • 26
  • 41
1
vote
2 answers

How do I create an alternative root for XAMPP?

I understand that the root of xampp is the htcdocs directory - but I want to create my own directory in my home folder and have that server as my root so that I don't have to go through a million folders to save a file. I can accomplish this using…
Kira
  • 549
  • 8
  • 24
1
vote
1 answer

How to add code that fixes urls in httpd.conf

So the 'problem' im having is that 192.168.2.69/TEST does work, but when i go to 192.168.2.69/test it doesnt work. also happens with other folders or files. now i had soem type of code that fixed urls and with casing and just wrong writen urls. such…