PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 11th, 2000, 08:09 PM
Ryan Ryan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 19 Ryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The biggest question on my mind after recieveing Core PHP Programming in the mail is weather to intall PHP on to my Win98 box. Also I see that it requires a server to do so...I have Apache, Xitami, and Personal Websever locally to choose from(none installed)....which one of those should I use???

Im new to web scripting and dont know much. I know about HTML though

SO any help would be helpful

Ryan

Reply With Quote
  #2  
Old May 12th, 2000, 01:27 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Central Florida, USA
Posts: 2,306 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 6 h 42 m 51 sec
Reputation Power: 60
Well, I recently managed to get PHP3, Xitami, and MySQL running on a Win95 box. It was pretty straghtforward--but the webserver itself was excruciatingly slow. All this is much more efficient (and fun) in Linux or Unix.

I will try the same with Microsoft PWS, then with Apache for Windows, and let you know which is smoothest.

PHP is the most straightforward server-side scripting language I have seen yet, so I heartily recommend picking it up. I do all my hosting on Unix, but I have to do some IE5 website development on my Win95 laptop, so I need PHP on Windows

Reply With Quote
  #3  
Old May 12th, 2000, 09:06 AM
aarongb aarongb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Posts: 60 aarongb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Apache 1.3.12 and OmniHTTPD are both good. If you're not a networker, webadmin, use OmniHTTPD, it is shipped with PHP3, its free. If you want the server to be more customizable, then use Apache. I like apache more, it just *seems* faster.

Reply With Quote
  #4  
Old May 12th, 2000, 04:16 PM
Ryan Ryan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 19 Ryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
All I wanna do is beable to run PHP on my system ...no services or nothin...just test scupts...so do I need a sever installed??

Thanks for the speedy replies,
Ryan

Reply With Quote
  #5  
Old May 12th, 2000, 06:25 PM
wdn2000's Avatar
wdn2000 wdn2000 is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Apr 2000
Posts: 1,058 wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level)wdn2000 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 Days 20 h 56 m 43 sec
Reputation Power: 21
Yep, you still need a server. My
recommendation is Apache.

Scott

Reply With Quote
  #6  
Old May 12th, 2000, 09:31 PM
Ryan Ryan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 19 Ryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
argg...Im gonna put a bullet through my machine one of these days....
I tried to install apache but when I try to run apache.exe tha dos promt window pos up for a split second then disappears....help!
ANyone know a fix for this

Ryan

PS It does this in all my dos progs

Reply With Quote
  #7  
Old May 13th, 2000, 12:02 AM
esconsult esconsult is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 43 esconsult User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Maybe you don't have enough environment memory available. Go in explorer, right click on the PHP executable, and set the dos properties for more memory.

------------------
PHP, Perl, SQL Programming at http://www.mentalobjects.com

Reply With Quote
  #8  
Old May 13th, 2000, 04:49 AM
okhvatstas okhvatstas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 33 okhvatstas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Hi,
You do not necessarily have to own apache or some other web server. Just go to this web site: www.soysal.com/PHPEd/ and download PHPEd which is both a very good code-coloring editor and debugger (let's you test the script by pressing F5). It is quite buggy though, but I hope the author has fixed some bugs he had in the previous version.
As far as Apache and PHP on Win32, it's quite easy. If you want, I can send you two configuration scripts (actually, they are just modified versions of php3.ini - in case you have php3, and httpd.conf for Apache. There are some tutorials about this on the net, but I don't remember where I read them.
That box which appears if you run Apache for the first time - was the same with me.
One more thing - if you have Win95, you need new winsock2 library available from Microsoft.
For site generation on Win98, I use URL2File, I can also send it to you next time.
Bye to everyone,
Stas

Reply With Quote
  #9  
Old May 13th, 2000, 04:44 PM
Ryan Ryan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 19 Ryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by esconsult:
Maybe you don't have enough environment memory available. Go in explorer, right click on the PHP executable, and set the dos properties for more memory.

[/quote]


Ok...I havne't tried to install PHP yet just Apache Webserver. I tried rightclicking on my apache.exe dos file but there ware no options in the properties for memery. ASO I right click on msdos.exe and found the memory settings there is a bunch of em which one should I use?

THanks,
Ryan

Reply With Quote
  #10  
Old May 13th, 2000, 07:10 PM
Ryan Ryan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 19 Ryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
okhvatstas could you send me the configfiles maybe thats my problem...thanks

Ryan

[This message has been edited by Ryan (edited May 13, 2000).]

Reply With Quote
  #11  
Old May 14th, 2000, 04:53 AM
wouterr wouterr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 27 wouterr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
the reason apache "disappears" when starting it, is most probable the cause that it can't bind to an interface, or the servername is not set

IOW : RTFM

in a dos-box (prompt)
try to run Apache.exe -s

and you'll see what's wrong....

Reply With Quote
  #12  
Old May 14th, 2000, 09:01 AM
Ryan Ryan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 19 Ryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok...Im batting 0 today. I typed IOW : RTMF into a dos-prompt and it gave me a "Bad Command or File Name"

Am I suppose to type into the apache promt...if so I cant it dissappears as soon as it asppears.
thanks
RYan

Reply With Quote
  #13  
Old May 14th, 2000, 09:49 PM
okhvatstas okhvatstas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 33 okhvatstas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Ryan, I can't find your e-mail address anywhere, please send me a letter to stanis@sibfair.nsk.su, I'll send you the config files along with the Apache Manager prog (about 20 kb) that I use to start and close Apache.
Stas

Reply With Quote
  #14  
Old May 17th, 2000, 04:20 PM
Ryan Ryan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 19 Ryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok....Im doing it the bullet is going right through the Pentium CHip!!!

I got Apache Runnin but when I type in http://localhost or <A HREF="http://"my" TARGET=_blank>http://"my</A> ip here" it gives me a 404 error. Arrg

Stas I got your files thanks.

Any suggestions???

help,
Ryan

Reply With Quote
  #15  
Old May 17th, 2000, 05:25 PM
Dave Bryant
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Ryan:
The biggest question on my mind after recieveing Core PHP Programming in the mail is weather to intall PHP on to my Win98 box. Also I see that it requires a server to do so...I have Apache, Xitami, and Personal Websever locally to choose from(none installed)....which one of those should I use???

Im new to web scripting and dont know much. I know about HTML though URL

SO any help would be helpful URL

Ryan
[/quote]

Go with Apache, PHP4RC2, and MySQL, its all Free, and you won't regret the experience of learning to setup a total solutions from scratch. It really is stable, and With Zend's optimizer it's fast and slick. I'm very happy about having done this and can't think of why noone has released binaries for Linux distributions. Apache compiles with DSO support now, so getting it to work with PHP and MySQL is so much easier. As always, use the latest source of everything. If you're new to linux, I'd say go with Redhat, package manager will get you up and running with out much hassle.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Install or Not to install....

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap