Forum Moderators: coopster

Message Too Old, No Replies

View php pages locally before publishing

without installing a web server

         

pixel_juice

5:33 pm on Apr 20, 2003 (gmt 0)

10+ Year Member



Post subject says it all really. I don't want to run a local web server, but I need to vew PHP pages before publishing. Is there a PHP emulator or something? Or failing that, any suggestions as to a simple server I can use just for local viewing of PHP pages.

Longhaired Genius

6:01 pm on Apr 20, 2003 (gmt 0)

10+ Year Member



On Windows, HTML-Kit will preview PHP pages if you install PHP. No webserver required.

copongcopong

10:20 pm on Apr 20, 2003 (gmt 0)

10+ Year Member



wow I haven't tried that ... let me see. =)

pixel_juice

10:31 pm on Apr 20, 2003 (gmt 0)

10+ Year Member



Any chance you can expand on this Longhaired Genius?

I have HTML kit and I installed PHP, but I still can't preview PHP pages.

HTML Kit FAQ entry [chamisplace.com] seems to indicate that you have to have a web server installed for this to work.

figment88

12:24 am on Apr 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



By "simple server" do you mean you want something small or something easy to install?

If you are just looking for easy to install, I use foxserv (http://www.foxserv.com/) that very easily installs and configures to work together apache, php, mysql, and few other apps.

pixel_juice

12:29 am on Apr 21, 2003 (gmt 0)

10+ Year Member



I think that should be www.foxserv.net. I had a look, but I'm really reluctant about installing a web server. I just see it as a lot of hassle to just preview a page, but maybe I should bite the bullet ;)

jatar_k

2:09 am on Apr 21, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



just go ahead and install apache and php, it really isnt very difficult to do.

willybfriendly

5:42 am on Apr 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'll second what jatar_k says. Having it all on your system is great. Took me an evening to get everything downloaded and configured (including PHPMyAdmin). What a timesaver it is, especially in the learning mode. Take the plunge!

WBF

bpositive

6:09 am on Apr 21, 2003 (gmt 0)

10+ Year Member



Hi
Xitami is also small and easy to install. It also gives you a brower based admin interface.
It can be downloaded from xitami.com

Be Positive

[edited by: jatar_k at 4:09 pm (utc) on April 21, 2003]
[edit reason] delinked [/edit]

Longhaired Genius

9:36 am on Apr 21, 2003 (gmt 0)

10+ Year Member



Sorry to be so terse previously, here's how to preview PHP with HTML-Kit:

If you have PHP but no local web server, you can configure HTML-Kit to preview *.php pages through the php.exe interpreter by checking the "Edit ¦ Preferences ¦ Preview ¦ Use PHP Interpreter" option and making sure that the path under "Edit ¦ Preferences ¦ Actions ¦ PHP Interpreter" is the full path to php.exe, for example: c:\php\php.exe

jamie

7:24 am on Apr 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



figment88

i have just downloaded and installed foxserv. just what i was looking for. easy install and php/mysql/cgi funcionality straight out of the box.

thanks for the tip