I installed php 5.3.8 from source on Ubuntu 10.10 and now i need mcrypt. I also installed mcrypt from source and restarted apache but still i am not able to see it in my php configuration. I understand i would need a mcrypt.so
in my php extensions directory. I have installed a lot of extensions and like xdebug and apc and dont want to go through the pain of installing them again.
Now how can i install mcrypt without re-installing php and passing mcrypt as a parameter to configure?
Php – how can i install enable mcrypt without re-installing php
mcryptPHP
Related Topic
- Php – How to install a new PHP extension on IIS 7.5
- Centos – How to install APC and Memcache on CentOS WITHOUT installing the PHP package
- Centos – Installed php-mcrypt but it doesn’t show up in phpinfo()
- Windows – PHP APC Accelerator completely breaks Apache2 on Windows
- Php – Configuration Issues with PECL and PHP-FPM
- Ubuntu – How to install/enable GMP (math functions) for PHP on Ubuntu
- Linux – Installing PHP extensions on Linux
Best Answer
Usually where you extracted the source you can find the source for all the modules as well. In this case, I think under the "ext" directory. So from the source folder:
Then edit your php.ini and add:
Finally, restart Apache. And I think that should do it for you.