Hi everyone.
I've just reinstalled Portable Apps after over a year away since I realise that is so much could have been doing with it and I've just been missing out.
I've got the basics - Firefox, GIMP, Filezilla, Komposer and 7-Zip.
But what I really need is XAMPP so I can do some work on my php/mySQL website (and perhaps learn AXAJ at the same time).
Details:
XAMPP is installed on my portable HD at E:\PortableApps\xampp
I can get the services running but the index.php in htdocs isn't recognised for double-clicking and opening it from within Firefox gives the error message. I'm getting this when I restart XAMPP through Portable Apps:
MySQL stop ...
Apache killed ...
pv: No matching processes found
Attention: Cannot delete the httpd.pid!
mysql\bin\mysqladmin.exe: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'
Apache pid delete ... SHUTDOWN COMPLETE!
Please wait [Bitte warten] ...
### APACHE and MySQL is STARTING now! ###
[Do not close this window while XAMPP is running]
What am I doing wrong? Have I installed it in the wrong place?
Thanks for your help.
Sub Effect
Please read this page: https://portableapps.com/apps/development/xampp and look closer at the "Menu Integration" paragraph. there is a link to a launcher for integrating XAMPP into the PortableApps.com Menu.
Ok, I got the XAMPP .paf file.
Is this the only file I need? And do I install it to the root as in E:\ or in E:\PortableApps\xampp as it tries to?
I've moved the other XAMMP folder out and installed to E:\PortableApps\xampp, navigated to the index.php file and I still get the same error message.![Sad](https://portableapps.com/sites/all/modules/smiley/packs/kolobok/sad.gif)
XAMPP is best put in the root of the drive X:\xampp, and then let the launcher install to X:\PortableApps\XAMPP
I think I need exact instructions, including what order to do things in.
I've tried everything suggested here. XAMPP lite is in X:\xampp, and the launcher installed to X:\PortableApps\XAMPP.
The error I get when trying to launch the XAMPP control panel from within Portable Apps is:
"Neither XAMPP or XAMPP Lite were found on your device."
What is wrong here?
I've been meaning to stick xampp on my drive for a while, so I took this as a good opportunity to try it out.
Basically, I followed the instructions and it worked, so. step by step
1) download the 33Mb XAMPP self-extracting exe (NOT the installer) (big download button on the app page)
is your drive) as the destination. This will create x:\XAMPP with about 200MB of files in it.
2) download the xampp.paf.exe launcher (link referenced just below the download button to integrate with PAM)
3) run the 33Mb self-extracter, and give it x:\ (where
4) run the paf.exe installer, giving it x:\PortableApps\XAMPP as the target (which will probably be the default)
5) start PAM, click on the XAMPP icon, it should bring up the control panel
I personally also downloaded patch2, which is a zip that you just unpack over the top of the x:\xampp folders, it replaces half a dozen files in there.
Where you are saying that you've installed it in X:\xampp already, check and make sure that it is NOT installed in x:\xampp\xampp as this won't work.
Hope that helps.
Jim
I try running the self extractor but every time it gets stuck at 28%.
EDIT: Nevermind, I'm a retard. It keeps installing it's just the bar and number don't move for a very long time.
Jim's posting above was much clearer to me than the XAMPP page. Personally, I'd cut and paste most of it onto the XAMPP page.
Next time the webpage editors update the XAMPP page:
1) The link to download XAMPP Launcher 1.4 didn't work for me. I got really slow connections, and a 500 error - page unavailable. However, this link does work, and it's quick:
http://sourceforge.net/projects/portableapps/files/XAMPP%20Launcher/XAMP...
If there's a problem with the original link, can it please be updated?
2) Please use the correct name for the setup file - setup_xampp.bat. Here's what it currently says:
Thanks
James
"but the index.php in htdocs isn't recognised for double-clicking and opening it from within Firefox gives the error message."
That isn't the way XAMPP works, man...
Have you tried http://localhost ?
I've done exactly what you said Jimbo. I've tried localhost, yes. I get an error message:
Failed to Connect
Firefox can't establish a connection to the server at localhost.
Though the site seems valid, the browser was unable to establish a connection.
* Could the site be temporarily unavailable? Try again later.
* Are you unable to browse other sites? Check the computer's network connection.
* Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
XAMPP Control Panel works with Portable Apps but the window gives the following error:
Current directory: F:\xampp
Install directory:
*** WARNING: Directory mismatch ***
Status Check OK
Sob.
Scratch it all. It's working now. I still get that directory mismatch error though.
Simplest mistake - I though XAMPP was starting Apache automatically. It doesn't. It all seems fine now.
PS. Does anyone use XAMPP on the desktop? It was a toss up between that and WampServer and I can't remember why I chose WampServer. Works fine so far. Anyone any preferences?
How do I get a folder menu up on the XAMPP main page. localhost takes me to the XAMPP menu with all the info and demo programs but what I want are links on there to the index pages of my web projects, the folders of which are in the htdoc folder.
If I put localhost\projectfolder it does indeed open up the index.php page from within that folder but I don't want to be typing in the folder names all the time.
If you've used Wamp you'll know what I mean - it generates a list of links to your folders within htdocs.
simple, delete everything inside htdocs folder and place your files there
I'm trying to run it off a USB disk. Apache and MySQL are running but I get the localhost error for both admin pages. Is there a config file or something to fix this? Is there a default windows security setting that prevents the admin pages from showing?
i need the answer to this too!!!