by Andrew Johnstone
Lately, i’ve been reading Advanced PHP Programming, by George Schlossnagle, which I must say is an excellent book. Below is an excerpt, which I find particularly interesting on the topic of error handling.
“Production Display of Errors
How to notify users of errors is often a political issue. All the large clients I have worked for have [...]
Update: I tested the script in my previous post to generate domains on an alternative server and it worked flawlessly (Not quite sure why, and I need to test further). However, one of the features that are missing from Plesk is to create aliases of domains. Through the Plesk API, you can create a redirect [...]
Today I was trying to generate domains through Plesk with the RPC API, the following actually creates the domain, despite throwing the following error. Looking at the domain in plesks admin it states “Hosting (Domain has no hosting configured)”. Once configuring the domain through the “Physical hosting setup page for domain testdomaingeneration3.waidev6.com” interface page successfully [...]
I can never seem to remember, how to remember how to reconfigure a subdomain with plesk without looking it up, so for quick reference.
<directory /home/httpd/vhosts/ajohnstone.com>
php_admin_value open_basedir none
</directory>
/usr/local/psa/admin/sbin/websrvmng -a
OR
/usr/local/psa/admin/sbin/websrvmng -u –vhost-name=domain.com
Also, today I learnt that you cannot attach the onmouseover event to an option element. I found this rather odd, despite never having attempted [...]
MySQL Install multiple instances.
Create a folder called Conf with Instance.1.ini, Instance.2.ini, and Instance.3.ini.
The Port each are listening on should all differ, as well as having a different data directory.
I named these
C:\Program Files\MySQL\MySQL Server 5.0\MySQLData\Instance1
mysqld –install "Mysql-Instance-1" –defaults-file="C:\Program Files\MySQL\MySQL Server 5.0\Conf\Instance.1.ini"
mysqld –install "Mysql-Instance-2" –defaults-file="C:\Program Files\MySQL\MySQL Server 5.0\Conf\Instance.2.ini"
mysqld –install "Mysql-Instance-3" –defaults-file="C:\Program Files\MySQL\MySQL Server 5.0\Conf\Instance.3.ini"
in the ini file [...]
I was interested in integrating PHP and SharePoint services, and using Microsoft Word 2003 (Or other MS Office Products) to upload documents directly to PHP, here are some of my observations.
PHP Session Cache Limiter and Quirk in internet explorer & QCodo Framework…
Ilia Alshanetsky released
NT Auth on LAMP, IE, & Firefox
Apache & IIS Multiple Address on Port 80
Andrew Johnstone is a software engineer / lead developer working at Everlution Software.