Please don't assume that your web app will always be installed at the document root of the web server, or hard-code paths to system utilities that may be installed in a different location on servers other than the one you happen to be testing on.

The years just pass like trains. I wave, but they don't slow down.-- Steven Wilson

Please don't assume that your web app will always be installed at the document root of the web server, or hard-code paths to system utilities that may be installed in a different location on servers other than the one you happen to be testing on.

Please don't assume that your web app will always be installed at the document root of the web server, or hard-code paths to system utilities that may be installed in a different location on servers other than the one you happen to be testing on.

You guys do PHP web apps for a living? For me it's more of a sideline... in this case, a volunteer sideline, so I'm not getting paid for it. If I was billing by the hour, or if the site wasn't going live today, it would've been a lot less annoying!

The years just pass like trains. I wave, but they don't slow down.-- Steven Wilson

No, immediate crisis averted; I was just curious. But thanks for offering.

morphine wrote:

Also, if you're actually running Debian, I feel for you. The PHP version in there is probably from 1755 AD.

Well... actually the test server was running Ubuntu LTS, so a bit newer. Probably at least from the late 1800s!

I think the production server is running some RHEL derivative. (Given this, we should've probably considered using CentOS for the test server instead of Ubuntu, but the Ubuntu server was already set up.)

No idea what the original developers of this train wreck used, but I can pretty much guarantee it was something that puts the Apache binaries in /usr/local/apache/bin!

The years just pass like trains. I wave, but they don't slow down.-- Steven Wilson

You guys do PHP web apps for a living? For me it's more of a sideline... in this case, a volunteer sideline, so I'm not getting paid for it. If I was billing by the hour, or if the site wasn't going live today, it would've been a lot less annoying!

Lets just say that I'm well aware of debian based distros highly annoying habit of saying "F*** YOU FHS!!!".

I think the production server is running some RHEL derivative. (Given this, we should've probably considered using CentOS for the test server instead of Ubuntu, but the Ubuntu server was already set up.)

No idea what the original developers of this train wreck used, but I can pretty much guarantee it was something that puts the Apache binaries in /usr/local/apache/bin!

Oh man, good luck moving that thing. Check your dependencies. RHEL doesn't have the number of packages that Ubuntu or Debian does, so watch out for that. pkgs.org is a good place to see where the modules are available.

Hmm... After a couple of searches, I think it might be Solaris. The link below shows one of the install locations to be /usr/local/apache/bin.

The move actually went pretty smoothly. The hard-coded paths were apparently a misguided attempt at implementing a non-essential feature that was broken on multiple levels so we basically just ripped it out, and all other required packages were already present.

The years just pass like trains. I wave, but they don't slow down.-- Steven Wilson