How to run scripts on windows vista offline?

Started on the old forum in March 2010 · view the original in the archive · old links redirect here

21 replies · 1,177 views · started 16 years ago · 1 min read

13 participants
ksg91 Developer · 162 posts #2

first you need to install apache, php and mysql. instead of installing them seperately, i advise you to install wamp server.. download it from Install PHP 5 Apache MySQL on Windows : WampServer Then start the server, open bowser and open http://localhost/ you will see page of wampserver.. now put those scripts into www folder of wamp. you can access if from localhost page, it will be shown under Projects head or just directly access http://localhost/FOLDER_NAME I hope you know installing scripts.

Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

kevk3v Senior · 332 posts #4

ok i will try both and let you know which one is better 🙂

Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

ori Lead · 512 posts #5

better off using vhosts option in apache then u can use domains offline there fake but least u get the proper perspective all u need to do is setup the vhosts in vhosts.conf and add sitename.com 127.0.0.1 in windows hosts file

leonine Developer · 130 posts #7

Wamp is reliable..

This is my new community for wap coding. Come and join and experience real wap coding http://leonine.6te.net

djlee Developer · 224 posts #8

there all the bloomin same for god sake!

they all have a preconfigured server setup with a bespoke interface, find one you like and dont care what people say about it, it really is that simple.

mobidev Senior · 312 posts #10

i have tried wampserver but nothing seems to work like the actual online sever and hpw would i go about setting permisions to certain files on scripts would wampserver work if i instal netftp on my laptop and work with that aswell???? coz im getting tireg of wasting data to load a script to my server just to see its crap????

mobidev Senior · 312 posts #12

I downloaded xampp step 1 tells me to start "setup_xampp.bat" file however if I do run the file I just get a black dos like screen saying Sorry, but nothing to do! Press any key to continue...

Pressing enter and everything dissapears like program closed down.... Can't believe its like freaking rocket science to install all this server crap I every1 I try seems to not function like a real server or it does but u have no controll of your files like how to ad permissions to files or folders I even downloaded net2ftp and put it inside Wampserver but guess what I can't log in using default values as I need to have certain file cmod to 775 in net2ftp for it to actually work so I'm just royally f&n screwd lol

Ponick Developer · 216 posts #13

0ops! i think in a localhost you don't need to change files/folder permission. Btw install or extract xampp in first root of a drive.it may work!

/* I don't know everything hehe */

Find me on facebook

metulj Super moderator Principal · 1,726 posts #14

mobidev wrote: I downloaded xampp step 1 tells me to start "setup_xampp.bat" file however if I do run the file I just get a black dos like screen saying Sorry, but nothing to do! Press any key to continue...

Pressing enter and everything dissapears like program closed down.... Can't believe its like freaking rocket science to install all this server crap I every1 I try seems to not function like a real server or it does but u have no controll of your files like how to ad permissions to files or folders I even downloaded net2ftp and put it inside Wampserver but guess what I can't log in using default values as I need to have certain file cmod to 775 in net2ftp for it to actually work so I'm just royally f&n screwd lol

hmm strange... whatever i've tried on win xp pro and/or on win 7 enterprise.. worked just fine.. ok few modification is always needed External image (may be gone) tested:

  1. XAMPP
  2. WampServer
  3. Appserv
  4. sepparately installed apache+mysql+php+phpmyadmin

all worked fine... so im thinking that you got damaged OS maybe ?

anyway... you still got options... you can install VMware Vorkstation.. and virual machine/s on it, like Ubuntu server, CentOS... a bit more work, but once all installed, runs really smooth 🙂

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

mobidev Senior · 312 posts #15

Thanks I'll look into it. I just want to be able to see a script working before I upload it to my host. Will save so much of my data costs.

mobidev Senior · 312 posts #16

Have spent the whole day installing and deleting xampp all their pre-installed scripting works but as soon as I open drop a script into the htdoc folder. (That's suppose to be the folder where I must put the scripts in) and go to the the full path of the script it gives me the same view as I would get without a server but html files works just fine but then I can view ordinary html files without running a server.... I searches 15 other tutuorial sites on xampp and nowhere do they make mention of running .php extension in xampp they only make mention of .html files.....

Dipan08rock Junior · 20 posts #17

Hi mate just do it simple.. download the installer version of xampp from apache friends site- Windows (apache friends - xampp for windows) just install it now and at last proceed the dos tasks default in act. ok now u got it installed .. now run it from ur desktop and start 'Apache service' and 'Mysql Service(if needed)' your system may ask for granting acess for starting them 1st time just allow them (this mainly occurs when using Win7 or Vista) now the services are started fine i think.. now goto C:/xampp/htdocs/ folder and delete everything there and put ur script there ( 1st put a normal script file without database) now point ur browser at http://localhost then you may see the script run.ok i think thats enough. even u face problem try to see the faqs for vista problems here- apache friends - xampp for windows faq

mobidev Senior · 312 posts #18

Hey thanx for all the help but nothing will work. There is an error in the latest vesrsion (the 1 I was trying to use) v1.7.4 is not working my cousin and his friends all are using v1.7.3 and all working so I asked them 4 help aswell they downloaded v1.7.4 and they get the same problems as I do on every operating sytem on about 10 different rigs.. So I'm going to use v1.7.3 instead just need to download it... Also v1.7.4 says that all services are running but if u look closely in the UI box where it gives the status it tells u that apache didn't initiate but its showing its running and that's the problem the latest version is not working.... We have sent XAMPP screen grabs as proof so that they can fix it.... 1s again thx for all ur help.

metulj Super moderator Principal · 1,726 posts #19

mobidev wrote: Hey thanx for all the help but nothing will work. There is an error in the latest vesrsion (the 1 I was trying to use) v1.7.4 is not working my cousin and his friends all are using v1.7.3 and all working so I asked them 4 help aswell they downloaded v1.7.4 and they get the same problems as I do on every operating sytem on about 10 different rigs.. So I'm going to use v1.7.3 instead just need to download it... Also v1.7.4 says that all services are running but if u look closely in the UI box where it gives the status it tells u that apache didn't initiate but its showing its running and that's the problem the latest version is not working.... We have sent XAMPP screen grabs as proof so that they can fix it.... 1s again thx for all ur help.

i use XAMPP v1.7.4 since 01.05.2011 as you can see on attached screen (i just blank all other apps i got installed 😊) and i never had any problem with this version...

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

Attachments: control_panel-add_or_remove.png
mobidev Senior · 312 posts #20

Well I don't know then coz we are 4 ppl on 11 pc's getting same problem with v1.7.4 so I will rather try out v1.7.3

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close