xampp

XAMPP: Couldn't start MySQL!

Hi, i'm getting this error when i start LAMPP: XAMPP: Couldn't start MySQL! I tried with sudo /etc/init.d/mysql stop but nothing.. Any idea? Regards Javi ...

why does xampp not come with xdebug?

xdebug is widely used by developers and since xampp is meant to be used in development environment i wonder why it doesnt come with xdebug installed? so annoying to have to do it manually all the time. ...

XAMPP Mercurial installation on Windows Apache --> HgWebDir.cgi Script Error

I try to publish multiple existing mercurial repository-locations though XAMPP Apache via CGI Python script hgwebdir.cgi ... as in this tutorial http://mercurial.selenic.com/wiki/HgWebDirStepByStep I get the following error from the apache error logs, when I try to access the repository path with a browser: Premature end of script head...

Installing Mercurial on Windows Apache XAMPP Tutorial

After asking this question (http://stackoverflow.com/questions/2675764/xampp-mercurial-installation-on-windows-apache-hgwebdir-cgi-script-error) and reading though the whole internet including this question (http://stackoverflow.com/questions/644322/how-do-i-get-mercurials-hgwebdir-working-on-windows) and all its links for about 10 hours...

How to use external apache htdocs and mysql data directory outside the xampp directory in xampp 1.7.0?

I am using xampp 1.7.0 and simply want to use directories outside of the xampp directory as apache htdocs and mysql data directory. I've googled it and found many solutions but none of them are working in my pc! ...

How do I correct these errors to install indexhibit on localserver?

XX /ndxz-studio/config folder is not writable... Notice: Undefined variable: flagD in /Applications/XAMPP/xamppfiles/htdocs/ndxz-studio/install.php on line 475 ...

XAMPP - local host problems

I have picked up some possible answers to my problem here, but none have so far worked. I have installed XAMPP but get the dreaded HTTP 404 error on both IE and Firefox when asking for 'http://localhost/'. I work with Dreamweaver but cannot get the testing server (XAMPP) to work, although I can connect to the linux/apache remote serv...

How to make Php application running on Xampp to connect to a remote mysql db?

I have a php application running on XAMPP but I want to connect to a mysql db running on a remote machine(which is also using XAMPP). The application works fine when I connect to the mysqldb instance on my machine. I have changed the configuration files to point to the remote db and have given the correct credentials as well. But I get a...

Using Mod-Rewrite in XAMPP

I've followed some tutorials on how to use Mod_Rewrite, but it's not working out. I have a php index page that takes a page parameter like so: call: index?page=name1, name2, name3 etc. <?php if (isset($_GET['page'])) { switch($_GET['page']) { case 'front': include "front.php"; break; default: ...

jQuery works on local host, but not on website

Using Notepad++ and XAMPP to test stuff, then I upload it to the website over FTP. In the head of my code, I have this to call jQuery and the script: <script type="text/javascript" src="/jquery.js"></script> <script type="text/javascript" src="/portfolio.js"></script> and it works fine locally on my XAMPP server. But as soon as it's...

PHP get "Application Root" in Xampp on Windows correctly

Hi all: I found this thread on StackOverflow about how to get the "Application Root" from inside my web app. However, most of the approaches suggested in that thread can hardly be applied to my Xampp on Windows. Say, I've got a "common.php" which stays inside my web app's app directory: / /app/common.php /protected/index.php In my ...

Symfony on virtual host (document root problem)

Hello, I'm developing an application in Symfony and on localhost (XAMPP) I want to simulate the same conditions as on the webserver. The web server is configured as follows: /www => mydomain.com /foo => foo.mydomain.com /bar => bar.mydomain.com ... I'm going to put my Symfony application into /www direcotry so there'll be: /ww...

how to read uploaded files from xampp

I have this code for uploading files on the server: <tr> <td> <form enctype="multipart/form-data" action="uploadaction.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> </td> </tr> <tr> <td> Select the image: <input name="uploadedfile" type="file" /> </td> <tr> <td> <input type="submit" value="Upload File"...

localhost problem internet explorer

Hello everyone I have installed xampp 1.7.3. After starting apache and mysql service when I write http://localhost/ in the internet explorer address bar it shows 'The page cannot be displayed'. But for Firefox it creates no problem and shows Xampp index.php page. Now how can I solve this problem? Thanks in advance ...

mysqldump doesn't run correctly

I write some code with PHP to backup database. Here my code: exec("mysqldump --opt -h localhost -u root test > mydb.sql"); But I get 0-byte in my file (mydb.sql). I also run with passthru(), system(), but it still gets 0-byte. I try to use command. It works. I use the lastest XAMPP for my localhost. So, how can I do to make it wor...

XAMPP "module 'mysqli' already loaded" error?

Had XAMPP configured and running properly, was able to access phpmyadmin and execute php code on the local server. This morning after starting XAMPP and starting Apache, I get a message saying: "module 'mysqli' already loaded." I can't log into phpmyadmin- I see the login page, but when I click "go" I simply get a blank page. I was p...

How to make CSS URL background images show up in localhost?

Hi guys, I just installed xampp and I brought one of my live sites into it to be able to start working from localhost. So to view my site, I navigate to localhost/example.com I noticed some issues with images when on my html, I had for example: <img src="/new_pictures/05.jpg" alt="Central Market"/> Image wouldn't show up, but then I...

Rails Rake Error with XAMPP mysql database

I have installed XAAMP on my win7 machine and I have the apache server/mysql running on there. I set up rails to work with XAmpp as described here: XAMPP and RAILS This tutorial advises you to add this code to the XAMPP httpd.connf : Listen 3000 LoadModule rewrite_module modules/mod_rewrite.so ################################# # RUBY S...

Making a cron(job) on XAMPP for Mac OS X

Hello, how do I create a cron / cronjob (I am not quite sure about the correct terminology ^^ ) on XAMPP for Mac OS X running Snow Leopard? Or how do I make a cron(job) on Snow Leopard, whether XAMPP or not? ...

Is DB logging more secure than file logging for my PHP web app?

I would like to log errors/informational and warning messages from within my web application to a log. I was initially thinking of logging all of these onto a text file. However, my PHP web app will need write access to the log files and the folder housing this log file may also need write access if log file rotation is desired which m...