Skip to content
  • PHP
    • Libraries
    • AMPPS
    • ORM
    • codeigniter
    • Laravel
  • MySQL
  • Javascript / JQuery
    • JQuery
  • Server
    • VPS / OS
  • APP
  • 工作筆記
    • Git
    • SmartAdmin
    • 好文章
      • 書單
  • GOOGLE
    • Angular JS
1211 月 2021 by Bryce No Comments
GCE 主機利用Docker快速架設ftp主機

GCE 主機利用Docker快速架設ftp主機

docker
目的:在GCE的VM中(Linux - Ubuntu 18.04)利用Docker架設ftp主機。 目前有一台剛裝好Ubuntu 18.04的VM,首先需要先執行建立Docker 更新ubuntu主機 [crayon-628e2b03bbfb652321357...
Read More
029 月 2021 by Bryce No Comments
Dockerfile 調整php的最大執行時間 max_execution_time

Dockerfile 調整php的最大執行時間 max_execution_time

docker
近期作了一個案子是需要透過Dockerfile建一個image環境,並安裝php等套件;其中一個因為需要長時間等待curl的回應,執行時間會超過上限。 為了配合GCP的Cloud Run在一開始就設定好環境,所以要把php的最大執行時間寫入Dockerfile...
Read More
048 月 2021 by Bryce No Comments
Google API 使用PHP取得Bigquery的數字型態

Google API 使用PHP取得Bigquery的數字型態

Cloud, GOOGLE
當使用API:google-cloud-php-bigquery來取回Bigquery時,會碰到一種型態(type)是NUMERIC,如下schema 而取得的中一個欄位資料是含小數點 而用api取回的資料會有提示他是一個「Google\Cloud\BigQu...
Read More
026 月 2020 by Bryce No Comments
讓Laravel識別Proxy Pass Reverse取得正確的URL

讓Laravel識別Proxy Pass Reverse取得正確的URL

Laravel
這陣子執行一個專案,其中VM使用Docker並架設多個Container,外層VM本體使用Apache(80 Port)並使用VirtualHost的技術,然後對針每個Container的連線Port作Proxy Pass。 (閱讀全文...)
Read More
171 月 2020 by Bryce 2 Comments
GCP 架設VM中的samba server防火牆

GCP 架設VM中的samba server防火牆

Server, vps
GCP上可以透過Compute Engine建立VM執行個體,但因為安全考量會預設不開啟任何Port,因此如果需要安裝samba server這類的東西,除了VM上本身安裝好外也需要另開啟PORT。 (閱讀全文...)
Read More
0511 月 2019 by Bryce No Comments
[PHP] Google Automl Tables API 取得dataset

[PHP] Google Automl Tables API 取得dataset

GOOGLE, PHP
最近gooogle api在取得response時,都會回傳一大包object,有時連手冊都沒有寫怎麼接這個object。 (閱讀全文...)
Read More
253 月 2019 by Bryce No Comments
Ubuntu 16.04 + php 7.3 修正 /libraries/plugin_interface.lib.php#532

Ubuntu 16.04 + php 7.3 修正 /libraries/plugin_interface.lib.php#532

PHP
今天在phpmyadmin上發生一件事,是匯入檔案時一直發生提醒 Warning in ./libraries/plugin_interface.lib.php#532 count(): Parameter must be an array or an obj...
Read More
063 月 2019 by Bryce No Comments

Ubuntu 18.04 重設 MySQL 5.7 的ROOT密碼

MySQL
在Ubuntu 18.04上安裝MySQL時,有設好了root的密碼;但在安裝phpmyadmin時,設定root密碼的地方明明就跳過沒輸入,可是後台登入時卻不能root使用。 (閱讀全文...)
Read More
174 月 2018 by Bryce No Comments
Laravel 網址無法正常顯示

Laravel 網址無法正常顯示

Laravel
在ubuntu 16.04 建置好一個laravel專案,除了首頁可正常運作外,其他皆失效? (閱讀全文...)
Read More
093 月 2018 by Bryce No Comments
Ubuntu 16.04 LTS 搭建Apache, MariaDB PHP7 (LAMP)、phpMyAdmin

Ubuntu 16.04 LTS 搭建Apache, MariaDB PHP7 (LAMP)、phpMyAdmin

vps
Ubuntu 16.04 LTS Xenial Xerus官方自帶PHP7,所以我們就不需要再藉助第三方PPA來安裝PHP7了。這篇介紹Ubuntu 16.04 LTS如何安裝Apache, MariaDB和PHP7及phpMyAdmin。 (閱讀全文...)
Read More

文章導覽

1 2 ... 13 下一頁

近期文章

  • GCE 主機利用Docker快速架設ftp主機
  • Dockerfile 調整php的最大執行時間 max_execution_time
  • Google API 使用PHP取得Bigquery的數字型態
  • 讓Laravel識別Proxy Pass Reverse取得正確的URL
  • GCP 架設VM中的samba server防火牆

標籤

ajax apache array CentOS codeigniter compose container csrf curl custom date db docker file filter ftps git google google analtics google api javascript jquery Laravel linux MariaDB mysql orm Paginator pdo php phpmyadmiin recursive Regular Expression samba selector server sql優化 Sublime token ubuntu update vps 分頁 觀念 資安
WordPress Theme - Total by HashThemes