Jump to content

Archived

This topic is now archived and is closed to further replies.

landoplenty

very new to php

Recommended Posts

hello,

First off let me tell you now im a newb to php my question is this
i installed Rapidphp2006 to my pc thinking it would make my pc able to view my work as i go
but all i see is code i also installed apache2triad and im running windows xp so am i missing something why cant i view the images under the view tab do i need to install anything else?

Share this post


Link to post
Share on other sites
if you want a quick easy way to have a server testing environment on your computer I would recommend xammp (apachefriends.org)

Share this post


Link to post
Share on other sites
[!--quoteo(post=358535:date=Mar 26 2006, 04:18 PM:name=landoplenty)--][div class=\'quotetop\']QUOTE(landoplenty @ Mar 26 2006, 04:18 PM) [snapback]358535[/snapback][/div][div class=\'quotemain\'][!--quotec--]
hello,

First off let me tell you now im a newb to php my question is this
i installed Rapidphp2006 to my pc thinking it would make my pc able to view my work as i go
but all i see is code i also installed apache2triad and im running windows xp so am i missing something why cant i view the images under the view tab do i need to install anything else?
[/quote]

I have rapidPHP too, but 2005 version however there shouldn't that much of change between the two. In order for you to preview your php files you will need to tell rapidPHP where your PHP intepreter is located. You can set this by going to [b]Options[/b] -> [b]Preferences[/b] -> [b]PHP Options[/b]

You need to specify where your [b]php.exe[/b] file is (This is the PHP Intepreter) which should be located somewhere as you have installed apache2triad, which I believe includes PHP too. So have a look where you installed apache2triad to. Once you have set where the php.exe file is, you need to setup the Preview settings.

Simply open the [b]Preview[/b] folder by clicking on the [b]+[/b] next to it in the Preferences dialog box and select [b]Mappings[/b].

Now Click the [b]Add[/b] button and select the [b]Local Folder[/b] button next to the [b]Local or FTP Path[/b] textbox. Now in the [b]Browse for Folder[/b] box naviagte to where you store your PHP files to be parsed by the webserver. Once you have done that click [b]Ok[/b] and now in the [b]Webserver Path[/b] textbox type in [b]http://localhost/[/b]. Now Click Ok and Ok agaion to close the Preferences dialog box.

Everything should now be setup so you can preview your PHP scripts within rapidPHP!

Hope that helps.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.