two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 07:26PM

Hello

I have two questions for me to use WAMP.

1: Where or how to get this GD library to work? ...
It worked fine on my old setup pf PHP and MYSQL 5

2: localhost:8080 how to get it to automatically goto to that port for PHP? ...
I develop in ASP and PHP, I use IIS for ASP and trying WAMP for my PHP

Please could you put me in the right direction.

Cheers

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 07:31PM

This is just stupid!
I have no clue what happened but all of a sudden the GD library, starting working straight after posting the first message.

Now the second question is still in need of an answer.

Cheers

Options: ReplyQuote
Re: two in one?
Posted by: ortiz (---.dsl.hstntx.swbell.net)
Date: December 16, 2007 07:34PM

hello student101,

I beleive you can enable the GD library in php.ini

about port8080

I am having trouble with it myself. I want to open port:18 but no luck

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 07:42PM

ortiz Wrote:
-------------------------------------------------------
> hello student101,
>
> I beleive you can enable the GD library in
> php.ini
>
> about port8080
>
> I am having trouble with it myself. I want to open
> port:18 but no luck


Thanks for reply,
GD library - I have no idea how it worked, even though it was enabled but wasn't showing - but works now.

For port 8080:
In the menu of WAMP open the httpd.conf
Look for this line - Listen 80 - //change to whatever port you want.
Stop and Start the apache service // figured this one out by playing around a bit.

Cheers

Options: ReplyQuote
Re: two in one?
Posted by: ortiz (---.dsl.hstntx.swbell.net)
Date: December 16, 2007 07:49PM

Funny, how I tried that but still no luck. I mean it connects ok, that is my wamp icon in the taskbar is all connected.

However, when I launch localhost I do not get the index.php for wamp unless I manually add the :81 to the localhost in the addressbar.

In the past I was able to change the menuleft setting in the wampmanager.ini but when I try to change them the settings are not saved and revert to the default settings.

I remember that with the wamp 1.7x I was able to run both IIS in localhost port 80 and wamp in localhost port 81

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 08:04PM

I have no idea how that works,
I just installed this WAMP as my pc crashed and couldn't for the life of me, or over 20 tuts get my PHP and IIS to work again.

I only have wamp 1.7.2

Options: ReplyQuote
Re: two in one?
Posted by: ortiz (---.dsl.hstntx.swbell.net)
Date: December 16, 2007 08:45PM

OK, I figured it out.

Change the port:80 entries in httpd.conf to 81 or whatever port you want to use.

then

open wampmanager.tpl this, file is in the root of the wamp directory.

Edit the menu.left parameter settings to whatever host you require.

example: localhost/ to localhost:81

there should be 3 localhost entries there change all 3

I have mine set to port 81.

Changing these setting, will also change the settings in wampmanager.ini.

Thats it. Now when I can use Wamp2 in port 81 and ISS in port 80

ortiz

0rtiz.com;soniquemuseum.com

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 09:01PM

Like this?

Type: item; Caption: "$w_localhost"; Action: run; FileName: "C:\WINDOWS\explorer.exe"; Parameters: "[localhost];; Glyph: 5
Type: item; Caption: "$w_phpmyadmin"; Action: run; FileName: "C:\WINDOWS\explorer.exe"; Parameters: "[localhost];; Glyph: 5
Type: item; Caption: "$w_sqlitemanager"; Action: run; FileName: "C:\WINDOWS\explorer.exe"; Parameters: "[localhost];; Glyph: 5

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 09:05PM

Doesn't work for me?

Am using 1.7.2 - not sure where to look for that though.

Cheers

Options: ReplyQuote
Re: two in one?
Posted by: ortiz (---.dsl.hstntx.swbell.net)
Date: December 16, 2007 09:05PM

Yes, I suppose that will work. I have mine set to 81.

One more thing there is an httpd.conf file located under "C:\wamp\bin\apache\apache2.2.6\conf\default"

it has a listen 8080 entry

I left it alone but I just thought I'd mention it.

0rtiz.com;soniquemuseum.com

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 09:14PM

Thanks for help here,
I may have to download version 2 to get it to work like yours does.

With my version 1.7.2, doesn't work for me - have to add :8080 manually.

Cheers

Options: ReplyQuote
Re: two in one?
Posted by: ortiz (---.dsl.hstntx.swbell.net)
Date: December 16, 2007 09:31PM

Any reason why you have to use :8080?

I just use 81 or wamp and 80 for ISS

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 09:37PM

No, just used that combo in the past.
Will try 81 right now.

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 09:50PM

C:\wamp\wampmanager.tpl => shortened it a bit...
++++++++++++++++++++++++++++++++++++++
[Menu.Left]
Parameters: "[localhost];; Glyph: 5
Parameters: "[localhost];; Glyph: 5
Parameters: "[localhost];; Glyph: 5
++++++++++++++++++++++++++++++++++++++

C:\wamp\wampmanager.ini => shortened it a bit...
++++++++++++++++++++++++++++++++++++++
[Menu.Left]
Parameters: "[localhost];; Glyph: 5
Parameters: "[localhost];; Glyph: 5
Parameters: "[localhost];; Glyph: 5
++++++++++++++++++++++++++++++++++++++


httpd.conf => shortened it a bit...
++++++++++++++++++++++++++++++++++++++
Listen 81
ServerName localhost:81
++++++++++++++++++++++++++++++++++++++

Restarted all services, still no luck.

Thanks though.

Options: ReplyQuote
Re: two in one?
Posted by: ortiz (---.dsl.hstntx.swbell.net)
Date: December 16, 2007 10:00PM

Well, I see that your configurations are as mine. Other than a firewall blocking that port would be my last suggestion. It has to be something very simple.

Options: ReplyQuote
Re: two in one?
Posted by: ortiz (---.dsl.hstntx.swbell.net)
Date: December 16, 2007 10:02PM

exit wamp and then restart it if you have not done that yet. I also tried to restart services and that did not work.

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 10:09PM

WORKING!!!

Thanks forgot that part.

+++++++++++++
Exit wamp, then Restart it.
+++++++++++++

Well done dude, works well.

Options: ReplyQuote
Re: two in one?
Posted by: ortiz (---.dsl.hstntx.swbell.net)
Date: December 16, 2007 10:10PM

Excellent!

Options: ReplyQuote
Re: two in one?
Posted by: student101 (---.saix.net)
Date: December 16, 2007 10:15PM

Going to bed now, 11PM in South Africa.

I am glad to have this working finally - not the extras like what we just did, but actual PHP "working with no headaches"

Also another link I found for installation on APACHE,PHP,MySQL

[www.sebastiansulinski.co.uk]

if your'e interested

Cheers and THANKS.

Options: ReplyQuote
Re: two in one?
Posted by: ortiz (---.dsl.hstntx.swbell.net)
Date: December 16, 2007 10:20PM

Will check it out, bye.

Options: ReplyQuote


Sorry, only registered users may post in this forum.