MediaSmartServer.net http://www.mediasmartserver.net/forums/ |
|
WHS PHP Installer http://www.mediasmartserver.net/forums/viewtopic.php?f=10&t=5372 |
Page 1 of 10 |
Author: | Cougar [ Wed Sep 16, 2009 2:19 pm ] |
Post subject: | WHS PHP Installer |
After a good public Beta, I've only made one change to the final 1.0 release attached. Thanks to all that installed and tested. You can download the Add-In from here. Attached is the Readme for the Add-In. Title: WHS PHP Installer Version: 1.04 Date: 03/11/2009 Add-In Authors: Nigel Wilks and Drashna Jael're Product Author: The Php Group http://www.mediasmartserver.net & http://www.wegotserved.co.uk About the Add-In ================ WHS PHP Installer will install a preconfigured PHP 5.2.6 install for Windows Home Server based systems. This Add-In includes PHP software, freely available from http://www.php.net/software. but has been compiled into a Windows Home Server Add-In to make an it easy and convenient to install. Customization can be done to the PHP.INI file as required, however we have picked some popular extensions to make the installation as easy as possible. The PHP binaries are Copyright 2001-2009 The PHP Group, please read the license file that is installed at C:\Program Files\php\license.txt on the server after the Add-In is installed for further informaton. Comments, Support and Suggestions should be posted on the forums at http://www.mediasmartserver.net INSTALLATION ============ Install WHS PHP Installer by copying the WHSPHPInstaller.msi file to the Software\Addins share of your Windows Home Server. Start the Windows Home Server Console, select Settings, then Add-Ins. Select WHS PHP Installer from the Available tab, and click "Install". To help prove a successful install, I've delivered a test file as part of the installer so once you have installed the Add-In, just connect to http://SERVERNAME/test.php Version History =============== Version 1.04 Release 02/11/2009 Modified installer to install to c:\php5 and localised scripts missed in 1.03. Cleaned up bug in environment variable not removed on uninstall. ========================================================================================================================================= Version 1.03 Release 11/10/2009 Localised PHP.INI as it was hardcoded for English language systems. ========================================================================================================================================= Version 1.02 Release 06/10/2009 Modified installer to check for PHP.INI or PHP.EXE and fail if found based on users testing on systems with PHP already installed. ========================================================================================================================================= Version 1.01 Release 21/09/2009 Fixed an error in the installer for non English systems where c:\Program Files\PHP was being resolved for Registry, Path and IIS Config. ========================================================================================================================================= Version 1.0 Release 14/09/2009 PHP.INI modified to include date.timezone = UTC. Release version. ========================================================================================================================================= Version 0.0.5 Release 28/7/2009 Resolved an issue where a user may have renamed the server, and the IUSR account did not match the current server name. In this instance an MSI 1603 error occurred. ========================================================================================================================================= Version 0.0.4 Release 27/7/2009 Following on with testing against PhpMyAdmin, a couple of changes were needed. * Set the ACL for the IIS Guest Account against the PHP folder. * cgi.rfc2616_headers = 0 set in php.ini * extension=php_bz2.dll set in php.ini * added code to the installer to cleanup and remove the session folder on uninstall. ========================================================================================================================================= Version 0.0.3 Release 22/7/2009 Fixed a typo that caused php to read a default ini file (i.e. with no extension support). I've tested 0.0.3 with MySql, Gallery 2 and pHpMyAdmin and no errors found. ========================================================================================================================================= Version 0.0.2 Release 16/7/2009 Initial Beta ========================================================================================================================================= THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Author: | GlynH [ Wed Sep 16, 2009 2:46 pm ] |
Post subject: | Re: WHS PHP Installer |
Sounds great...thanks for your time & trouble Nigel...but is there a typo? You refer to it as Remote Notification instead of WHSPHPInstaller or have I missed something? ----------snip---------- INSTALLATION ============ Install Remote Notification by copying the WHSPHPInstaller.msi file to the Software\Addins share of your Windows Home Server. Start the Windows Home Server Console, select Settings, then Add-Ins. Select Remote Notification from the Available tab, and click "Install". ----------snip---------- Thanks & regards, -=Glyn=- |
Author: | Cougar [ Wed Sep 16, 2009 2:56 pm ] |
Post subject: | Re: WHS PHP Installer |
Thanks.... will teach me for being lazy with the readme |
Author: | COPC [ Wed Sep 16, 2009 3:32 pm ] |
Post subject: | Re: WHS PHP Installer |
Awesome, I will remove the old and install the new when I get home. Now I just await the mysql one... (Any updates on that one) Thanks, Joe |
Author: | Cougar [ Wed Sep 16, 2009 3:42 pm ] |
Post subject: | Re: WHS PHP Installer |
Yep; will release Beta in the next few days. |
Author: | Cougar [ Wed Sep 16, 2009 4:41 pm ] |
Post subject: | Re: WHS PHP Installer |
Ok, maybe sooner.... viewtopic.php?f=3&t=5374 |
Author: | mikesmth [ Sun Sep 20, 2009 11:59 pm ] |
Post subject: | Re: WHS PHP Installer |
Help? the download link does not work!? I get <?xml version="1.0" encoding="UTF-8" ?> - <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>DFD46A31575A39E2</RequestId> <HostId>kqBKXXNHHYthdWDntGb+iubKh3nNthd2LySK1Uu9zuvxGVnLnKY87uy3qWLTGIT5</HostId> </Error> |
Author: | yakuza [ Mon Sep 21, 2009 12:42 am ] |
Post subject: | Re: WHS PHP Installer |
mikesmth wrote: :? Help? the download link does not work!? I get <?xml version="1.0" encoding="UTF-8" ?> - <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>DFD46A31575A39E2</RequestId> <HostId>kqBKXXNHHYthdWDntGb+iubKh3nNthd2LySK1Uu9zuvxGVnLnKY87uy3qWLTGIT5</HostId> </Error> Doh, really sorry, you guys were clobbering my bandwidth with all the PHP and MySql downloads so I moved them to S3 and neglected to set the correct permissions. This is resolved now and you should be able to download. |
Author: | Mike Lowrey [ Mon Sep 21, 2009 2:56 am ] |
Post subject: | Re: WHS PHP Installer |
Hi, i'm really happy, that someone has developed a PHP Installer for WHS! But at the moment i'm unable to use this add in because i'm using a german WHS. The installation is no problem, but it seems that you hard coded all paths to "C:\program files\php\" for a german installation you have to use "C:\Programme\php" ... It would be really nice if you support german whs with the next release to! greetz Mike |
Author: | Cougar [ Mon Sep 21, 2009 4:04 am ] |
Post subject: | Re: WHS PHP Installer |
Interesting as I don't hard code the value, but install to the property value "ProgramFilesFolder" which should resolve to whatever the localised version is. If it's failing for you; can you PM me your additions log from C:\Documents and Settings\All Users\Application Data\Microsoft\Windows Home Server\logs so I can see what it's doing? Thanks. |
Author: | Cougar [ Mon Sep 21, 2009 11:22 am ] |
Post subject: | Re: WHS PHP Installer |
Thanks to Mike Lowrey's help I've tracked down the offending bug and resolved and Mike has kindly tested the updated release. It was a minor issue in the scripting side and not the MSI. The updated v1.01 file is linked in the first post, but is only needed for new installs or people with non English WHS systems as nothing else has changed. |
Author: | GlynH [ Mon Sep 21, 2009 11:38 am ] |
Post subject: | Re: WHS PHP Installer |
It's great when like-minded individuals from a community such as this work together isn't it? A bug reported and then fixed within hours...no Company could beat that! Hey Cougar...a quick question regarding PHP on the MSS - does this work the system hard? I try not to tax my MSS too hard and wondered if PHP would give a performance hit or compatibility issue on the MSS when it is being used? Any other possible issues/gotcha's regarding PHP on the MSS? Thanks & kind regards, -=Glyn=- |
Author: | Cougar [ Mon Sep 21, 2009 12:03 pm ] |
Post subject: | Re: WHS PHP Installer |
Thanks.Always good to get rid of the bugs as soon as you can! PHP's pretty lightweight and you'd probably not notice it running on the server the w3wp.exe service will consume about 16mb of ram doing basic stuff. Obviously the more you use php based apps the app will get used, but when idle it will do nothing. Pretty much the same as IIS as a whole (don't forget all you are doing is adding a handler to IIS for php support). The main gotchas with PHP are it's extensibibility. Depending on the app you are using, you may need to customise the PHP.INI. I've done a bunch of the basic stuff so you should be fine on that score for a while. |
Author: | Stu Pidaso [ Thu Sep 24, 2009 9:06 am ] |
Post subject: | Re: WHS PHP Installer |
I had tried to install PHP manually a while back with no success. Just installed this addin and seems to be working right off the bat!! Great job. I am having one issue though. As per instructions I can go to https://servername/pma and it brings up the login page as it should. I can login with the username administrator and password field blank. I would like to be able to change the password because if you go to https://whsdomain.homeserver.com/pma/index.php it also brings up the same page and anyone can login. How do I change the password?!? Once I login there is a link to change the password but if I try to change it I get the following error.... Error SQL query: SET PASSWORD = PASSWORD( '***' ) MySQL said: #1044 - Access denied for user ''@'localhost' to database 'mysql' |
Author: | Cougar [ Thu Sep 24, 2009 12:09 pm ] |
Post subject: | Re: WHS PHP Installer |
Not sure why the password isn't working, but can you can rdp onto the server and open the MySql Administrative Console (and I just noticed my spelling mistake). then type the following (including the ";") SET PASSWORD FOR 'root'@'localhost' = PASSWORD('whateveryouwant); _________________ Did someone write a particularly helpful post? Use the "Thank Post" button! |
Page 1 of 10 | All times are UTC - 7 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |