nginx: [emerg] open() “/usr/local/directadmin/data/users/apache/nginx_php.conf” failed

Upgarding DirectAdmin, and hit with this error. What I found from Google 1.60.1 fixes it (it was backported to 1.60 about an hour ago too, so, those latest releases not affected). It should have affected boxes only with additional free IPs and nginx. I have updated directadmin to latest version 1.61 but still Nginx not …

nginx: [emerg] open() “/usr/local/directadmin/data/users/apache/nginx_php.conf” failed Read More »

System error ‘[security.WindMcryptCbc.encrypt] extension ‘mcrypt’ is not loaded.’.

I don’t like error, but I have to fix the error, I note down here to do reference. I’m using CentOS 7, I think cause by upgraded from PHP 5 to PHP 7. I’m using DirectAdmin. What I found from internet The mcrypt extension has been abandonware for nearly a decade now, and was also …

System error ‘[security.WindMcryptCbc.encrypt] extension ‘mcrypt’ is not loaded.’. Read More »

How to change pkgcloud Openstack from Keystone API v2 to v3 for OVH

From my previous post, it gives example for php-opencloud for Openstack. You may using pkgcloud for nodeJS, so here is the example settings that you may need. If you are using pkgcloud and was using API v2, you should update the code to v3. The documents doesn’t provide detail for the setting on OVH. So …

How to change pkgcloud Openstack from Keystone API v2 to v3 for OVH Read More »

How to remove node_modules in git

You may accidentally add the node_modules or you forgot to add the node_modules directory to .gitignore list, no worry, you may remove it after you pushed to the git. First, add the node_modules in to the .gitignore After added the /node_modules and save it.