Does anyone know if there's any way I can test PHP (or any other server-based) scripts on my local computer, without having to upload the pages to a server? The reasons I want to do this are:
1) Dial-up connection and slow modem
2) Don't have access to the school's server from home anyway
PHP on non-servers?
Moderator: Thanas
- Dooey Jo
- Sith Devotee
- Posts: 3127
- Joined: 2002-08-09 01:09pm
- Location: The land beyond the forest; Sweden.
- Contact:
PHP on non-servers?
"Nippon ichi, bitches! Boing-boing."
Mai smote the demonic fires of heck...
Faker Ninjas invented ninjitsu
Mai smote the demonic fires of heck...
Faker Ninjas invented ninjitsu
- Darth Wong
- Sith Lord
- Posts: 70028
- Joined: 2002-07-03 12:25am
- Location: Toronto, Canada
- Contact:
A server is just a PC that happens to have the right software on it. But the best way to play with PHP and MySQL is to install a decent Linux distro (dual-boot if you want to keep using Windows for most things). It's the closest approximation of the webserver environment you're going to find on most hosts that support MySQL and PHP.
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC
"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness
"Viagra commercials appear to save lives" - tharkûn on US health care.
http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
- Slartibartfast
- Emperor's Hand
- Posts: 6730
- Joined: 2002-09-10 05:35pm
- Location: Where The Sea Meets The Sky
- Contact:
One thing that you can't quite test right under windows is that Apache or PHP supports a special config file for each folder, the name begins with a period (in L*unix* it means it's hidden, i think) but in windows you have to name it something else and edit the main config. Other than that, it's easy to install the apache+php+mysql combo and run say a CMS in it.
- Dooey Jo
- Sith Devotee
- Posts: 3127
- Joined: 2002-08-09 01:09pm
- Location: The land beyond the forest; Sweden.
- Contact:
Yeah, I've been planning to install Linux sometime soon anyway, so I might just do that. Most Linux distributions comes with PHP and MySQL, so I won't have to download anything, correct?Darth Wong wrote:A server is just a PC that happens to have the right software on it. But the best way to play with PHP and MySQL is to install a decent Linux distro (dual-boot if you want to keep using Windows for most things). It's the closest approximation of the webserver environment you're going to find on most hosts that support MySQL and PHP.
Seems like IIS doesn't work on XP Home. Apache doesn't seem to be too huge so I'll DL it and hope for the bestLord MJ wrote:Assuming you're on windows.
You'll need to download and install apache (or activate IIS).
You'll need to download and install PHP, and then follow the documentation to connect it to your apache (or IIS).
"Nippon ichi, bitches! Boing-boing."
Mai smote the demonic fires of heck...
Faker Ninjas invented ninjitsu
Mai smote the demonic fires of heck...
Faker Ninjas invented ninjitsu