This is topic A pHp question .... answered! in forum Books, Films, Food and Culture at Hatrack River Forum.


To visit this topic, use this URL:
http://www.hatrack.com/ubb/main/ultimatebb.php?ubb=get_topic;f=2;t=025546

Posted by kaioshin00 (Member # 3740) on :
 
Does anyone know how I can install pHp on Windows XP - I don't have a server or anything, I'm just starting to learn it, and I want to be able to see what I've done.

[ June 28, 2004, 10:24 PM: Message edited by: kaioshin00 ]
 
Posted by HollowEarth (Member # 2586) on :
 
absolutely. http://www.php.net/downloads.php Look under windows binaries. I've got it installed right now, and it works fine.
 
Posted by kaioshin00 (Member # 3740) on :
 
I downloaded

# PHP 4.3.7 zip package [6,895Kb] - 02 June 2004
(CGI binary plus server API versions for Apache, Apache2 (experimental), ISAPI, NSAPI, Servlet and Pi3Web. MySQL support built-in, many extensions included, packaged as zip)
md5: 3362079d4d1aaaf0c146b0c376ceec4b

Do I just unzip this to say, C:\PHP

and then save all my php files to the same directory?
 
Posted by HollowEarth (Member # 2586) on :
 
Unzip it somewhere or just open it and find the install.txt or readme.txt or something like that. Do what it says. What exactly are you trying to do? If its web development you'll probably need apache or IIS too. As well as a database of some sort.

I think it can be run as a scripting language too, but I've never tried that. Look at the text files or html files that it comes with.
 
Posted by BYuCnslr (Member # 1857) on :
 
IM me at BernardLUE42, i'll walk you through it.
Satyagraha
 
Posted by TomDavidson (Member # 124) on :
 
I use that exact program, myself, on a number of production servers; it works just fine.
 
Posted by kaioshin00 (Member # 3740) on :
 
Satyagraha
[The Wave]
is
[The Wave]
the
[The Wave]
best!
 
Posted by BYuCnslr (Member # 1857) on :
 
tom: just wondering, do you use apache2 or 1.3.x?

I'm glad I could be of help. :-)
Satyagraha

[ June 28, 2004, 10:46 PM: Message edited by: BYuCnslr ]
 
Posted by fugu13 (Member # 2859) on :
 
*coughusepythonitsamuchmorewellorganizedlanguagecough*

[Wink]
 
Posted by Dagonee (Member # 5818) on :
 
Everyone knows the best applications are written in Clipper using the CDX data driver and an extended memory manager, dude.

Dagonee
 
Posted by TomDavidson (Member # 124) on :
 
"I thought you were computer people!"

It's worth pointing out that not all computer people have the luxury of doing what they think is best.

In the real world, most network administration is a compromise between the demands of management and the dreams of script kiddies.
 
Posted by Dagonee (Member # 5818) on :
 
You forgot about the unceasing crying of the users...
 
Posted by TomDavidson (Member # 124) on :
 
In my current position, I have the relative luxury of only answering to incompetent management. We have a help desk to deal with users.

In my previous position, though, I sympathized. [Smile]
 
Posted by fugu13 (Member # 2859) on :
 
Regardless of which you think is better (and I'm of the opinion that python knocks php's socks off), all I said was that python was better organized, which it pretty much irrefutably is. PHP doesn't know the meaning of the word organization. It doesn't even use namespaces, much less good a good package system like python has!
 
Posted by fugu13 (Member # 2859) on :
 
Oh, and I definitely agree that one regularly has to use inferior choices due to necessity.
 
Posted by Dagonee (Member # 5818) on :
 
Oh, yes. That's usually the first obstacle a developer faces.

Dagonee
 
Posted by saxon75 (Member # 4589) on :
 
fugu, you've mentioned to me several times how PHP doesn't use namespaces, but I don't really understand what you mean. That is, function and class variables in PHP are limited in scope; if I make an object bam of class right, which has two member functions on and off, the variables in $bam->on() can have the same names as the variables in $bam->off() (or, to use a different notation, the variables in right::on() and right::off() can have the same names). Isn't that an example of namespaces? Or is my understanding of namespaces just wrong?
 
Posted by HollowEarth (Member # 2586) on :
 
I suspect he means more than just having scoped variables.

quote:
namespace - The place where a variable is stored in a Python program's memory. Namespaces are implemented as a dictionary. There are the local, global and builtins namespaces and the nested namespaces in objects (in methods). Namespaces support modularity by preventing naming conflicts. For instance, __builtins__.open() and os.open() are distinguished by their namespaces. Namespaces also aid readability and maintainabilty by making it clear which modules implement a function. For instance, writing random.seed() and itertools.izip() will make it clear that those functions are implemented by the random and itertools modules respectively.
(from http://manatee.mojam.com/python-glossary))

Same idea as a c++ namespace it looks like. A way to have more fully qualified names, letting you have 10 billion 'copy' functions that all take the same parameters.

edit: link no workie.

[ June 29, 2004, 10:18 PM: Message edited by: HollowEarth ]
 
Posted by fugu13 (Member # 2859) on :
 
yes, namespace does not equal scope. You can do a hack to get partial "namespaces" working by making everything you do class functions of various encompassing classes, but that's both just that (a hack which can cause some problems in extensibility and such) and not anywhere near the extensive package based qualified name system of python, which is far more than just namespace support.
 


Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2