devilbox | modern Docker LAMP stack and MEAN stack | Continuous Deployment library

 by   cytopia PHP Version: v3.0.0-beta-0.3 License: MIT

kandi X-RAY | devilbox Summary

kandi X-RAY | devilbox Summary

devilbox is a PHP library typically used in Devops, Continuous Deployment, Nginx, MariaDB, Docker, Wordpress applications. devilbox has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

The Devilbox has everything setup for you. The only thing you will have to install is Docker and Docker Compose. Virtual hosts and DNS entries will be created automatically, just by adding new project folders. Documentation: Setup Auto DNS | Setup valid HTTPS | Configure Xdebug | Customize PHP.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              devilbox has a medium active ecosystem.
              It has 4153 star(s) with 605 fork(s). There are 108 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 44 open issues and 581 have been closed. On average issues are closed in 68 days. There are 9 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of devilbox is v3.0.0-beta-0.3

            kandi-Quality Quality

              devilbox has 0 bugs and 1 code smells.

            kandi-Security Security

              devilbox has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              devilbox code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              devilbox is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              devilbox releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              devilbox saves you 44 person hours of effort in developing the same functionality from scratch.
              It has 118 lines of code, 1 functions and 2 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed devilbox and discovered the below as its top functions. This is intended to give you an instant insight into devilbox implemented functionality, and help decide if they suit your requirements.
            • Get document links
            • Returns navigation tabs
            • Get a table definition
            • Return the description of the database .
            • Get privileges .
            • Copy a table
            • Build a version
            • Create an inline crypt function for the mode .
            • Parse a value .
            • Returns a description of a collation
            Get all kandi verified functions for this library.

            devilbox Key Features

            No Key Features are available at this moment for devilbox.

            devilbox Examples and Code Snippets

            No Code Snippets are available at this moment for devilbox.

            Community Discussions

            QUESTION

            ORA-28547 with php-fpm in docker container
            Asked 2020-Oct-18 at 01:23

            I got a working php-fpm docker container acting as the php backend to a nginx frontend. What I mean by working, is that it renders phpinfo output in the browser as expected. My php-fpm container was produced by php-fpm-7.4 prod of the devilbox docker repo. It has OCI8 enable.

            The issue: I keep getting ORA-28547 when trying oci_connect

            What I have done:

            1--add /usr/lib/oracle/client64/lib to a file inside ld.so.conf.d and run ldconfig -v 2--restart docker container.
            3-- Now phpinfo shows ORACLE_HOME=/usr/lib/oracle/client64/lib

            4--Add tnsnames.ora to /usr/lib/oracle/client6/lib/network/admin (there is a README.md file inside that folder that even tells you to do that) 5--Restart docker container again. 6-oci_connect still fails with the same error.

            What I am missing?

            Thank you very much for any pointers, I think I have browsed to the end of the internet and back without finding a solution yet.

            ----SOLUTION: reinstall instantclient, relink libraries (ldconfig) to use new instantclient libraries. Create modified dockerfile to do it when container is created.

            I modified the Dockerfile file of the php-fpm to add new instant client files and not the one that were provided by the original file. I was not able to make it work with them. I have tried a few times rebuilding the image (docker-compose up --build) and this is the file that does the trick:

            FROM devilbox/php-fpm:7.4-work

            #instantclient.conf content: /opt/instantclient RUN echo "/opt/instantclient" >/etc/ld.so.conf.d/instantclient.conf

            WORKDIR /opt

            RUN wget https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-sdk-linux.x64-19.8.0.0.0dbru.zip

            RUN wget https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-sqlplus-linux.x64-19.8.0.0.0dbru.zip

            RUN wget https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-basic-linux.x64-19.8.0.0.0dbru.zip

            RUN unzip instantclient-sdk-linux.x64-19.8.0.0.0dbru.zip

            RUN unzip instantclient-sqlplus-linux.x64-19.8.0.0.0dbru.zip

            RUN unzip instantclient-basic-linux.x64-19.8.0.0.0dbru.zip

            RUN mv instantclient_19_8 instantclient

            ADD tnsnames.ora /opt/instantclient/network/admin

            RUN ldconfig -v

            CMD ["php-fpm"]

            expose 9000

            ...

            ANSWER

            Answered 2020-Oct-17 at 16:08
            # Insert following to .bash_profile or .profile of the User starting the php-fpm
            export ORACLE_HOME=/usr/lib/oracle/client64
            export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
            export PATH=$PATH:$ORACLE_HOME/bin
            export TNS_ADMIN=$ORACLE_HOME/network/admin
            # Test to Ping Remote Db to be connected  by PHP 
            tnsping 
             # restart here the php Engine 
            

            Source https://stackoverflow.com/questions/64403671

            QUESTION

            DEVILBOX : Using symlinks for data/www/{symbolic_link}
            Asked 2020-Oct-11 at 10:33

            There is anyway to add custom folder using symbolic link into data folder in Devilbox ? When i put the symbolic link the Auto Virtual Host ignore the folder.

            Thank You.

            ...

            ANSWER

            Answered 2020-Oct-11 at 10:33

            Ok, i make it work. For future reference, make all the root folders by hand, but inside of the root folders symbolic links are accepted.

            data/www/proj-slug/{htdocs} com o {htdocs} -> ~/git/proj-slug

            Source https://stackoverflow.com/questions/64284309

            QUESTION

            php-fpm: settings in mods-available/xdebug.ini have no effect
            Asked 2020-Oct-03 at 07:55

            I'm trying to apply custom xdebug settings via editing mods-available/xdebug.ini but when I restart php-fpm there are only the default settings applied. There are no related errors in the error logs visible.

            What could be the reason that the custom settings are not applied?

            ...

            ANSWER

            Answered 2020-Oct-03 at 07:55

            When trying to find out which modules are enabled via the php-cli command "php -m" I got a list of enabled modules but also an error message right above the list:

            Source https://stackoverflow.com/questions/64181961

            QUESTION

            Use Docker env vars with PHP 5.2.x
            Asked 2020-Jul-25 at 02:10

            I have inherited some code that was written with PHP 5.2, and rather than installing myself, I have it running in a Docker container.

            This system also depends on MySQL, so using Docker Compose and extracting the database credentials to a more secured location...

            ...

            ANSWER

            Answered 2020-Jul-23 at 13:52

            most probably those env are overridden somewhere in image you are using. docker compose allows to define a command to run on startup. So you can override env vars on startup to whatever you need:

            Source https://stackoverflow.com/questions/63040892

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install devilbox

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            The Devilbox has a lot of features reaching from a simple single-user development environment that works out of the box up to a shared development infrastructure for a corporate network. In order to be aware about all that features, ensure to have skimmed over the documentation, so you know what can be done and how that might simplify your every-day life. If you ever run into any unforseen issues, feel free to join the chat or visit the forums and get community support quickly.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link