How to decrypt a Jasypt-encrypted string in PHP?

This may be an impossible question, but I am migrating a legacy system from Java over to PHP, and I need to be able to decrypt strings encrypted with Jasypt in PHP. According to the documentation,...

phpMyAdmin isn't working

When I run phpmyadmin it shows me this message: phpMyAdmin - Error The mysqli extension is missing. Please check your PHP configuration. <a href="Documentation.html#faqmysql"...

AES encryption in php and then decryption with Javascript (cryptojs)

I'm searching for a way to make a 2 way encryption of a simple text (5 to 6 numbers and/or characters). The catch is that i want to make the encryption in php and then decrypt it via Javascript....

How to use the php that brew installed?

On my mac I've got php installed and working fine. I recently wanted to install mcrypt, so I did so using brew. Although it seemed to install fine, it doesn't show up in my phpinfo(). So I think...

Ubuntu Nginx/Laravel 500 Internal Server Error

When I try to access say: Http://localhost/page I get a 500 Internal Server Error from nginx. 500 Internal Server Error nginx/1.1.19 is all it states on the page. In the log file I get this error:...

Laravel: Controller does not exist

I added new controller in /app/controllers/admin/ folder and added the route in /app/routes.php file as well. Then i run the following command to autoload them php artisan dump-autoload I got the...

ERROR: Build process returned exit code 137 during Docker build on Tutum

I've set a new repository on Tutum linked to a Github repository. This project built successfully on my local machine but it fail on Tutum after 4 hours and give me the following logs. Step 27 :...

Where can I get php-mcrypt for PHP 7?

I've upgraded PHP to PHP 7 and am now seeing the following error Use of undefined constant MCRYPT_MODE_ECB. I am running CentOS 7 and having trouble updating php-mcrypt. I found it on Arch Linux...

Install node in Dockerfile?

I am user of AWS elastic beanstalk, and I have a little problem. I want to build my CSS files with less+node. But I don`t know how to install node in my dockerfile, when building with...

Install pip in docker

I'm not able to install pip in Docker. Here's my Dockerfile: FROM ubuntu:14.04 # Install dependencies RUN apt-get update -y RUN apt-get install -y git curl apache2 php5 libapache2-mod-php5...

What is an openssl iv, and why do I need a key and an iv?

I am about to use the following script to encrypt and decrypt some data. I am using it because my current encryption does not work on our new server. We are currently using mcrypt so I want to...

Heroku Laravel 4.2 Mcrypt PHP extension required

I am a newbie into Heroku and I know many similar questions have been asked on stackoverflow for this but I could not find any solution that works for me. I am getting the following issue when...

php-fpm process receiving SIGKILL signal in Kubernetes

I have created the ubuntu docker image with Nginx, PHP and php-fpm configured in it. It is working fine when I am running it on Docker instance. But when I run the same image in kubernetes, the...

Running composer install within a Dockerfile

I'm trying to Dockerize my laravel app. The app is already built and in git, but I .gitignore my vendor folder. I've added a Dockerfile, which looks like this: FROM php:7.1-fpm-alpine RUN apk...

How to install mcrypt php 7.2.3 extension in xampp for windows?

My PHP Version 7.2.3 and xampp pack do not have the mcrypt extension. It is not mentioned in the phpinfo() neither in the php.ini file in order to enable it. I have downloaded mcrypt from this...

Cannot start apache automatically with docker

I made a simple custom docker setup for php development. So far everything works as expected. The only thing that I cannot figure out is why apache2 does not start automatically. Here is my...

Install mcrypt on mac php7.2 MAMP

I tried following most of the tutorials here on stack overflow but got no...

How to install PHP composer inside a docker container

I try to work out a way to create a dev environment using docker and laravel. I have the following dockerfile: FROM php:7.1.3-fpm RUN apt-get update && apt-get install -y libmcrypt-dev \ ...

Missing PHP extension zip when trying to install laravel from composer

I have seen this question answered on other posts here, but none of the answers work for me. Mostly because I'm trying to install laravel locally on my mac and the answers are for Linux...

php_network_getaddresses: getaddrinfo failed error in Docker's adminer

I have problem with access to adminer in my docker container with laravel 5/mysql app. I got error : SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name does not resolve My...

Symfony 4.1 PHP 7.2.10 Notice: iconv(): Wrong charset, conversion from `UTF-8' to `UTF-16BE' is not allowed

Ok, so I have searched other questions without success. I am getting this error on a virtual box, which I cannot alter in any way. MBString is enabled IconV is enabled An exception has been...

Error relocating - symbol not found - building docker-fpm-alpine image

Trying to create an image (from a working one) I got this error, been googling the solution but couldn't find a proper one, I asume something's wrong with libraries. Don't fully understand what...

Getting error to run test cases from bit-bucket pipeline( working on localhost direct test cases)

I am using lmc-eu/steward to write test cases with selenium server in php i am running this test cases direct command that is working fine but as i have added it in bitbucket pipeline then its...

'composer install' command fails on Docker giving 'SSL Operation Failed with code 1' error

I am on the Windows machine, with Docker running. Docker image is FROM php:7.3-apache. with System : Linux b6df004de9df 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 having Composer...

How to run websockets with docker container start in laravel application

I am new to Docker and WebSockets. I am using docker in my one of the laravel project. I have followed steps from the following link to setup dockerlaravel+docker. Also, I installed WebSockets...

How to upload large docker images to google container registry?

I'm creating a lap image from this (https://github.com/ulsmith/alpine-apache-php7) and in my application, I have a 2.5 GB folder of images the image is built successfully but when I try to push it...

failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed

My Dockerfile FROM centos:7 # Install Apache RUN yum -y update RUN yum -y install httpd httpd-tools # Install EPEL Repo RUN yum install...

Laravel 8, Docker Apline and Xdebug

I have created my own docker-compose and DockerFiles for a Laravel app. Everything is working as expected, but I can't get Xdebug to work. I've run through a few tutorials on Xdebug with Windows,...

Permissions error in WordPress setup with Mariadb + NGINX and custom php-fpm Dockerfile

I'm trying to configure a WordPress installation based on docker-compose and with official docker images and a custom Dockerfile based image for the php-fpm part. The docker-compose is like...

PHP openssl_decrypt failed to decrypt file using tripledes algorithm

This question will be a bit long, please bear with me I have a legacy system that uses tripledes with mcrypt to encrypt files. Since mcrypt is deprecated, I tried to change the encryption function...