PHP Warning: phpinfo(): It is not safe to rely on the system’s timezone settings.

Having set the PHP Engine running on Domino Server; Any/All request to access to some PHP files filling up my log.nsf of this type of entries and warning:

PHP Warning:  phpinfo(): It is not safe to rely on the system's 
timezone settings. You are *required* to use the date.timezone 
setting or the date_default_timezone_set() function. 
In case you used any of those methods and you are still 
getting this warning, you most likely misspelled the timezone 
identifier. We selected the timezone 'UTC' for now, 
but please set date.timezone to select your timezone. 
in E:\IBM\Lotus\Domino\data\domino\html\info.php on line 4

One more thing is needed to be set into the php.ini file:

Set this line:

date.timezone = "UTC"

Or and based on your location; including the list of Supported Timezones

http://pl.php.net/manual/en/timezones.php

Domino server running PHP CGI /Install/implement PHP on Domino Windows Server

I have been looking the trick to run PHP engine into a Domino server;

By default, Domino Server does not support PHP; However I am including the step by step instructions on how to implement it into Domino Server on Windows Machine.

You need first the PHP binaries:

http://windows.php.net/download/

I have been using the version (5.4.9), downloadable here.

– Uncompress the content of this zip file.

Continue reading “Domino server running PHP CGI /Install/implement PHP on Domino Windows Server”

Domino hiding SMTP header items

I needed to hide server version and Domino information ‘leakage’ in MIME information, follow the steps below to hide this information.

To hide the senders client information which is  Lotus Notes 6.5.3 as indicated by the X-Mailer line, then you would include the field “$XMailer” as one to be hidden from the SMTP header. Also, the X-MIMETrack field above shows information about all the SMTP servers that have itemized and serialized the SMTP message on it’s travels to my IBM account. Hiding the $MIMETrack  will force the outbound Domino server to not include any information about the serialization and itemization when it leaves Domino. Finally specifying the Received field will remove information in the Received field of the message about previous hops that the message has taken in your internal system.

Continue reading “Domino hiding SMTP header items”

Domino Server installation on Linux (Centos or Redhat)

I have been struggling a little, on the configuration steps until I figured that these steps could be done remotely from a Windows Machine.

I have been taken Centos 5.7 x64 and Domino 8.5.1 and Windows Machine. (Windows)

An additional machine is needed to install the Lotus Notes Administrator in order to configure and setup the Domino Server remotely and manage it later on.

Let start by installing the Domino server on the Linux machine; Before starting to install you do need to prepare the platform.

Continue reading “Domino Server installation on Linux (Centos or Redhat)”