JK Web Studio

Specializing in efficient and user friendly web design solutions

info@jkwebstudio.com

Archive for the ‘web design’ Category

more apache setup

Saturday, July 28th, 2007

As a follow-up to my previous post about setting up apache, php and mysql on windows vista, here are some useful links:

Setting Up Multiple Apache Local Web Sites On Your Computer

Changing your hosts file in Vista

PHP request URI

Friday, July 27th, 2007
		$_SERVER['REQUEST_URI'];

Passing a function call as a JSON parameter

Friday, July 27th, 2007
	<script language="javascript">

		function f(o){
			if (o.f){
				o.f;
			}
		}

		function f2(a, b){
			alert(a+","+b);
		}

		var args = {a:1, b:2, c:3, f:f2(1,2)};

		f(args);

	</script>

Installing Apache, MySQL and PHP on Windows Vista

Tuesday, July 17th, 2007

When installing Apache, MySQL and PHP on Windows Vista, remember to disable User Account Control:

  1. Run MSCONFIG from the run/search menu.
  2. Select the Tools tab.
  3. Select Disable UAC and press Launch
  4. Restart computer

Instead of installing Apache, MySQL and PHP separately, I ended up installing the WAMP Server, which went very smoothly. You may have to restart your computer one more time before PHP sees your MySQL server.