archive-com.com » COM » S » STUARTHERBERT.COM

Total: 477

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Stuart on PHP - » 2008 » December
    do this with CGI if you have problems with FastCGI crashing Love it or hate it Windows Server is the right choice for many firms and the better PHP runs in a Windows Server production environment the more opportunities there are for firms and individuals that create PHP apps in the future About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan Be the first to leave a comment Job Vacancies at Gradwell Posted by Stuart Herbert on December 15th 2008 in News PHP In Business I m currently looking to fill two new vacancies at our office in Bath I m looking for a Senior Sysadmin permie and a Storage Engineer contract to come in and help us as we grow our award winning business in 2009 These roles will be assisting us with our email and hosting platforms If you re interested drop me an email No agencies please Who are we Gradwell is a rapidly growing ISP who focuses on broadband email web hosting and VoIP solutions for the UK SME market We are a pioneer in VoIP and are the leading VoIP provider for UK business We also do fun things like Twittex which I talked about recently at the PHPNW 08 conference About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan Be the first to leave a comment PHPNW 08 Conference Slides And Photos Posted by Stuart Herbert on December 7th 2008 in Conferences It s a bit startling to think that it s already a fortnight since the hugely successful PHPNW 08 conference happened up in Manchester Where has the last two weeks gone Actually I know exactly where it s gone putting together a shopping list for new iSCSI storage but that s a different topic I thought Jeremy et al ran a great conference the single best open source conference I ve been to in the UK so far and that includes the Gentoo conferences I used to run in Manchester and I hope they re able to put on another conference next year I really enjoyed myself and

    Original URL path: http://blog.stuartherbert.com/php/2008/12/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » 2008 » November
    the UK atm If that sounds interesting to you drop me a line before the conference and we ll arrange to meet up during the Friday or Saturday evening socials And I m also interested in talking to anyone who s going to PHPNW08 who s interested in building apps for VoIP too About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan Be the first to leave a comment Latest Photos Categories phpnw 1 Beginner 2 Intermediate 3 Advanced Brighton PHP Conferences Opinion phix PHP In Business PSR Servers and Hosting Storyplayer Talks Toolbox Training Uncategorized Archives February 2016 January 2016 November 2015 October 2015 August 2015 March 2015 January 2014 May 2013 April 2013 March 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 February 2012 January 2012 October 2011 September 2011 August 2011 July 2011 April 2011 March 2011 February 2011 October 2010 August 2010 July 2010 February 2010 January 2010 October 2009 September 2009 August 2009 May 2009 April 2009 March 2009 February 2009 January 2009 December 2008 November 2008 October 2008 September 2008 August 2008 June 2008 May 2008 April 2008 March 2008 January 2008 December 2007 November 2007 October 2007 July 2007 April 2007 March 2007 February 2007 January 2007 This Month November 2008 M T W T F S

    Original URL path: http://blog.stuartherbert.com/php/2008/11/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » 2008 » October
    works as a FastCGI process We can tell it how many FastCGI scripts are allowed to run to make sure one website doesn t use up all of the web server s free capacity and also how many HTTP requests each FastCGI process should handle before terminating to limit the impact of memory leaks At this point you can restart Apache and you should find that your websites are now using suexec FastCGI to run as separate users Making Apache Go Even Faster One of the major benefits of using Apache 2 2 over Apache 1 3 is the ability to switch how Apache works at the fundamental level Apache MPMs multi processing modules can emulate Apache 1 3 s behaviour mpm prefork but it can also provide new options By default most if not all Linux distributions install Apache 2 2 built with mpm prefork but by switching to another MPM can we make our websites go even faster If you are using suexec mod fcgid on Linux there are two MPMs available to you that have the potential to boost performance further mpm worker and mpm event Both MPMs turn Apache into a multi threaded server On Linux systems it is usually much quicker to create new threads than it is to create new processes The downside is that software has to be specially written to work correctly in a multi threaded application known as being thread safe mod php doesn t work reliably with mpm worker and mpm event because it reuses a lot of third party code that may or may not be thread safe But because we re running PHP in a separate FastCGI process we can safely turn Apache into a multi threaded server Some Benchmarks To benchmark PHP FastCGI suexec I used Apache s ab benchmark to load a simple phpinfo page 1 000 times I ran the benchmark five times and averaged the results To compare the results I repeated the tests against mpm worker mpm event and mpm prefork both with and without mod php mpm worker mod fcgid PHP FastCGI suexec 7 36 seconds 0 2 failure rate mpm event mod fcgid PHP FastCGI suexec 7 75 seconds 0 2 failure rate mpm prefork mod fcgid PHP FastCGI suexec 7 92 seconds 0 2 failure rate mpm prefork mod fastcgi PHP FastCGI suexec 8 52 seconds 0 2 failure rate mpm prefork mod php 7 38 seconds 0 failure rate Other Considerations The performance is good especially if you switch Apache MPMs These benchmarks are extremely simplistic and what they don t show is that switching to mpm worker and mpm event will probably speed up your websites even further because these Apache MPMs handle downloading images more efficiently than mpm prefork can You may also be able to scale your websites better before having to upgrade your servers or add additional ones especially if you use a bytecode cache such as APC or xcache But what are the downsides

    Original URL path: http://blog.stuartherbert.com/php/2008/10/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » 2008 » September
    m looking forward to seeing how that s changed in the last four years We built twittex in house but we also outsource PHP development and I m very interested in meeting up with folks offering PHP and symfony development who are interested in VoIP we re the UK s third largest VoIP provider and social apps and also with anyone interested in integrating VoIP into their apps too See you in Manchester in November About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan Be the first to leave a comment Latest Photos Categories phpnw 1 Beginner 2 Intermediate 3 Advanced Brighton PHP Conferences Opinion phix PHP In Business PSR Servers and Hosting Storyplayer Talks Toolbox Training Uncategorized Archives February 2016 January 2016 November 2015 October 2015 August 2015 March 2015 January 2014 May 2013 April 2013 March 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 February 2012 January 2012 October 2011 September 2011 August 2011 July 2011 April 2011 March 2011 February 2011 October 2010 August 2010 July 2010 February 2010 January 2010 October 2009 September 2009 August 2009 May 2009 April 2009 March 2009 February 2009 January 2009 December 2008 November 2008 October 2008 September 2008 August 2008 June 2008 May 2008 April 2008 March 2008 January 2008 December 2007 November 2007

    Original URL path: http://blog.stuartherbert.com/php/2008/09/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » 2008 » August
    service that allows you to follow the friends of your choice on the mobile phone of your choice via SMS and it s now live About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan Be the first to leave a comment Latest Photos Categories phpnw 1 Beginner 2 Intermediate 3 Advanced Brighton PHP Conferences Opinion phix PHP In Business PSR Servers and Hosting Storyplayer Talks Toolbox Training Uncategorized Archives February 2016 January 2016 November 2015 October 2015 August 2015 March 2015 January 2014 May 2013 April 2013 March 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 February 2012 January 2012 October 2011 September 2011 August 2011 July 2011 April 2011 March 2011 February 2011 October 2010 August 2010 July 2010 February 2010 January 2010 October 2009 September 2009 August 2009 May 2009 April 2009 March 2009 February 2009 January 2009 December 2008 November 2008 October 2008 September 2008 August 2008 June 2008 May 2008 April 2008 March 2008 January 2008 December 2007 November 2007 October 2007 July 2007 April 2007 March 2007 February 2007 January 2007 This Month August 2008 M T W T F S S Jun Sep 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

    Original URL path: http://blog.stuartherbert.com/php/2008/08/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » 2008 » June
    at conferences and user groups since 2004 When he s not designing software Stuart loves to explore the world through a camera lens spend time with his beloved guitars and continue his study to T ai Chi Chu an Taijiquan Be the first to leave a comment On Management False Sirens And The Threat of Rails Posted by Stuart Herbert on June 6th 2008 in Opinion PHP In Business The motivation for this blog post came from reading an article today touting the meme that cloud computing is coming That s the message from Sarah Perez over on Read Write Web The classic geek which presumably includes many of the folks reading this on Planet PHP will no longer be the ones working with the CEOs to execute the vision and direction via information technology according to Sarah Presumably because the companies will have gone bust from a lack of good leadership Something we ve seen before and will see again The successful IT departments in the sort of larger organisations that can provide food and shelter for your true classic geek have been part of the business for the last decade if not longer Before we had the sexy CTO and CIO titles there were IT Managers and Operations Managers who did all this stuff with little fan fare and trumpet blowing They did it on a budget so they had to have financial management skills They managed staff so they had to have people skills They delivered results so they had to have project management skills They made sure the business could do its job so they had to have quality assurance skills They implemented approaches such as ITIL and more lately CoBIT to ensure that the IT department was aligned to the business and relevant regulation And they did this whilst still groking computers In fact they did this because they groked computers I ve seen this sort of nonsense before when Java came on the scene and the rise of the Web 2 0 blogger means I m seeing it again Everything is new everything is different the old skills and the old lessons no longer apply so don t bother learning them that is the seductive siren call Any student of management history can trace this echo back hundreds if not thousands of years The core skills of good governance direction organisation and supervision have not changed You can read the works of Confucius from over two thousand years ago and the principles behind the lessons for the leaders of the time are no different than the principles behind the lessons for the leaders of today Practices have changed but not principles There are no secrets no short cuts for those in the know not in business engineering or the arts You have to know the basics and you have to do the basics Hard work and dedication is always the key and you won t find a single leading member of the PHP development

    Original URL path: http://blog.stuartherbert.com/php/2008/06/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » 2008 » May
    one of the most important open source projects for the LAMP stack phpMyAdmin provides a web based admin interface for MySQL making it extremely easy for folks new to the LAMP stack to start working with databases and a very convenient way to avoid firing up the MySQL command line if you need to check something or make changes to your databases It feels like phpMyAdmin has been around forever Unfortunately it looks that way too at times In the post Google Maps world of AJAX enabled slick and efficient user interfaces phpMyAdmin s usefulness can be hampered by its Web 1 0 UI and by its continued reliance of manual configuration instead of a WordPress like admin panel Don t get me wrong phpMyAdmin is a good tool without equal atm but it s a workmanlike and functional tool that younger folks used to the Facebook world find a bit long in the tooth About The Book Marc s book is aimed both at folks new to MySQL and phpMyAdmin as well as experienced developers such as myself who aren t aware of the advanced features that have been added over the years The full chapter list is Introducing phpMyAdmin Installing phpMyAdmin Interface Overview First Steps Changing Data Changing Table Structures Exporting Structure and Data Importing Structure and Data Searching Data Table and Database Operations The Relational System Entering SQL Commands The Multi Table Query Generator Bookmarks System Documentation MIME Based Transformations Character Sets and Collations MySQL 5 0 Features MySQL Server Administration Troubleshooting and Support The first ten chapters cover the basics of using phpMyAdmin If you re new to phpMyAdmin these chapters will be very helpful to you and if you ve been using phpMyAdmin for years there s still little bits in here that you might not have been aware of before now I particularly like the way that these chapters often refer back to the configuration settings in phpMyAdmin s config file However towards the end of this section the material starts to feel a bit rushed as if the author himself can t wait to get onto the clever features of phpMyAdmin that have yet to come If you re completely new to MySQL you might find the end of this section to be a little light on detail I hope the next edition of this book beefs these chapters up a bit Like most people I know my use of phpMyAdmin over the years has tended to stick with the basics creating and browsing tables I confess it s partly because I ve found the phpMyAdmin UI to be more and more clunky as time has gone by a throwback to the days before Google showed us just what could be done with Javascript and AJAX So the second half of the book which looks at the more advanced features of phpMyAdmin were ones I found very educational I had no idea for example that phpMyAdmin now includes an AJAX based Designer tool

    Original URL path: http://blog.stuartherbert.com/php/2008/05/ (2016-05-02)
    Open archived version from archive

  • Stuart on PHP - » 2008 » April
    takes two parameters The first parameter is the user ID to run Apache under for this website The second parameter is the group ID to run Apache under for this website Remember to restart Apache after adding AssignUserId and you should be all set Some Benchmarks To benchmark mpm itk I used Apache s ab benchmark to load a simple phpinfo page 1 000 times I ran the benchmark five times and averaged the results mpm itk average of 37 01 seconds mpm prefork average of 6 21 seconds mpm itk benchmarks much better than suexec and suphp but is still quite a bit slower than mpm peruser Other Considerations It isn t just about performance Both suexec and suphp bring limitations to your PHP applications but mpm itk does not Because mpm itk puts the job of switching users in the right place at the heart of Apache it allows your code to run under mod php As a result your code is free to take advantage of any Apache features that aren t available to PHP CGI such as HTTP authentication support Another consideration is the impact on RAM and CPU Whilst you can definitely use mpm peruser to provide a faster solution it does involve a lot of effort in tuning the size of the process pools for each of the websites on a shared server On a shared hosting server you can t necessarily find one tuned configuration that always suits demand and it may not be worth your time to put the effort in anyway Although mpm itk is slower it doesn t need tuning for each individual website It s more of a fire and forget solution that might appeal to hosting providers who don t know and don t really need to care what your customers websites are Conclusions Although it needs to be compiled from source mpm itk provides the security of suexec and suphp with much greater performance than either of these solutions Although it performs worse than mpm peruser mpm itk doesn t require as much effort to configure and tune for best performance and its greater simplicity probably makes it better suited to shared hosting servers running a random collection of websites mpm itk is an option that you should seriously consider when designing your shared hosting server solution This article is part of The Web Platform an on going series of blog posts about the environment that you need to create and nurture to run your web based application in If you have any topics that you d like to see covered in future articles please leave them in the comments on this page About The Author Stuart has been writing PHP applications since 2003 and has been contributing to open source software since 1994 He was an early writer for php architect a co author of the Official Zend Certification Study Guide for PHP 4 and a regular speaker at conferences and user groups since 2004 When

    Original URL path: http://blog.stuartherbert.com/php/2008/04/ (2016-05-02)
    Open archived version from archive



  •