• 宝塔安装BounceStudio扩展


    [root@ecs-59d4 package]# cd BounceStudioAPI-linux
    [root@ecs-59d4 BounceStudioAPI-linux]# ls
    BounceStudio.h  help  libBounceStudio32.so.3.7.0.962  libBounceStudio64.so.3.7.0.962  samples
    [root@ecs-59d4 BounceStudioAPI-linux]# cp BounceStudio.h /usr/local/include/
    [root@ecs-59d4 BounceStudioAPI-linux]# ls
    BounceStudio.h  help  libBounceStudio32.so.3.7.0.962  libBounceStudio64.so.3.7.0.962  samples
    [root@ecs-59d4 BounceStudioAPI-linux]# cd /usr/local/include/
    [root@ecs-59d4 include]# ls
    BounceStudio.h  ltdl.h  mcrypt.h  mhash.h  mutils
    [root@ecs-59d4 include]# cd -
    /package/BounceStudioAPI-linux
    [root@ecs-59d4 BounceStudioAPI-linux]# ls
    BounceStudio.h  help  libBounceStudio32.so.3.7.0.962  libBounceStudio64.so.3.7.0.962  samples
    [root@ecs-59d4 BounceStudioAPI-linux]# ll
    总用量 1248
    -rw-r--r--. 1 root root   2387 412 2019 BounceStudio.h
    drwxr-xr-x. 3 root root     36 412 2019 help
    -rwxr-xr-x. 1 root root 695956 412 2019 libBounceStudio32.so.3.7.0.962
    -rw-r--r--. 1 root root 575472 412 2019 libBounceStudio64.so.3.7.0.962
    drwxr-xr-x. 8 root root     90 412 2019 samples
    [root@ecs-59d4 BounceStudioAPI-linux]# chmod +x libBounceStudio64.so.3.7.0.962 
    [root@ecs-59d4 BounceStudioAPI-linux]# ll
    总用量 1248
    -rw-r--r--. 1 root root   2387 412 2019 BounceStudio.h
    drwxr-xr-x. 3 root root     36 412 2019 help
    -rwxr-xr-x. 1 root root 695956 412 2019 libBounceStudio32.so.3.7.0.962
    -rwxr-xr-x. 1 root root 575472 412 2019 libBounceStudio64.so.3.7.0.962
    drwxr-xr-x. 8 root root     90 412 2019 samples
    [root@ecs-59d4 BounceStudioAPI-linux]# cp libBounceStudio64.so.3.7.0.962 /usr/local/lib
    [root@ecs-59d4 BounceStudioAPI-linux]# ls
    BounceStudio.h  help  libBounceStudio32.so.3.7.0.962  libBounceStudio64.so.3.7.0.962  samples
    [root@ecs-59d4 BounceStudioAPI-linux]# ln -s /usr/local/lib/libBounceStudio64.so.3.7.0.962 /usr/local/lib/libBounceStudio64.so
    [root@ecs-59d4 BounceStudioAPI-linux]# echo /usr/local/lib > /etc/ld.so.conf.d/BounceStudio.conf
    [root@ecs-59d4 BounceStudioAPI-linux]# ldconfig
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    [root@lavm-o16fkzb09v BounceStudioAPI-linux]# cd samples/PHP/src/
    [root@ecs-59d4 src]# ls
    config.m4  php_bouncestudio.c  php_bouncestudio.h
    [root@ecs-59d4 src]# /www/server/php/56/bin/phpize
    Configuring for:
    PHP Api Version:         20131106
    Zend Module Api No:      20131226
    Zend Extension Api No:   220131226
    [root@ecs-59d4 src]# ls
    acinclude.m4  autom4te.cache  config.guess  config.m4   configure     install-sh  Makefile.global  mkinstalldirs       php_bouncestudio.h
    aclocal.m4    build           config.h.in   config.sub  configure.in  ltmain.sh   missing          php_bouncestudio.c  run-tests.php
    [root@ecs-59d4 src]#  ./configure --enable-bouncestudio --with-php-config=/www/server/php/56/bin/php-config
     make CFLAGS="-lBounceStudio64 $CFLAGS"
    extension = /package/BounceStudioAPI-linux/samples/PHP/src/modules/bouncestudio.so
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
  • 相关阅读:
    【原创】C++中vector与remove()函数
    Credo推出业界首款单片集成CMOS VCSEL驱动器的800G光DSP芯片
    【电路理论】ArcGIS pro运行Linkage map3.0
    [云原生] 二进制k8s集群(下)部署高可用master节点
    Python编程基础:深入理解值类型与引用类型及其在数据处理中的关键作用
    金仓数据库KingbaseES客户端编程开发框架-Hibernate Spatial(3. Hibernate-Spatial 配置)
    矩阵分析与应用+张贤达
    uniapp通过url或base64打开pdf文件
    Selenium 测试篇之 PhantomJS 浏览器 环境部署
    C#作为客户端http通讯
  • 原文地址:https://blog.csdn.net/kevlin_V/article/details/133887350