Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
PHP module H114
Sourcing, installing and configuring PHP
Exercises, examples and other material relating to training module H114. This module is presented on Private Courses and Specially Run Courses only

PHP comes standard with some operating systems and with many ISP web space accounts. However, some of our trainees require to source and install it for themselves. We cover installation under Windows (XP), Unix, Linux and Mac OS X.

Related technical and longer articles
Sourcing, installing and configuring PHP

Articles and tips on this subjectupdated
4437Adding a PHP build option, rotating an image based on camera data, and a new look at thumbnails in PHP
A real pleasure to do a bit of image manipulation in PHP, and to install an extra module onto our PHP web server. Not common tasks, but ones we have to do occasionally. Summaries ... Installing the exif module onto my existing PHP. Note that each build updates config.nice so that adding an option ...
2015-02-22
 
4319PHP - some quick fixes if scripts have issues, and how to use our support
PHP is a language which is highly configuable throguh the php.ini file - and indeed there are options added / that go away in that file between releases too. So sometimes you'll get warning messages from our scripts even though they work completely correctly for us. All of this is explained on our ...
2014-11-19
 
3955Building up from a small PHP setup to an enterprise one
I've often described Well House Consultants as a "mom and pop" company - a small outfit where we provide a niche service (IT Training and a business hotel in Melksham). We make heavy use of PHP on our web sites, and it serves us very well, being quick and easy for us to code and running well on our ...
2013-01-05
(longest)
3635Parse error: parse error, unexpected T_STRING on brand new web site - why?
A brank new web site, written with standard commercial software, running on one of our dedicated servers which has dozens of other sites on it, with standard installs of Apache httpd, MySQL and other LAMP componets (Perl, PHP and Python) - and yet the following error: Parse error: parse error, unexpected ...
2012-03-10
 
3132Virtual Hosting with Apache http server - an overall scheme, and avoiding common pitfalls
During many of our courses, I write code snippet examples and add them to our website so that the delegates can refer back to them later - and they also form an ongoing resource for others who happen to be looking for examples. But on our Linux Web Server (LAMP) courses, there's far less original code ...
2011-01-14
 
1731Apache httpd, MySQL, PHP - installation procedure
If you're installing LAMP (Linux, Apache, MySQL, PHP), what do you do and in which order? Here's a summary of the procedure we followed on todays Apache httpd deployment course - in this case running (tailored) for a single company audience, and tailored for specfic needs. (I've documented this and ...
2010-06-23
 
2646Compile but do not run PHP - syntax check only
The -l option to PHP on the command line compiles but does not run the code in the file - so it's very useful for syntax checking your code. Here's an example where I tested a file with a deliberate mistake: -bash-3.2$ php -l wsse.php Parse error: syntax error, unexpected '{', expecting '(' in wsse.php ...
2010-03-03
 
2589Your PHP code does not work? Here is where to start looking.
If people take the trouble to write to me and ask for help when one of the examples on our web site isn't working for them, the least I can do is to provide them with a few pointers. But it's really hard for me to provide help when the questioner doesn't tell me the symptoms of what's wrong. Would ...
2010-01-18
 
2433Controlling, supressing, enabling PHP error messages
Q: "How can I suppress the PHP error messages?" Q: "I get no error messages - how can I tell what is going wrong in my PHP" Q: "Can I replace the PHP error messages with my own" However PHP is configured, there is no satisfying everyone ... and it's a mystery to many people who install PHP code as to ...
2009-10-03
 
2317How to make a Risotto (PHP build style)
Written on last night's long flight ... posted today Talking with Gisela, seated next to me on this Mexicana flight, I have learned why my Risottos are always sticky. Basically, wrong ingredients and wrong cooker method! Here's her recipe, from Buenos Aires via Mexico City ... Take some carnaroli ...
2009-08-02
 
1936Quick Summary - PHP installation
For Course Delegates - a quick reminder of the crucial commands. The numbers alongside the commands are just the history numbers! As your regular user: 1012 tar xzf bristol/php-5.2.5.tar.gz 1013 cd php-5.2.5/ 1015 vi INSTALL 1027 ./configure --with-apxs2=/usr/local/httpd_2.2.10/bin/apxs ...
2008-12-11
 
1768What is built in to this httpd and PHP?
If you build your own tailored Apache httpd and PHP, you should take a full backup when you're done, and also fully document which options you selected and modules you included in the build. You SHOULD do so, of course ... but it's something that you can overlook all too easily. If you find yourself ...
2008-08-24
 
1688cannot restore segment prot after reloc message - PHP / httpd
Here's a message that we got yesterday when building some of the machines on our Lamp deployment course [root@easterton apache2]# ./bin/apachectl start Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: ...
2008-06-27
 
1667Checking server performance for PHP generated pages
I had a couple of reports recently about web pages from our site being a little slow to load, and my independent spy tells me that they're not bad, but not the world's fastest either. And a little thought lead me to conclude that could be because of the various PHP scripting elements included at the ...
2008-06-07
 
934Clustering, load balancing, mod_rewrite and mod_proxy
"It's not friendly - it's like a reference book". Customer comment on yesterday's tailored training day, where we were load balancing a web application between a number of back end servers, using Apache httpd, with mod_proxy and mod_rewrite to do the clever bits. Our customers are right - it IS tough ...
2006-11-26
 
192Current MySQL and PHP paths and upgrades
Upgrading from PHP 4 to PHP 5 Upgrading from MySQL 4.0 to MySQL 4.1 PHP5 was "production released" last July, and MySQL 4.1 became a "GA" release which is their equivalent later in the year. In both cases, the new release is not 100% "plug and play" compatible with the old, and at present most users ...
2006-06-05
 
Examples from our training material
ini.extras   Some commonly changed limits for PHP
railways.php   Start of an application in a page
yellowlion.php   Test for Apache httpd + PHP + MySQL interaction
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from [here].
Topics covered in this module
Sourcing.
Installing PHP.
Installation of PHP under an Apache Web Server on Windows XP Pro.
Installing PHP under OSX.
Configuring PHP.
Some choices for you to make.
Configurations to enable services.
Limits you can change.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Ruby, Lua, Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/H114.html • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb