 |
08-29-2002, 07:58 AM
|
php offline?
|
Posts: 1,736
Name: Josh
Location: Miami, FL
|
I always design my webpages offline using Html-Kit, then I preview it, make any changes, and test it in resolutions.
Thats using HTML and Javascript. Now I just learned PHP and I want to test out my abilities, and I would prefer to do this all offline because like that I dont have to be blocking my phone line (56k)
I tried to make some PHP scripts using HTML-kit and I saved as PHP file. But its not displaying, im guessing its the same reason the code doesnt display on the free hosting servers. Because they dont have this module downloaded.
Does anyone know how to get PHP offline? Is there any module to download? If so, where can I get it at?
|
|
|
|
08-29-2002, 08:13 AM
|
|
Posts: 258
|
You have to set up your computer as a 'server' ... PHP is a module for whatever webserver software you are running.
http://www.webmasterstop.com/tutoria...allation.shtml has it all detailed out .. hehe ... or you can get something like 'easyPHP' or 'PHP Triad' ... which are installer packages of apache, PHP, and MySQL in one.
You will learn a lot more if you try to install them separately though. 
|
|
|
|
08-29-2002, 03:20 PM
|
|
Posts: 1,314
Location: Glasgow, UK
|
I'd strongly recommend installing Apache/PHP/MySQL locally if you want to test out scripts offline. I used to do this a lot when I had modem access, and even do it sometimes now to save the process of uploading all my changes.
IIRC MySQL is a bit of a memory hog on Windows, though, so I wouldn't reccommend having it running all the time.
|
|
|
|
08-29-2002, 03:41 PM
|
|
Posts: 1,736
Name: Josh
Location: Miami, FL
|
its ok, as long as it doesnt hog 512 RAM then I am cool with it.
thanks a lot AhmedF and david for you tips.
thanks for the link.
|
|
|
|
08-29-2002, 03:58 PM
|
|
Posts: 258
|
In case you got confused, when I said 'server' ... I meant that only your computer would think it is a server ... you would still BE offline
|
|
|
|
08-29-2002, 05:00 PM
|
|
Posts: 3,111
Location: Toronto, Ontario
|
I would get EasyPHP. It has an easy setup and all you have to do it put all your PHP files into the 'www' folder and run them by going 'http://localhost/filename.php'

|
|
|
|
08-29-2002, 08:18 PM
|
|
Posts: 1,736
Name: Josh
Location: Miami, FL
|
yea dont worry I got it already.
thanks Ahmed. I did understand the 'server' thing. LOL I asked for PHP offline anyways. well thats what teh subject says.
I set up my computer as a server and so far I only need MySQL to download. Thanks a lot for your help.
|
|
|
|
08-30-2002, 06:37 AM
|
|
Posts: 258
|
No problem.
Web hosters have to know this stuff 
|
|
|
|
09-01-2002, 07:02 PM
|
|
Posts: 373
Location: Ames, IA
|
Is this similar to phpdev from firepages?
-dk
__________________
Did I help you? If so, be nice and throw me some TP
|
|
|
|
09-01-2002, 08:02 PM
|
|
Posts: 1,736
Name: Josh
Location: Miami, FL
|
i dunno, all i know is that it works and it works great!
i even made the little toolbar thingy! 
|
|
|
|
09-02-2002, 12:33 PM
|
|
Posts: 373
Location: Ames, IA
|
Oh yes the infamous 'little toolbar thingy'
-dk
__________________
Did I help you? If so, be nice and throw me some TP
|
|
|
|
09-02-2002, 05:39 PM
|
|
Posts: 1,736
Name: Josh
Location: Miami, FL
|
lol you would know what it is if you took ahmed's tutorial, it tells you to make a toolbar on your start menu for easy access and i actually did even though i hate my start button being big.
|
|
|
|
09-08-2002, 05:25 AM
|
|
Posts: 24
|
Hi,
What server would you recommend for ASP that would run under Windows XP?
|
|
|
|
09-08-2002, 10:20 AM
|
|
Posts: 1,314
Location: Glasgow, UK
|
I think that Windows XP has either Microsoft IIS or Personal Web Server already installed. If I remember right, both of these will support ASP (certainly IIS does).
|
|
|
|
09-10-2002, 11:54 AM
|
|
Posts: 373
Location: Ames, IA
|
XP does not have PWS. XP Pro has IIS and therefore you could look here if you have that. If not I would suggest trying to find an old version of vWebServer.
-dk
__________________
Did I help you? If so, be nice and throw me some TP
|
|
|
|
09-10-2002, 04:45 PM
|
|
Posts: 1,736
Name: Josh
Location: Miami, FL
|
hmm ASP offline is the next thing I might have to install, but that will be later on.
Im running on XP myself and the PHP installation worked successfully
|
|
|
|
09-12-2002, 06:53 PM
|
|
Posts: 250
Location: Lancashire, UK
|
I use Win XP Pro for my pages, certainly the best way of testing your site locally as it will best match most of the Windows hosting accounts that offer ASP (and if it doesn't, it is pretty easy to set up). I might do a few Windows back end tutorials if I can find the time and motivation.
If you are setting up a server, I would recommend that you try to replicate your server environment as closely as possible to minimise the types of problems. If your host uses Apache, then install Apache, if its a Windows host, then use PWS or IIS. I've heard that it is possible to run the cut down version of IIS 5.1 (that ships with XP Pro) if you can get hold of the files needed and are prepared to do a few registry tweaks - not actually seen exactly how this can be done but...
|
|
|
|
09-13-2002, 05:51 PM
|
|
Posts: 373
Location: Ames, IA
|
If anyone finds info on that please email me!
-dk
__________________
Did I help you? If so, be nice and throw me some TP
|
|
|
|
|
« Reply to php offline?
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|