PATCH WAMPSERVER
Posted by: toumimi (---.11.115-78.rev.gaoland.net)
Date: May 29, 2009 06:43PM

Hi everybody,

I'm back after forum regression ! ;-)

So, I have created a Patch for WampServer that alows you to do few things.

This patch is available at my skydrive : Go to download page
Screenshots are available here : Go to album page

The patch is to be unzipped in your apps folder and not in your www folder,
so it appears as an independant application.

It is composed of several components that you can install/uninstall easily :

    - Change apache port from the menu


    - Change mysql port from the menu


    - Change the default file editor (for example : when you click on httpd.conf)


    - Change the server availability (on PC, on LAN, on WAN) (Thanks to stevenmartin99)


    - Show manuals in wamp menu (right click)


    - Show your aliases in wamp menu (directly or in a submenu)


    - Show current install directory at the bottom of the menu


    - Make wampserver portable (in progress because services are resintalled on the host pc)

Additional informations :

    - An help file is included in the patch

    - A batch file is included to automatically create the alias ("settings" by default)

    - The patch version is at present 1.2b. I will post here about new releases...

This patch is available at my skydrive : Go to download page
Screenshots are available here : Go to album page

Hope many people will be interested in this project.
You can leave here your comments and your feature requests.


Florian



Edited 1 time(s). Last edit at 07/31/2012 09:06PM by stevenmartin99.

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (---.11.115-78.rev.gaoland.net)
Date: June 02, 2009 12:50AM

Hi everybody,

Patch is now updated to version 1.3.

New components

    - Add component CheckPhpMyAdminVersion

Modifications :

    - Add patch version in home page (index.php)

    - Add software 7zip (command-line) to uncompress downloaded phpMyAdmin archives

    - Other minor changes


Please tell me what you think about it.
If you find any bug, please notify me by PM and I will try to fix them quickly...


Florian

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: vynnus (---.xd-dynamic.ctbcnetsuper.com.br)
Date: June 03, 2009 03:45PM

this patch is just cool! I'll try that today. if I find any bud I'll return.
Just a question: is the portable feature fully implemented or still in development? If it's implemented how can use it on my external disk?

thanks again,
Vinnie



Edited 1 time(s). Last edit at 06/03/2009 05:22PM by vynnus.

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (---.adslgp.cegetel.net)
Date: June 03, 2009 04:12PM

Hi Vinnie,

Thanks for you interest...

The portable feature is already implemented but it removes installed services and create new ones (with the right path).

So, if a wamp is already installed, user must reinstall services to make his own wamp running.
It's not a problem if it's you, on the same computer (example: if you want to move or rename wamp folder)
If you use it an on computer that has no wamp installed, it's okay.

Actually, I found a solution for make it portable and creating our own services (no need to uninstall others), and I'm trying to set it up... I think it should be ready this weekend..

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: vynnus (---.xd-dynamic.ctbcnetsuper.com.br)
Date: June 03, 2009 05:29PM

wow thanks for your dedication on this Florian. I'm really interested. I'll keep my eyes on this thread smiling smiley

all the best

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: kokaku (---.cable.mindspring.com)
Date: June 03, 2009 06:36PM

I have a fresh install of Wampserver in WinXP
I unzipped install_class.rar into $WAMP_HOME\apps
I ran install.bat with Wampserver shutdown (I've also tried with it running)
The alias 'settings' was created
I loaded [localhost] in my browser
I clicked Install All - all the components were installed

I see no change to the Wampserver menu
I restarted Wampserver and still see no change
When I navigate to [localhost], i get an error
'Parse error: parse error in C:\dev\wamp\scripts\config.inc.php on line 28'

These patches look very useful (especially the 'change Apache port' one since I need to change my port but then all the aliases and shortcuts are broken because Wamp doesn't appear to update them)

Have I done something wrong during install?

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (---.adslgp.cegetel.net)
Date: June 03, 2009 06:47PM

Hi,

When you install/uninstall a composant, you need to refresh the menu as I can't manipulate wamp menu (until now). But, if you restart wampserver, it should does the same.
Problem is it can't refresh because you got an error in your config.inc.php.

Can you give me the specified line to know what happened ?

Okay I know what it is...
I'm working on it..

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com



Edited 1 time(s). Last edit at 06/03/2009 06:53PM by toumimi.

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (---.adslgp.cegetel.net)
Date: June 03, 2009 07:12PM

Okay. Problem is solved and I have updated the online archive
Problem is when you install ChangeApachePort (a wrong boolean).
So you may download the corrected ChangeApachePort component and put it into apps\install_class\classes\components for the next time you try to install it.

If you doesn't project to reinstall it, simply correct the given line in config.inc.php
$c_installDir = $wampConf['installDir'];

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: kokaku (---.cable.mindspring.com)
Date: June 03, 2009 08:16PM

Ah! Thank you - so simple a fix.

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: kokaku (---.cable.mindspring.com)
Date: June 03, 2009 08:19PM

One further suggestion...
In Apache >Service, there is a 'Test Port 80' command. If I change the Apache port, can that be updated too? (this is not really needed but would be nice - easy enough to start Apache and see if it works or not)

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: kokaku (---.cable.mindspring.com)
Date: June 03, 2009 08:37PM

I'm not sure if you were replying to my original post or my followup. Fixing the config file fixed the menus. But the Test port still shows up as port 80 even though I changed my port to 8080. The shortcuts to localhost, phpmyadmin, and the like _are_ all updated to 8080 (which is great - that's what I'd want).

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (---.adslgp.cegetel.net)
Date: June 03, 2009 08:50PM

No it's volunteer.
I didn't change this item because I guess if someone got problems, he can easily test if port 80 is in use to change it back. However, when you change port it verify if the given port is free (which is normal).

If you still wish to have this feature, you can simply modify a line in wampmanager.tpl :

Replace :
Type: item; Caption: "${w_testPort80}"; Action: run; FileName: "${c_phpExe}";Parameters: "-c . testPort.php";WorkingDir: "$c_installDir/scripts"; Flags: waituntilterminated; Glyph: 9

By :
Type: item; Caption: "Test current port"; Action: run; FileName: "${c_phpExe}";Parameters: "-c . testPortForInstall.php";WorkingDir: "$c_installDir/scripts"; Flags: waituntilterminated; Glyph: 9

It's the script I used when changing ApachePort, so it contains install strings but it still does the work.
Hope it helps you...

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: yfastud (Moderator)
Date: June 03, 2009 09:02PM

toumimi
since this is your project, I suggest you put your credit in the script, at least the main page if not all; however, if you don't care about it at all, please, ignore this suggestion winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (---.15.115-78.rev.gaoland.net)
Date: June 03, 2009 10:15PM

Yesterday, I added a div at the bottom of home page (Author : Florian (Toumimi), with mail,
but I didn't want to put it source files. However, I'm not familiar with public projects...
Maybe I can do it for posterity. winking smiley

thumbs up Thanks for your consideration !

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (---.237.115-78.rev.gaoland.net)
Date: July 06, 2009 08:11PM

Hi all !

I come here to report you a problem with the phpMyAdmin patch component.
SourceForge has modified its page organisation so component doesn't work anymore.
So I need to find a new way to get all phpmyadmin version and I will give you soon the new component.

Otherwise, a new patch version will come in a month I think, with a component generator (for those who got ideas), a best management of components, and some new components winking smiley

Enjoy !

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (---.237.115-78.rev.gaoland.net)
Date: July 07, 2009 08:18PM

Okay.
Now the CheckPhpMyAdminVersion component has been updated.
You can download the component php file and replace the installed one in wamp scripts folder.

Tell me if you get problems using this component winking smiley

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (---.114.116-78.rev.gaoland.net)
Date: August 09, 2009 03:31PM

Ladies and gentlemen,

I am proud to announce version 2.0 of my patch !

New components

    - Update component CheckPhpMyAdminVersion


    - Update component ShowManuals


    - Add component ShowDirectoryMenu


    - Add component TestApacheConfFile

New features

    - CLI mode is now available. You can use the patch from a command line even if apache service is not started (useful for debugging). Please use shortcuts files INSTALL_CLI or INSTALL_CLI_AUTO since they are customized to fit what I wanted and don't forget to update parameters into config.bat file.

    - Creation of a new file format .comp specific to the patch (contains class file and files to install aio).

    - Check components status (installed/uninstalled) and update ini file if incorrect.

    - Possibility to hide some components from patch homepage

    - New component properties (author/date/version) to take user addons submit into account (hope it will be some people interested in it winking smiley )

    - New component generation part, still multi-languages, with many possibilities, a user-friendly interface, and some automatic generation processes...

Notes for installation :

If a patch version is already installed, then you should save your wampmanager.conf file,
uninstall all components and replace install_class folder from the archive file.
Then you can reinstall all of them, and insert modified informations into wampmanager.conf file (from saved one), because it may be modified behaviours...

If you don't have installed the patch yet, then what are you waiting for ?
Just unzip archive into wamp/apps folder and launch install.bat file to setup an alias ('settings' by default)

New features I'm thinking about :

    - Correct css file (for float div going to the line)

    - Separate MakeWampserverPortable into two others (allow multiple instances and move wamp folder) already implemented in the first one

    - Update manual (new components, new features, how to generate a component, use .comp format, ...)

    - Automatic process for update this patch and/or its components

Last minute notes :

Note that I'm doing it on my free time, and that I have some other projects so for the moment, I will only update manual file (french and english) and submit it under two weeks I hope.
But with what you get, you can do anything you want.
If you have any questions or requests, use pm or this thread to ask me.
Don't hesitate to send me your generated components or some functionnality you have added to be included in the next release of the patch or available as a comp file to be included immediately from users winking smiley

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com



Edited 2 time(s). Last edit at 08/09/2009 03:41PM by toumimi.

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: psn (---.tbcn.telia.com)
Date: September 11, 2009 03:55AM

Hi, Dont get this patch working. the only part I can see is "setting". When I access to settingpage I seems not be able to do anything on this page. Helpfiles dont work so I dont have any manual to follow so I need guidences to get this patch working.

Regards/Per

Options: ReplyQuote
Re: PATCH WAMPSERVER
Posted by: toumimi (84.6.111.---)
Date: September 11, 2009 07:20AM

Since project has been moved to source forge, please use the new topic here : [forum.wampserver.com]

Thanks winking smiley

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.