Rob,

> I'm trying to install php on windows xp.  I have got Apache
> successfully installed already.
> 
> I keep running into this error when running the windows installer:
> 
> Error trying to access the local webservice: GetObject Failed.  You
> will need to manually configure IIS via the management console.
Something mixed up in the installation. If you use Apache on Windows (like I
already installed on dozens of machines, mainly W2K but also two W XP), do
NOT use IIS. Actually, also if you do not install Apache on Windows, do NOT
use IIS...

> On a windows platform IIS is the server that handles the protocols and
ports
> that Apache connects to so that it can serve web pages. IIS may not be
> installed as a running service on XP?
Apache on windows does NOT depend on IIS. I routinely install Windows
without any of the IIS parts and then install Apache. Apache runs fine as a
service under windows and installing IIS next to it will only create
troubles. And what good is IIS anyway? Apache does what IIS does but better
and without the security headache IIS causes. Your computer really is better
off without it.

The way to go:
1. Have a clean windows installation on your machine without IIS.
2. Download and install the latest Apache release for Windows and make sure
it works.
3. Download the latest PHP release of your liking (4 or 5, depending on how
much OOP support you want and on what the provider of your customer is
running), and install it. This may be a bit of a pain regarding the .dll
file locations, carefully read the instructions as having the right dlls but
having them in the wrong (sub) directories will cause these kinds of errors.
4. Now download any database of your choise (using MySQL and PostgreSQL),
and install them
5. You have an up and running WAMP or WAPP server. Every next time you do it
it will get easier.

There are people advising to install the pre-made packages of
Apache/PHP/MySQL, and they may work nicely, but if you want to configure
your machine differently (like install the server on a separate and well
protected secnd HD or running as another user, with limited access rights)
these may be difficult to configure while installing everything separately
is very instructive and yu will know better how to update or tweek the
system. So if you have a bit of time to spend, I would prefer installing
from separate parts and learn how it all fits together, it will save time in
the future.

> I do most of the PHP on a live server and use the local machine to develop
> the Javascript parts of the same scripts.
Hmmm. I usually develop on my private machine and only copy to the customers
machine when it is done. Keeping some issues (like case-sensitivity of
filenames) in mind it is perfectly well possible to develop a site that runs
on both LAMP and WAMP machines, and thus can be copied easily.

Marc

___________________________________
Webmail TOP Internet www.top.com.br


Reply via email to