ActiveState Powered by ActiveState

ActiveState Community


Configure Wamp server with Komodo Open Editor

Posted by AJAY on 2008-04-18 21:11

Hy I am New in a Php development. Now a days i am a learning the php.
i use the windows os for the development.
i use the Wamp server (Open source web server which includes apache,mysql and php).
I use the Open Komodoeditor for it but i dont know how to configure my localhost with Komodo Editor.
When I run The Php page in komodo i directly get the down load file .
Please help me

tAz | Wed, 2008-04-23 05:49

AJAY,

You need to tell KE where to find PHP, where it's config file is and what mapping(s) you are serving files from.

Ensure your WAMP installation is running and server online through the systray applet.

In Komodo Edit go to Edit->Preferences->Languages->PHP

In the top "Use this Interpreter" field browse to your WAMP directory i.e., C:\wamp\bin\php\php5.2.5\php-cgi.exe

In the lower field enter the location of your php.ini i.e., C:\wamp\bin\php\php5.2.5\php.ini

Now you just need to let KE know where your server root is.

Click "Mapped URI" in the left hand pane of the prefs and click the round green plus icon. Enter "http://localhost/" in the top URI field and (for a default WAMP installation), "C:\wamp\www\" in the MAPS TO field.

Job done :)

AJAY | Thu, 2008-04-24 20:33

Hy taj
i have dona as per your instruction but now there is still problem.

i have create one page in www root folder of wampserver using kedit

page name is tmp.php
i have write only one line syntax <?PHP phpinfo(); ?>
but i cant find any kind of data in a web page.

(after completion of coding i click on blue web browser butoon)

is There any additional information require?

i use the open komodo editor for development.

is there any difference between open komodo editor and standard edition????

still wait for reply.
:)

tAz | Fri, 2008-04-25 00:45

What URI are you trying to view the file under?

http://localhost/tmp.php should do the trick...

AJAY | Fri, 2008-04-25 21:03

Hy
when i click on the browser button i got the follwing url

file:///c:/wamp/www/tempphp/tmp.php

and in the browser screen i see nothing else

tAz | Tue, 2008-04-29 01:43

Ajay,

In the browser address bar type http://localhost/tempphp/tmp.php and let me know if you get the required phpinfo output...

You could even just click the link above as this forum creates hyperlinks :)

You are currently viewing the file contents without it having passed through the php interpreter - which could be down to a number of things so let me know how you get on with the above :)

cheers,
tAz

-->