| 
	
 | 
 Posted by Jim Carlock on 07/11/49 11:36 
"Jameson" <jameson_ray@comcast.net> wrote: 
> Thanks a million for all of the help. I think my PHP installation 
> isn't set up right, because it seems like anything that I try do 
> do with images doesn't work very well. 
 
Hi Ray, 
 
If you're as curious about how things work on a Windows NT 
system as I am about how they work on a Mac, perhaps we 
could continue and see if we come up with something. 
 
For instance, are you doing all this on a MacIntosh system? I 
see your posting to the newsgroup using a MacIntosh. That's 
where my questions must start. 
 
X-HTTP-UserAgent: 
 Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) 
 AppleWebKit/416.12 (KHTML, like Gecko) Safari/416.13,gzip(gfe),gzip(gfe) 
 
Apache gets installed as a "Service" on any NT system. How do 
you start and stop a web-server on the Mac? 
 
Here we either click on Start, Run then type in services.msc, or 
we open a command prompt and type services.msc, or we open 
a command prompt and use the following commands to start and 
stop the service... 
 
  net stop Apache 
  net start Apache 
 
The services.msc provides the GUI interface and opens a window 
whereby you can right click on each listed service, then select "Stop" 
or "Start" or get into the service "Properties" to set the Autostart 
stuff. 
 
The PHP stuff loads when Apache starts. That's the only way 
it gets loaded. The executable, php.exe, isn't even in the PATH 
environment variable. So the PHP install folder holds some files 
but everything to load gets identified in the PHP.INI file. I forgot 
to mention something about the "extension_dir" line found in 
PHP.INI: 
 
  extension_dir = "C:/WINDOWS/system32/" 
 
This line positively identifies the location of the folder which 
holds the extension files. Shortcuts to .dll files do not work on 
a Windows system, so the actual .dll must reside in the folder 
specified. Also, the path must be specified using the forward 
slash, even though Windows itself uses backwards-slashes to 
denote a path to a file. 
 
So I ended up using the "net stop Apache" and "net start Apache" 
to test things. The "net start ..." and "net stop ..." commands are 
extremily useful on any Windows NT system (NT, 2000, XP, 
2003). 
 
So my next question is, do you employ a PHP.INI file on a Mac? 
 
You are trying to get this to work on a Mac, right? If you're 
unsure of how to answer any of the questions, let me know. 
I'm really ignorant when it comes to MacIntosh systems, and 
I might be able to ask some easy to answer questions if your 
willing to answer some questions. I'm certainly eager to get 
answers and explore this, even though no Mac sits in front of 
me. :-) 
 
Jim Carlock 
Post replies to the newsgroup.
 
[Back to original message] 
 |