This is a site for discussing roleplaying games. Have fun doing so, but there is one major rule: do not discuss political issues that aren't directly and uniquely related to the subject of the thread and about gaming. While this site is dedicated to free speech, the following will not be tolerated: devolving a thread into unrelated political discussion, sockpuppeting (using multiple and/or bogus accounts), disrupting topics without contributing to them, and posting images that could get someone fired in the workplace (an external link is OK, but clearly mark it as Not Safe For Work, or NSFW). If you receive a warning, please take it seriously and either move on to another topic or steer the discussion back to its original RPG-related theme.
NOTICE: Some online security services are reporting that information for a limited number of users from this site is for sale on the "dark web." As of right now, there is no direct evidence of this, but change your password just to be safe.

Author Topic: A LAMP question: developing in Apache2 for an Apache1 environment?  (Read 971 times)

Enkhidu

  • Full Member
  • ***
  • E
  • Posts: 121
I'm a bit of a LAMP n00b, and was wondering if anyone could shed some light on a subject for me.

I'd like to be able to do some development on my Ubuntu box, but at heart I'm a bit lazy and would like to use the Apache2 package provided in the Breezy build, and the eventual resting place for the code will be Apache 1.3.33.

I'm not sure how this would affect behavior of my code - has anyone tried this, and if so with what success/failure?
 

Guest (Deleted)

  • Newbie
  • *
  • G
  • Posts: 0
A LAMP question: developing in Apache2 for an Apache1 environment?
« Reply #1 on: March 05, 2006, 06:51:31 PM »
I will... concentrate... hard... to give the right answer....

The script processing engine has more effect on whether it will run than the web server. - For example: the most current version of PHP in LAMPP is 5.x series, so if you backport it to a server running PHP 4.x (likely if it's Apache 1) you could very well run into problems - especially if you are using OOP methods since PHP 4 and 5 handle them differently.

Enkhidu

  • Full Member
  • ***
  • E
  • Posts: 121
A LAMP question: developing in Apache2 for an Apache1 environment?
« Reply #2 on: March 05, 2006, 07:58:22 PM »
Thanks, Pookie. I'll be sure to do the opposite of everything you just said.

Seriously, I'm actually taking a third route and trying to do some of this on a WAMP set. I can't see it being a problem beyond maybe a handful of changes to a few .php files.

Thanks!
 

Guest (Deleted)

  • Newbie
  • *
  • G
  • Posts: 0
A LAMP question: developing in Apache2 for an Apache1 environment?
« Reply #3 on: March 05, 2006, 11:07:20 PM »
Just remember this - 90% of PHP 4 script runs on PHP 5. It's that last 10% that will have you slamming your head violently into the keyboard.