LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-28-2007, 06:51 AM   #1
marvelade
LQ Newbie
 
Registered: Dec 2006
Location: Belgium
Distribution: Mac OS X; Ubuntu 8.04 in a VM
Posts: 27

Rep: Reputation: 16
Question problem installing mcrypt


Hi All.

I set up Ubuntu Server 6.06 with LAMP and installed phpMyAdmin. When I access phpMyAdmin from another pc through the network it gives me an error

"Cannot load mcrypt extension. Please check your PHP configuration."

When I try to install mcrypt according to the instructions given here:
http://www.alt-php-faq.org/local/95/

The console gives me the following error after running the "./configure --disable-posix-threads" command:

"configure: error: no acceptable C compiler found in $PATH"

Question 1: Do I really need the mcrypt extension?
Question 2: If yes, how can I resolve the 'no acceptable C compiler' error?

thanks in advance and best regards,
Marvelade.
 
Old 03-29-2007, 01:16 PM   #2
wpn146
Member
 
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
"configure" looks for a valid C compiler by attempting to compile and run a small C program. This tests that there is a C compiler available, and it can produce an executable output file, which when executed outputs an expected message. (This also tests that the assembler, linker, and default libraries are valid.)

By invoking "configure" you are preparing to compile "mcrypt" from source, which might not be necessary if you can find a compiled package in the format for your Linux distribution.
 
Old 03-30-2007, 03:15 AM   #3
marvelade
LQ Newbie
 
Registered: Dec 2006
Location: Belgium
Distribution: Mac OS X; Ubuntu 8.04 in a VM
Posts: 27

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by wpn146
By invoking "configure" you are preparing to compile "mcrypt" from source, which might not be necessary if you can find a compiled package in the format for your Linux distribution.
Hey wpn146,

Thx for your reply. I found a .deb file on the web which I was told is the correct format for Ubuntu. I use Ubuntu Server 6.06 mainly as an internal web-server for our company's intranet which I wrote in PHP.

I'll try to set this up and post my success (i hope ) here when I finish.


greetz & thx again,
marvelade
 
Old 03-30-2007, 10:28 AM   #4
marvelade
LQ Newbie
 
Registered: Dec 2006
Location: Belgium
Distribution: Mac OS X; Ubuntu 8.04 in a VM
Posts: 27

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by marvelade
I'll try to set this up and post my success (i hope ) here when I finish.
there were some dependencies which were not present but after manually installing those it worked fine . Thanks for the pointers and best regards,

marvelade(.com)
 
  


Reply

Tags
apache, php


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Encounter problems when installing mcrypt chu2654 Linux - Server 1 11-19-2006 05:23 PM
using mcrypt from commandline Hano Linux - Security 5 12-11-2004 09:17 AM
using mcrypt Hano Linux - Software 0 12-06-2004 03:47 PM
php-mcrypt? nigeledge Linux - Software 0 10-03-2004 09:39 AM
php and mcrypt mayankjohri Linux - General 3 06-29-2002 04:20 AM


All times are GMT -5. The time now is 03:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration