Oprano Front Page


Go Back   Oprano Adult Industry Forums > The Business Of Porn - Closed For Posting > Legacy Archived Main Board

Notices

Legacy Archived Main Board Business chat and general industry chat. All participation is welcome. Dont post your fucking spam here.





Check Out YnotMail

The Original Oprano Flat Board (Thanks To Sarettah!)---
Oprano Swag Shop
"History Of Porn Timeline
Reply
 
Thread Tools Display Modes
Old 07-06-2005   #1
Trev
Cunty
Want to see your own Advertising Here!
 
Trev's Avatar
 
Join Date: Jan 2003
Posts: 10,150
Default

What do I need to be able to run and test PHP scripts on my XP machine?

I'm getting sick having to work on them online all the time...
__________________
Sucks to be you.
Trev is offline   Reply With Quote
Old 07-06-2005   #2
Jeremy
Members
 
Join Date: Apr 2005
Posts: 157
Default

Install php locally.

Grab the Windows version from php.net. Have a surf for tips on editing the config files and where to place the dll's. It can be a bit of a bugger but it's not insurmountable.

If you run it from the command line, add php to the Environment Variables on the Advanced Tab in Control Panel / System - then you can just use the line "php script.php" at the c prompt - you can use "> output.txt" to pipe the script output to a particular file etc.

If you want it to return output to a browser, you'll need to install apache and add php to the apache config and maybe point a particular port to you your php testbed folder. (eg so you run it by typing http://localhost:PORT/script.php into the address bar.

You can also with some fiddle-faddling around get it all to run as an exact copy of that on your web server, so if it works, you just upload it with no amendments.
Jeremy is offline   Reply With Quote
Old 07-06-2005   #3
gonzo
Fat Fucking Nobody
Want to see your own Advertising Here!
 
gonzo's Avatar
 
Join Date: Apr 2003
Location: Atlanta,Ga.
Posts: 17,795
Blog Entries: 11
Default

Good luck with it Trev. You can install and test em all you want locally. If your host is Unix based...they may or maynot work as installed at home.

Now if your installing em to see what the hell they do...thats a different story.

I almost always order a script with installation today. However the folks at Naked Hosting where I havea couple of boxes are very good about installing anything and getting it to work free of charge!
__________________
We are putting the bastards of this world on notice; greed and corruption will always be met with "a voice made of ink and rage."
"Never try and be like anyone else" - Hunter S. Thompson
"The truth is the truth no matter how you try and package a lie" - Shellee Hale
gonzo is offline   Reply With Quote
Old 07-06-2005   #4
Trev
Cunty
Want to see your own Advertising Here!
 
Trev's Avatar
 
Join Date: Jan 2003
Posts: 10,150
Default

Thanks guys,


It seems it's less of a pain in the ass to just tinker with them online, although setting up my box as a web server is quite tempting
__________________
Sucks to be you.
Trev is offline   Reply With Quote
Old 07-06-2005   #5
Jeremy
Members
 
Join Date: Apr 2005
Posts: 157
Default

I know what you mean about it being a PITA to set up, but once you do it, it's well worth it :-))

CTRL+S, ALT+TAB, F5 is a lot quicker than save, upload, reload etc.

The good thing with installing apache on your box is that you can set it up to really be a proper testbed for scripts / sites etc before publishing them.
Jeremy is offline   Reply With Quote
Old 07-06-2005   #6
rich06
Members
I'm new!
 
Join Date: Jan 2005
Location: French Riviera
Posts: 2
Default

you could try XAMPP ... it is an all in one package of Apache/MySQL/PHP/PhpMyAdmin + other stuff so you can install all of them using a single installshield/windows installer ...

disclaimer: i've not used it myself but I've heard it's pretty good...

you can get it here -> http://www.apachefriends.org/en/xampp-windows.html

hth
rich
__________________
ICQ# 6820996
rich06 is offline   Reply With Quote
Old 07-06-2005   #7
Trev
Cunty
Want to see your own Advertising Here!
 
Trev's Avatar
 
Join Date: Jan 2003
Posts: 10,150
Default

Quote:
Originally posted by Jeremy@Jul 6 2005, 04:30 PM
I know what you mean about it being a PITA to set up, but once you do it, it's well worth it :-))

CTRL+S, ALT+TAB, F5 is a lot quicker than save, upload, reload etc.

The good thing with installing apache on your box is that you can set it up to really be a proper testbed for scripts / sites etc before publishing them.
Good point, it would save hours in the long run
__________________
Sucks to be you.
Trev is offline   Reply With Quote
Old 07-06-2005   #8
Trev
Cunty
Want to see your own Advertising Here!
 
Trev's Avatar
 
Join Date: Jan 2003
Posts: 10,150
Default

Quote:
Originally posted by rich06@Jul 6 2005, 05:54 PM
you could try XAMPP ... it is an all in one package of Apache/MySQL/PHP/PhpMyAdmin + other stuff so you can install all of them using a single installshield/windows installer ...

disclaimer: i've not used it myself but I've heard it's pretty good...

you can get it here -> http://www.apachefriends.org/en/xampp-windows.html

hth
rich
Thanks for the link rich and welcome to Oprano
__________________
Sucks to be you.
Trev is offline   Reply With Quote
Reply

Bookmarks


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -4. The time now is 05:45 PM..


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright Evil Empire Inc. 2006-2022