lampp

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: PDO::__construct() [pdo.--construct]: [2002] Invalid argument (trying to connect via unix://) in /h...

'htdocs' folder in XAMPP for linux belongs to "nobody" after installing, why?

Hi, after installing XAMPP on linux i have seen the folder "htdocs" belongs to "nobody". Has this any intention? Do you think owning that folder is a good practice? Regards Javi ...

how to use passenger within lampp

hi guys, i've been searched around for couple days about installingpassenger in a lampp (xampp linux) server ... no luck, i couldn't find any reading to achieve what i want to do could you gimme a solution to accomplish this? many thanks ...

rotatelogs in lampp

Hi, i'm using lampp and i'm trying to configure the rotation for the apache log files. I've readed about rotatelogs and i've added this in my httpd.conf: CustomLog "|/opt/lampp/bin/rotatelogs /opt/lampp/logs/%Y/%m/%d_access_log 86400 +60" common problem is that i get this error: Could not open log file '/opt/lampp/logs/2010/07/03_acc...

Mysql start fails with Operating System error 13

I have XAMPP on my Ubuntu Lucid system and everything worked fine. But there seems to be some problem now and mysql wouldn't start. I had tried to recover a few Drupal databases and hence copied the raw files to /opt/lampp/var/mysql folder like all other database folders. And, I guess that could have caused the problem. I am pasting t...

How to add Solr PECL extension into lampp (xampp) stack

Is it possible to add PECL extensions into a lampp stack? If so, how can it be done? I am specifically interested in http://www.php.net/manual/en/book.solr.php extension. EDIT: when installing this extension using: /opt/lampp/bin/pecl install -f solr everything seams to go as it should except at the end: checking for cURL support...

How to configure local web server such that it should switch between one php version to another

I'm developing one web application, using PHP eclipse IDE. For an instance i want to switch from one PHP version to another version which resides in different location. Below is my working environment : 1) Having Centos OS 2) PHP 5.1.6 have installed already while installing centos OS 3) Above PHP is installed in /usr/bin/ path 4) I...

How to setup multiple subdomains on lampp?

Hi , I need to set up multiple projects on lampp. How can i create sub domains for these multiple projects. My projects are in cakePHP. Can anyone help me? ...