GIDForums  

Go Back   GIDForums > Web Hosting Forums > Web Hosting Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 20-Aug-2003, 08:40
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Post

[Linux] Installing PHP --with-mcrypt


I recently discovered the wonders of encryption / decryption using PHP and MCrypt. So this is just some notes to help me keep track of my progress with it (since I consider myself to be a Linux newbie STILL)... hopefully it attracts some comments, suggestions and corrections.

Getting the mcrypt library
  1. Go to http://mcrypt.hellug.gr/lib/index.html and download the appropriate version for yourself.
  2. As soon as you've extracted the files, run ./configure with the required options. On my first attempt my configure line was:
    Code:
    ./configure --disable-posix-threads
  3. After running make and make install, you're done with installing the mcrypt library.

Installing PHP --with-mcrypt
This was my configure line for PHP:
Code:
./configure --host=i386-redhat-linux \ --build=i386-redhat-linux \ --target=i386-redhat-linux-gnu \ ... all the other options ... --with-mcrypt=/usr

As usual, as soon as you're done with make and make install for PHP, start Apache / Httpd and you can start writing, testing and experimenting your PHP encryption / decryption scripts (using mcrypt).
 
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimizing your web server with Turck MMCache for PHP JdS Web Hosting Forum 2 07-Jan-2004 07:48
apache2 - php cgi fehler - schleife inna Apache Web Server Forum 8 27-Nov-2003 09:55
Automate a data change php form mjfmn MySQL / PHP Forum 4 20-Oct-2003 09:37
[Linux] - Installing PHP 4.3.2 JdS Computer Software Forum - Linux 1 14-Jul-2003 05:50
All the big PHP script collections that matter jrobbio MySQL / PHP Forum 5 06-Jun-2003 16:14

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 02:29.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.