Tags » PHP 2

Fixing missing Authorization Headers

It’s something to do with using PHP FPM / Fast CGI, and auth headers being disable for that.

So we add this to the directory entry of the .htaccess: 11 more words

Php

So I decided to install Java ...

I’m not a Java coder. I work primarily in PHP, with Python on the side. I’ve been rewriting an old PHP project to conform with modern standards, including testing. 344 more words

Command Line

PHPUnit

phpunit testing:

  • Installation:
    • composer require –dev phpunit/phpunit
  • Usage on cli:
    • If it’s installed with composer in your project folder:
      • go to your project folder …
  • 247 more words
PHP

manage your project by separating local and production repository [bitbucket] [git]

Imagine you develop a website on your development server, store the source code in a remote repository and deploy to a production site. Let’s assume you just finished a new feature. 1,462 more words

Web Technology

PHP Development with Docker

I recently started a new project, called NWPublish, and i thought to myself: “Wouldn’t it be nice if i could test it in a sandbox?”. 207 more words

Php

[trick] Menambahkan Library ESC/POS di Codeigniter

Bismillah…

Kebetulah dikantor lagi dapet maenan baru, printer epson series tm-u220d kayak gini:

Terus, karena ngoding langsung pake RAW-TEXT dari printer ribet, contoh RAW-TEXT dari Vendor Zebra kayak gini neh: 159 more words

Indonesia

[PHP]memory limit

Encountered problem :

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes)

Tempory solution for debug :

Add ini_set(‘memory_limit’, ‘-1’);  in for example index.php to turn off the default memory control of PHP. 44 more words

Php