Merging multiple PHP script into a single file

前端 未结 6 2011
礼貌的吻别
礼貌的吻别 2021-02-05 07:59

I have a PHP script which includes one or two other libraries it depends on using the \'include\' statement. To make it more easily portable, I would like to someho

6条回答
  •  难免孤独
    2021-02-05 08:42

    Newer versions of PHP support a concept similar to jar files in java. Take a look at phar. You could package all of your application files into a single archive and run that.

提交回复
热议问题