Jump to content


Photo

very new to php


  • Please log in to reply
2 replies to this topic

#1 landoplenty

landoplenty
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 26 March 2006 - 03:18 PM

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?

#2 frustrated

frustrated
  • Members
  • PipPipPip
  • Advanced Member
  • 32 posts

Posted 26 March 2006 - 04:46 PM

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

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 26 March 2006 - 05:09 PM

[!--quoteo(post=358535:date=Mar 26 2006, 04:18 PM:name=landoplenty)--][div class=\'quotetop\']QUOTE(landoplenty @ Mar 26 2006, 04:18 PM) View Post[/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 Options -> Preferences -> PHP Options

You need to specify where your php.exe 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 Preview folder by clicking on the + next to it in the Preferences dialog box and select Mappings.

Now Click the Add button and select the Local Folder button next to the Local or FTP Path textbox. Now in the Browse for Folder box naviagte to where you store your PHP files to be parsed by the webserver. Once you have done that click Ok and now in the Webserver Path textbox type in http://localhost/. 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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users