|
-
Oct 30th, 2002, 04:28 AM
#1
Mendhak's first question too
I'm about to start learning PHP, for which I'll need
Apache Server
some db: mySQL
a PHP compiler (<--- is this correct?)
1. At present, I have PWS installed on my machine, and I work with ASP. Will there be a problem if I get Apache? If so, what should I do about it?
2. Do I need a PHP compiler, or will Apache do the compiling for me?
3. Are there any PHP editors out there? Like there is Visual InterDev for ASP.
Thanks.
-
Oct 30th, 2002, 06:44 AM
#2
Frenzied Member
If you don't want to set up a server just for testing pages you can use HTML-Kit to parse your pages, as long as you have the php exe on your PC somewhere. There's an option in the, erm options, that lets you specify the path of it. Not sure if it copes with DBs or all the PHP stuff, but it does what I need it too.
-
Oct 30th, 2002, 06:58 AM
#3
Stuck in the 80s
Re: Mendhak's first question too
Originally posted by mendhak
1. At present, I have PWS installed on my machine, and I work with ASP. Will there be a problem if I get Apache? If so, what should I do about it?
2. Do I need a PHP compiler, or will Apache do the compiling for me?
3. Are there any PHP editors out there? Like there is Visual InterDev for ASP.
2. You'll need to download PHP (unless you do what Rick was talking about) from www.php.net
3. There's oodles of them and many threads about them here. I use Notepad and sometimes Edit+.
-
Oct 30th, 2002, 11:43 PM
#4
Thanks for the replies.
I'm leaning towards the idea of making this a PHP server. So, if I install Apache on this PWS Server, will it cause problems?
-
Oct 31st, 2002, 12:28 AM
#5
Where do I get the "php.exe" Rick Bull is referring to?
-
Oct 31st, 2002, 06:17 AM
#6
Frenzied Member
http://www.php.net/downloads.php I think. I think I just unzipped the file into a folder in Program Files, and referenced it in HTML-Kit and it all works.
-
Oct 31st, 2002, 09:59 AM
#7
Lively Member
I've been looking at moving from ASP to PHP myself. From everything I've read, Apache and PWS can enhabit the same PC, but they canNOT both run simultaneously. I haven't tested this, but it seems to be the way everything reads.
-
Oct 31st, 2002, 10:24 AM
#8
I've made the leap from ASP to PHP..... currently I run a Win2K IIS machine w/ PHP on top of it..... works great! Haven't had the change to get Apache yet and install it, I'll proly do that on my next machine. Technitaes is right, only one web server can be running at a time -- there would be conflict in which server would handle the request. I think it should be as simple as turning off PWS and starting the Apache process.
-
Oct 31st, 2002, 01:54 PM
#9
Techgnome, thanks for that info. I see it'll be a little manual, but what the hey.
Somebody tell me which one I want from http://php.net/downloads.php
I'm too stupid to figure out what I want
Complete Source Code
PHP 4.2.3 (tar.bz2) [2,694Kb] - 6 September 2002
PHP 4.2.3 (tar.gz) [3,334Kb] - 6 September 2002
Windows Binaries (***??)
All Windows binaries can be used on Windows 95/98/Me and on Windows NT/2000/XP.
PHP 4.2.3 zip package [5,417Kb] - 6 September 2002
(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)
PHP 4.2.3 installer [921Kb] - 6 September 2002
(CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
-
Oct 31st, 2002, 02:49 PM
#10
Lively Member
I would suggest...
PHP 4.2.3 installer [921Kb] - 6 September 2002
(CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
...for starters. But considering I'm a "newbie" myself...
-
Oct 31st, 2002, 03:19 PM
#11
Originally posted by mendhak
Techgnome, thanks for that info. I see it'll be a little manual, but what the hey.
Somebody tell me which one I want from http://php.net/downloads.php
I'm too stupid to figure out what I want
What you want is the installer for the Windows binaries (as opposed to just the source code - the binaries is the compiled DLLs and EXE)
PHP 4.2.3 installer [921Kb] <- This is the one.
-
Oct 31st, 2002, 03:21 PM
#12
One thing I did find, even though it configures IIS and PWS, it doesn't modify the default domunet listing (index.htm, index.html, default.htm, index.html, etc).... I had to add index.php by hand.
-
Oct 31st, 2002, 04:35 PM
#13
Good Ol' Platypus
Guys... I have IIS and Apache on my computer. I have Apache at port 81 and IIS at port 80. They run like a dream
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Oct 31st, 2002, 04:40 PM
#14
Frenzied Member
don't get the installer, you want the zipped package.
PHP 4.2.3 zip package [5,417Kb] - 6 September 2002
(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)
also I might suggest getting apache 1.3 as apposed to apache2.0
php has problems with running on apache2.0
the reason you don't want the installer is that you can't control the ini file. there is some things you have to do with the zip but it isn't that hard. also you want the external extension as the installer doesn't come with them.
-
Oct 31st, 2002, 04:43 PM
#15
Good Ol' Platypus
After you use the installer, just stop the server and edit the INI file.. whats hard about that?
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Oct 31st, 2002, 04:45 PM
#16
Frenzied Member
true but you don't get the extensions with it so it is a vanilla version. I will have to find that site that listed all the bad things that the installer did.
-
Oct 31st, 2002, 04:49 PM
#17
I ran the installer at home (non production) for what I needed (server + MySQL) it works just fine..... now if you want the additional mods, then yes, the zip is what you want...... but.... for simple PHP (esp learning PHP) I think the plain jane is just fine.
-
Oct 31st, 2002, 04:51 PM
#18
Frenzied Member
ya but the learning never stops to a vanilla version. what about GD Library or Imap or pdf making. you are missing out on all the fun stuff
-
Oct 31st, 2002, 05:06 PM
#19
That's fine and dandy IF your web host also supports those functions. At the moment I have no use for it. I nthe future, when I do, I'll add in the mod, recompile and load it up.... no biggie.
It's just like learning w/ any other language.... you have to start somewhere.... the more you learn, the more you branch out and pick up new tools/components/objects/extensions.
-
Oct 31st, 2002, 05:26 PM
#20
Frenzied Member
you are going to compile php on a windows machine when you don't have to? more power to ya 
see if you start with the full package the you don't have to worry about it later.
-
Nov 1st, 2002, 02:32 AM
#21
-
Nov 1st, 2002, 06:37 AM
#22
Stuck in the 80s
Originally posted by phpman
also I might suggest getting apache 1.3 as apposed to apache2.0
php has problems with running on apache2.0
I've never had any problems.
-
Nov 2nd, 2002, 02:53 AM
#23
Frenzied Member
I never could get it installed and according to php that 4.2.3 on Apache2 is (experimental).
I had a lot of errors and Apache wouldn't even start. if you run it as a module only (Isapi), the cgi version is ok as I have it running now.
still 4.3 is more geared to apache2.0
plus found another bug in 4.2.3, it strips the first 4 characters form strings. very well known bug and it messes with phpmyadmin.
-
Nov 2nd, 2002, 11:27 AM
#24
Uhm... I am sufficiently confused. 
I'll go for the ZIP version (9MB)... no the installer... uhm... I'll flip a coin... 
By Sastraxi
Guys... I have IIS and Apache on my computer. I have Apache at port 81 and IIS at port 80. They run like a dream
Can you tell me the procedure for doing this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|