It is currently Fri Nov 24, 2017 9:53 pm

All times are UTC - 7 hours [ DST ]

Recent News:



Post new topic Reply to topic  [ 144 posts ]  Go to page 1, 2, 3, 4, 5 ... 10  Next
Author Message
 Post subject: WHS PHP Installer
PostPosted: Wed Sep 16, 2009 2:19 pm 
Offline
Uber Moderator
Uber Moderator
User avatar

Joined: Sun Dec 02, 2007 3:29 am
Posts: 1736
Location: Brighton, England
Thanks: 27
Thanked: 202 times in 152 posts
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.

_________________
Have you tried our Add-Ins? If so, be sure to Rate them at WeGotServed.
Help support MediaSmartServer.Net!


Top
 Profile  
Thanks  
The following user would like to thank Cougar for this post
lemminglover, TAdams

Attention Guest: Remove this ad by Registering with the MediaSmartServer.net Forums. It's Free!
 Post subject: Re: WHS PHP Installer
PostPosted: Wed Sep 16, 2009 2:46 pm 
Offline
2.5TB storage
2.5TB storage

Joined: Tue Jan 29, 2008 10:42 pm
Posts: 286
Thanks: 4
Thanked: 13 times in 13 posts
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=-


Top
 Profile  
Thanks  
The following user would like to thank GlynH for this post
Cougar
 Post subject: Re: WHS PHP Installer
PostPosted: Wed Sep 16, 2009 2:56 pm 
Offline
Uber Moderator
Uber Moderator
User avatar

Joined: Sun Dec 02, 2007 3:29 am
Posts: 1736
Location: Brighton, England
Thanks: 27
Thanked: 202 times in 152 posts
Thanks.... will teach me for being lazy with the readme :D

_________________
Have you tried our Add-Ins? If so, be sure to Rate them at WeGotServed.
Help support MediaSmartServer.Net!


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Wed Sep 16, 2009 3:32 pm 
Offline
Moderator
Moderator
User avatar

Joined: Fri Dec 07, 2007 11:18 pm
Posts: 539
Location: Orange County, CA
Thanks: 2
Thanked: 14 times in 13 posts
Awesome, :mss: 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

_________________
If you only have 1 copy of a file you do not have a copy! Back-up off site!!!
If someone wrote a particularly helpful post? Use the "Thank Post" button!


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Wed Sep 16, 2009 3:42 pm 
Offline
Uber Moderator
Uber Moderator
User avatar

Joined: Sun Dec 02, 2007 3:29 am
Posts: 1736
Location: Brighton, England
Thanks: 27
Thanked: 202 times in 152 posts
Yep; will release Beta in the next few days.

_________________
Have you tried our Add-Ins? If so, be sure to Rate them at WeGotServed.
Help support MediaSmartServer.Net!


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Wed Sep 16, 2009 4:41 pm 
Offline
Uber Moderator
Uber Moderator
User avatar

Joined: Sun Dec 02, 2007 3:29 am
Posts: 1736
Location: Brighton, England
Thanks: 27
Thanked: 202 times in 152 posts
Ok, maybe sooner....

viewtopic.php?f=3&t=5374

_________________
Have you tried our Add-Ins? If so, be sure to Rate them at WeGotServed.
Help support MediaSmartServer.Net!


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Sun Sep 20, 2009 11:59 pm 
Offline
Newbie
Newbie

Joined: Sun Sep 20, 2009 11:55 pm
Posts: 2
Thanks: 0
Thanked: 0 time in 0 post
:? 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>


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Mon Sep 21, 2009 12:42 am 
Offline
Founder
Founder
User avatar

Joined: Tue Jul 31, 2007 11:54 am
Posts: 10681
Location: Fort Collins, Colorado
Thanks: 620
Thanked: 912 times in 868 posts
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. :oops:

_________________
Alex Kuretz
Remote Notification: Monitoring and alerting for your Home Server via email, Twitter, text message, RSS, push notifications, and on your Mac desktop
Have you tried our Add-Ins? If so, be sure to Rate them at WeGotServed.


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Mon Sep 21, 2009 2:56 am 
Offline
Newbie
Newbie

Joined: Mon Sep 21, 2009 2:50 am
Posts: 3
Thanks: 0
Thanked: 1 time in 1 post
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


Top
 Profile  
Thanks  
The following user would like to thank Mike Lowrey for this post
Cougar
 Post subject: Re: WHS PHP Installer
PostPosted: Mon Sep 21, 2009 4:04 am 
Offline
Uber Moderator
Uber Moderator
User avatar

Joined: Sun Dec 02, 2007 3:29 am
Posts: 1736
Location: Brighton, England
Thanks: 27
Thanked: 202 times in 152 posts
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.

_________________
Have you tried our Add-Ins? If so, be sure to Rate them at WeGotServed.
Help support MediaSmartServer.Net!


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Mon Sep 21, 2009 11:22 am 
Offline
Uber Moderator
Uber Moderator
User avatar

Joined: Sun Dec 02, 2007 3:29 am
Posts: 1736
Location: Brighton, England
Thanks: 27
Thanked: 202 times in 152 posts
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.

_________________
Have you tried our Add-Ins? If so, be sure to Rate them at WeGotServed.
Help support MediaSmartServer.Net!


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Mon Sep 21, 2009 11:38 am 
Offline
2.5TB storage
2.5TB storage

Joined: Tue Jan 29, 2008 10:42 pm
Posts: 286
Thanks: 4
Thanked: 13 times in 13 posts
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! :mss:

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=-


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Mon Sep 21, 2009 12:03 pm 
Offline
Uber Moderator
Uber Moderator
User avatar

Joined: Sun Dec 02, 2007 3:29 am
Posts: 1736
Location: Brighton, England
Thanks: 27
Thanked: 202 times in 152 posts
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.

_________________
Have you tried our Add-Ins? If so, be sure to Rate them at WeGotServed.
Help support MediaSmartServer.Net!


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Thu Sep 24, 2009 9:06 am 
Offline
Newbie
Newbie

Joined: Tue Sep 22, 2009 5:59 pm
Posts: 6
Thanks: 1
Thanked: 0 time in 0 post
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'


Top
 Profile  
Thanks  
 Post subject: Re: WHS PHP Installer
PostPosted: Thu Sep 24, 2009 12:09 pm 
Offline
Uber Moderator
Uber Moderator
User avatar

Joined: Sun Dec 02, 2007 3:29 am
Posts: 1736
Location: Brighton, England
Thanks: 27
Thanked: 202 times in 152 posts
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!

_________________
Have you tried our Add-Ins? If so, be sure to Rate them at WeGotServed.
Help support MediaSmartServer.Net!


Top
 Profile  
Thanks  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 144 posts ]  Go to page 1, 2, 3, 4, 5 ... 10  Next

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group