lamp
How to create a certificate for local development with SSL?
I’m new here but go to this site and the information there Creating a self signed Certificate
The server time zone value ‘CEST’ is unrecognized
@aiman’s answer is not correct since in your case the effective server timezone is not UTC. You’ll find on the net some solutions including additional parameters on the jdbc connection string, but there are cases where you cannot change this string. Here’s how I fixed it: First import the system timezones in mysql: $ mysql_tzinfo_to_sql … Read more
What is Options +FollowSymLinks?
You might try searching the internet for “.htaccess Options not allowed here”. A suggestion I found (using google) is: Check to make sure that your httpd.conf file has AllowOverride All. A .htaccess file that works for me on Mint Linux (placed in the Laravel /public folder): # Apache configuration file # http://httpd.apache.org/docs/2.2/mod/quickreference.html # Turning on … Read more
LAMP: How to create .Zip of large files for the user on the fly, without disk/CPU thrashing
You can use popen() (docs) or proc_open() (docs) to execute a unix command (eg. zip or gzip), and get back stdout as a php stream. flush() (docs) will do its very best to push the contents of php’s output buffer to the browser. Combining all of this will give you what you want (provided that … Read more
Docker : How To Dockerize And Deploy multiple instances of a LAMP Application
I recently went through analysis on Docker for this type of setup. I know there are some who view Docker as a sort of MicroVM, but my take is the Docker philosophy leans more toward single process per container. This tracks well with the Single Responsibility principle in programming. The more a Docker container does, … Read more
PHP errors NOT being displayed in the browser [Ubuntu 10.10]
Don’t just enable the first occurrence of display_errors in the php.ini file. Make sure you scroll down to the “real” setting and change it from Off to On. The thing is that if you settle with changing (i.e. uncomment + add = On) by the very first occurrence of display_errors your changes will be overwritten … Read more