Posts filed under 'Windows'

PHP timezone settings

I just did a fresh install of AMP and the first php app I installed gave me the following error.

Warning: date() []: 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 ‘UTC’ for ‘UTC/0.0/no DST’


It turned out to be a quick fix.

First go to this page and find the syntax for your timezone.

Once you have this edit your php.ini file and add the following to it

(If you are using a distro ini search for date to find the example)

date.timezone = “America/New_York”
Exchange the proper timezone for your region




Add comment May 7th, 2011

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 61738644-F196-11D0-9953-00C04FD919C1

follow these steps:

1. Start ->Run-> regedit

2. Copy the GUID following the CLSID above

3. In the registry editor, ensure that your cursor is on the computer at the beginning of the tree

4. From the menu, Edit->Find, paste in the GUID. It’ll stop at the application entry – and you will want to note the application name on the right side pane. In this example, it was the IIS WAMREG admin service that popped up.

5. Start–>Administrative Tools–>Component Services

6. Expand Component Services, Computers, My Computer, DCOM Config. Scroll down and find the application (IIS WAMREG in this case)

7. Right-click on IIS WAMREG Server, select Properties and select the Security tab

8. Launch and Activation Permissions, ensure that the Customize radio button is selected, and click Edit

9. Add your service account, giving it launch and activate and in some requirements – remote launch / activate permission

10. Restart IIS and continue on

Add comment April 12th, 2011


December 2018
« May    

Posts by Month

Posts by Category