By dinapino
While while to setup ISPconfig3 the command bellow does not work for php7 sudo php5enmod mcrypt But i’ve upgraded to php7 so… How can it be adjusted for php7? ______________________________________– How do i add php7 in this line? After i tried adding php7.0 there my website stopped working.
We are going to replace the top block with a single command. It should look like this when you are finished:
<IfModule mod_suphp.c> AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml suPHP_AddHandler application/x-httpd-suphp
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
For Mac:
brew install php70-mcrypt
And restart your server. Example: sudo apachectl restart
Then you can verify by creating a file phpinfo() and looking for mcrypt module when viewing the file.
Or,
php -i "(command-line 'phpinfo()')" in the command line and look for mcrypt.
If you find mcrypt module, then it is installed successfully.
Issue Solved when installing php7.2-mcrypt
I was also facing the same issue. Check this link https://stackoverflow.com/q/48275494/7713811 to get the right solution for installing it in PHP
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
