I installed xampp for the purpose of "portable wordpress theme development". Along with other PA stuff.
However for some reason whenever I go to wp-admin.php I get an error page saying:
"Error: PHP is not running
WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off."
Now before jumping to conclusions I should point out the limit of my knowledge.
I know how to use an install Xampp and wordpress. (hell I even wrote this guide on the subject a couple months ago)
I know to run as admin or services do not start. I also have xampp installed on local PC, so made sure that was off before hand. Additionally xampp is not running "as a service".
Anyone got any ideas?
I forgot to mention as it may prove useful. I tried to install MoWeS Portable after reading every xampp post I could find on these forums.
However during installing php5 I kept getting an error saying to turn off windows firewall.
Not sure why I kept getting this error because I was installing on a thumbstick. So I just figured it was a Piece of $#!7 program and deleted it.
php needs apache to pass tags to.
Did you start apache?
If apache doesn't start (check by going to http://127.0.0.1),
make sure nothing else is using port 80. A number of softwares
grab port 80.
Both apache and sql services start. Like already mentioned I know how to do this.
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\xampp\php\php.ini
Why is running xampp from a usb-stick tapping into the install directory I have in C:\xampp ?
1. verified that xampp was not running on local machine.
2. start xampp on usb in administrator mode.
3. start apache....
4. start mysql....
5. click status:
6. URL http://localhost/test.php
Contents:
7. bash head against keyboard.
Going to localhost is "C:\xampp\htdocs\index.html"
So how do I go to "G:xampp" ?
C:\xampp isn't even running.
As soon as you have XAMPP installed locally as a service, the XAMPP Control Panel launches the services rather than its own things, not checking if it's in the correct location or not. So if you've done that, you won't be able to run XAMPP Portable on that machine.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
So what's the point of xampp portable if it doesn't work?
It's all good, I just fixed the MoWeS install. It was actually the fact I didn't click the windows firewall option for "public locations" even though I allowed the program for "private (home networks, etc)" and added the exception it didn't work until I ticked public as well
I just needed something wordpress portable didn't care what.
And synchronization is tiresome. So problem solved...
You need to run setup_xampp.bat file after first installation and on installation path change. Did you run it?
This is incorrect. When running XAMPP using our Launcher, you DO NOT run setup_xampp.bat. Ever. Everything's taken care of by the launcher, so the batch file isn't needed, and can cause issues.
So the fix is to delete and and reinstall?
We'll see...
Nope. Makes no difference, still get an object not found error.
The problem is local installs, not the usb version.
The php config always points to:
Is there a different URL I need to use to make this work?
MoWeS is "http://localhost/start/" so is no problem, different apache and different php configs. I'm guessing it probably would be a problem where PC's had mowes locally. But thankfully I haven't encountered this yet.
I don't understand this:
What do you mean? The PA launcher has nothing to do with xampp, and even the download link takes you to xampp website which is no way affiliated with PA. The installation instructions says to run the .bat.
Is there something special I'm supposed to do after unzipping the files onto the stick?
The download page says nothing about it, and searching didn't find any posts regarding the issue.
When referring to the launcher, I'm referring to the launcher that we have developed here that launches the XAMPP control panel. This is not the same as the PortableApps.com Platform.
As well as:
That'll teach me for not reading.
So as far as I can tell the only way to get this working (because it's still using the local install regardless) is to uninstall every local install of XAMPP on every PC I use and instead of installing using the .exe use the zip and do not run setup_xampp.bat
That way all local xampp's won't have registry entries and won't demand importance when thumb-stick version is used.
Still no telling if that will solve the issue without testing. But from what I've read that is the problem and solution.