Recompiling PHP For MCrypt Support

Apr 11, 2007

We've got a server over at MediaTemple, and unfortunately, it doesn't come with mcrypt enabled. I REALLY need this extension, as it is mission critical and was needed yesterday!
how to install mcrypt, libmcrypt, and then how I recompile PHP with Plesk or SSH? My server administration knowledge is very limited.

My server details are:

psa v8.1.0_build81070201.15 os_CentOS 4.2
Linux 2.6.9-023stab040.1-enterprise

View 14 Replies


ADVERTISEMENT

Recompiling PHP With JPEG Support For GD2

Jul 18, 2008

I've barely done any command-line in the past, but I've come into possession of my own dedicated box so I guess now is the time to learn.

Here are a few stats from phpinfo.php:

System Linux s1004.ohtele.com 2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:49:24 EDT 2008 i686 (I think it's CentOS)

Configure Command './configure' '--with-mysql' '--with-apxs2=/usr/sbin/apxs' '--with-zlib' '--with-bzip2' '--with-gd' '--enable-ftp' '--with-curl' '--with-mysqli'

How can I recompile PHP with proper GD support, because at the moment it can't work with jpeg's or animated gifs at all Are there any tutorials or anything about on this?

View 2 Replies View Related

Recompiling Php

Feb 8, 2007

I am trying to re-compile php. I recently added --enable-shmop --enable-module=so and now I get an error when running make. Here is the output.

Quote:

root@pr2 [~/installd/buildapache/php-4.4.2]# make
/bin/sh /root/installd/buildapache/php-4.4.2/libtool --silent --preserve-dup-deps --mode=link gcc -export-dynamic -g -O2 ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_dfa_exec.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_info.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_printint.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_try_flipped.lo ext/pcre/pcrelib/pcre_ucp_findchar.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/php_pcre.lo ext/ctype/ctype.lo ext/mysql/php_mysql.lo ext/mysql/libmysql/libmysql.lo ext/mysql/libmysql/errmsg.lo ext/mysql/libmysql/net.lo ext/mysql/libmysql/violite.lo ext/mysql/libmysql/password.lo ext/mysql/libmysql/my_init.lo ext/mysql/libmysql/my_lib.lo ext/mysql/libmysql/my_static.lo ext/mysql/libmysql/my_malloc.lo ext/mysql/libmysql/my_realloc.lo ext/mysql/libmysql/my_create.lo ext/mysql/libmysql/my_delete.lo ext/mysql/libmysql/my_tempnam.lo ext/mysql/libmysql/my_open.lo ext/mysql/libmysql/mf_casecnv.lo ext/mysql/libmysql/my_read.lo ext/mysql/libmysql/my_write.lo ext/mysql/libmysql/errors.lo ext/mysql/libmysql/my_error.lo ext/mysql/libmysql/my_getwd.lo ext/mysql/libmysql/my_div.lo ext/mysql/libmysql/mf_pack.lo ext/mysql/libmysql/my_messnc.lo ext/mysql/libmysql/mf_dirname.lo ext/mysql/libmysql/mf_fn_ext.lo ext/mysql/libmysql/mf_wcomp.lo ext/mysql/libmysql/typelib.lo ext/mysql/libmysql/safemalloc.lo ext/mysql/libmysql/my_alloc.lo ext/mysql/libmysql/mf_format.lo ext/mysql/libmysql/mf_path.lo ext/mysql/libmysql/mf_unixpath.lo ext/mysql/libmysql/my_fopen.lo ext/mysql/libmysql/mf_loadpath.lo ext/mysql/libmysql/my_pthread.lo ext/mysql/libmysql/my_thr_init.lo ext/mysql/libmysql/thr_mutex.lo ext/mysql/libmysql/mulalloc.lo ext/mysql/libmysql/string.lo ext/mysql/libmysql/default.lo ext/mysql/libmysql/my_compress.lo ext/mysql/libmysql/array.lo ext/mysql/libmysql/my_once.lo ext/mysql/libmysql/list.lo ext/mysql/libmysql/my_net.lo ext/mysql/libmysql/dbug.lo ext/mysql/libmysql/strmov.lo ext/mysql/libmysql/strxmov.lo ext/mysql/libmysql/strnmov.lo ext/mysql/libmysql/strmake.lo ext/mysql/libmysql/strend.lo ext/mysql/libmysql/strfill.lo ext/mysql/libmysql/is_prefix.lo ext/mysql/libmysql/int2str.lo ext/mysql/libmysql/str2int.lo ext/mysql/libmysql/strinstr.lo ext/mysql/libmysql/strcont.lo ext/mysql/libmysql/strcend.lo ext/mysql/libmysql/bchange.lo ext/mysql/libmysql/bmove.lo ext/mysql/libmysql/bmove_upp.lo ext/mysql/libmysql/longlong2str.lo ext/mysql/libmysql/strtoull.lo ext/mysql/libmysql/strtoll.lo ext/mysql/libmysql/charset.lo ext/mysql/libmysql/ctype.lo ext/overload/overload.lo ext/posix/posix.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_strtod.lo Zend/zend_execute.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo main/internal_functions.lo -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -o sapi/cgi/php
ext/mysql/libmysql/my_tempnam.o(.text+0x35): In function `my_tempnam':
/root/installd/buildapache/php-4.4.2/ext/mysql/libmysql/my_tempnam.c:115: warning: the use of `tempnam' is dangerous, better use `mkstemp'
ext/standard/image.o(.text+0x1718): In function `zif_getimagesize':
/root/installd/buildapache/php-4.4.2/ext/standard/image.c:209: undefined reference to `uncompress'
ext/standard/image.o(.text+0x1a52):/root/installd/buildapache/php-4.4.2/ext/standard/image.c:227: undefined reference to `uncompress'
main/output.o(.text+0x785): In function `php_ob_init_named':
/root/installd/buildapache/php-4.4.2/main/output.c:426: undefined reference to `php_ob_gzhandler_check'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
root@pr2 [~/installd/buildapache/php-4.4.2]#

View 3 Replies View Related

Plesk 12.x / Linux :: Mcrypt For Php 5.4?

Mar 14, 2015

I have get installing php .5.4 & 5.5 from Igor here

Mcrypt working good with php 5.3.3 and i need install mcrypt for php 5.4

View 3 Replies View Related

Recompiling Kernel

Feb 20, 2008

I am recompiling the kernel with the src rpm. I haven't been able to get any kernel to boot properly since i got this server.

I really could use some help, below i posted lspci, lsmod and cat interrupts. What I really need help with is which kernel modules are necessary for my server.

lspci: [url]
lsmod: [url]
interrupts: [url]

I have already tried a kernel with ext3, and sata support compiled in but it never boots.

View 5 Replies View Related

Plesk 12.x / Linux :: How To Install Mcrypt For PHP

Nov 5, 2014

I would like to know the process to activate or install mcrypt module on my php ?

I'm on
OS Ubuntu 10.04.3 LTS
Plesk 12.0.18

View 2 Replies View Related

Installing PHP Module Without Recompiling

Mar 20, 2007

I'm on a shared host that allows shell access. We need to install a PHP module -- they say we can, but they won't do it for us. Can anyone explain how we would accomplish that?

View 5 Replies View Related

Recompiling Php On A Dedicated Server

Aug 24, 2007

I am thinking of purchasing a dedicated server from godaddy (yes, I know). Their default php does not include the library I want (ming). So, could I just install ming and recompile php with ming support? It should be possible, right. I have asked this question to godaddy's email support, but they seemed unaware of what I meant.

View 8 Replies View Related

Plesk 11.x / Linux :: Adding Mcrypt Extension To PHP?

Feb 11, 2013

I would like to install mcrypt extension on my server and i don't find procedure .

My version is :

OSCentOS 6.3 (Final)
Version de Parallels Panel11.0.9 Mettre à jour #36, dernière mise à jour à Fév 8, 2013 06:32 PM

View 19 Replies View Related

Plesk 11.x / Linux :: PHP Extension - How To Install Mcrypt

Nov 21, 2014

How do I install PHP extension 'mcrypt' .

Magento require it to install

Plesk 11.5 Centos 5.6

View 13 Replies View Related

Invalid Command 'php_flag' - After Recompiling PHP & Apache?

May 14, 2008

After I recompiled Apache and PHP using easyapache from cPanel, we started getting all these weird errors. I'm getting a few people now complaining about not being able to enable register_globals. I believe (after searching) that having this enabled is a big security risk and shouldn't need to be used. However, some people apparently where using .haccess and php_flag to enable this. I did find on a few places that people can create their own php.ini file to emulate what was previously done with .htaccess?

After searching around..

I found out that Register Globals can become a security risk based on the scripts configuration that uses it. This feature normally can be enabled via .htaccess using the glad "php_flag register_globals On". Creating a file called php.ini inside the directory of the site with the flag "register_globals=on" I believe will also enable this option. To enable this option on a global scale, you can edit '/usr/local/cpanel/3rdparty/etc/php.ini', but its not recommended.

However.. We are unable to get the php.ini concept to work. Is there something I need to do to enable/allow users to do this for their account?

View 4 Replies View Related

Plesk 12.x / Linux :: No Mcrypt Extension For Magento Shop - Installation Failed Ubuntu

Mar 18, 2015

I used the search function. Im USING UBUNTU NOT CENTOS!

I set up an virtual ubuntu Server on a Proxmox Root. I used the .iso from plesk.

Now when i tried to start installing magento, there is the message, that there is no mcrypt installed.

I installed it using php5-mcrypt its done and i can see the folders and also te mcrypt.so and so on.

When i tried to install atomic there is the message that redhead is not available at /etc/readhead...

View 4 Replies View Related

Plesk 12.x / Linux :: Installing Mcrypt On Linux Centos 5.5 PHP 5.3.3

Jun 20, 2014

I am trying to install Magento on my apache server. I am running into the dreaded mcrypt issue as Magento needs it to run. I have now been googling for the past few hours and have gotten nowhere.

Here are my details:

Linux
Centos 5.5
PHP 5.3.3
x86_64
Plesk 12

I have tried installing all sorts of different repos and it just isn't working.

When I try to install using # yum install php-mcrypt I get the following:

Loaded plugins: fastestmirror
Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-5.5.13-3.el5.remi.x86_64 instead
--> Processing Dependency: php53-gd for package: psa-php53-configurator
--> Processing Dependency: php53-imap for package: psa-php53-configurator

[Code].....

View 6 Replies View Related

Apache Down In The Middle Of Recompiling Apache (via Whm)

Nov 12, 2008

In the middle of recompiling apache (via whm) after upgrading postgresql to 8.3, apache went down and remains down even after restart. Recompile is still in progress (about 15 minutes in)

tail -f /usr/local/apache/logs/error_log
[Wed Nov 12 15:24:44 2008] [warn] No JkShmFile defined in httpd.conf. Using default /usr/local/apache/logs/jk-runtime-status
[Wed Nov 12 15:24:44 2008] [notice] ModSecurity for Apache/2.5.7 (http://www.modsecurity.org/) configured.
[Wed Nov 12 15:24:46 2008] [warn] No JkShmFile defined in httpd.conf. Using default /usr/local/apache/logs/jk-runtime-status
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [alert] getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Wed Nov 12 15:24:46 2008] [notice] Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25 PHP/5.2.6 configured -- resuming normal operations
[Wed Nov 12 15:24:46 2008] [alert] Child 22588 returned a Fatal error... Apache is exiting!
httpd configtest
Syntax OK
ps -ef | grep ^httpd (no result)
Cpanel/Centos

View 4 Replies View Related

Flash Support And Real AudioVideo Support?

Mar 13, 2008

Has anybody heard of Flash Support and Real AudioVideo Support? MMHosting.com offers this kind of support and I wonder if it's effective?

What do you think of it?

View 9 Replies View Related

Softlayer Support Vs Theplanet Support

Jul 12, 2008

I'm undecided between an upcoming dedicated hosting server and am moving between Softlayer and ThePlanet. My decision partly comes down to support.

I've read many reviews on WHT about both companies, but not necessarily comparing them from people who have experienced both.

So my questions (keep in mind this is my first dedicated. I have used VPS in the past with good support) Which offers MORE support (not better) - I'm curious which company might consider my support questions as "part of the default service package" or "need additional service plan for that" More detailed support - my usual experience with support is support staff assume you already know a high level so it may take going forward and back 5 times via email to get a full answer
Overall support satisfaction - any other comments

View 9 Replies View Related

Hivelocity Support, Or No Support

Nov 23, 2008

I've been with Hivelocity for 2 years. Occasionally we have problems, but it works. Their support staff can do very simple things relatively fast, however if you have some serious problems, e.g. failed disk and need to be replaced and do restoration from backup, it will be hell!

They will NOT do what asked in Reload Request, delayed answer to chat, no answer to tickets for many hours.

So far I'm very disappointed of Hivelocity support.

View 7 Replies View Related

Vps That Support Vpn?

Nov 7, 2008

Do you know any vps that support vpn ?

View 0 Replies View Related

VPS Support

Aug 18, 2007

How much support should I expect/look for?

If I were to purchase a VPS without cPanel ( or any other panel), what kind supports should I expect from my host?

View 8 Replies View Related

Will VPS Support Do This

Jun 1, 2007

how common is it in the VPS industry to do custom installs/configurations/updates on request. For example, I don't know how to configure qmail and I will want someone to do this for me. Does this kind of service exist? Is it a standard to be expected or is it fee-based thing?

View 9 Replies View Related

HostGators Support

Aug 4, 2006

Everytime I go to hostgators live support my firefox crashes.

This usually happens before I initiate the chat or after.

Does anyone else have this problem?

View 18 Replies View Related

How Many % Of Hosts Support ZIP In PHP?

Nov 25, 2008

How many % of hosts have Zip support in PHP?

If you (the replyer) are a web host, tell me if you are supporting. (yes/no)

View 11 Replies View Related

IMAP Support

Oct 27, 2008

IMAP Support

Im used DirectAdmin on my primary linux server, i need to IMAP support in php.ini for resolve my ticket import system in "WHMCS" But i dont know how can enable it on DirectAdmin.

Can you help me?





__________________
Need More Power?!PersianWhois.Com

View 3 Replies View Related

Support Tickets

Sep 29, 2009

Do you personaly think that some companys don't answer right on support tickets or don't think the right way, (like dont care) when answering a support ticket in there billing system or support system then with the client comes on a forum such as WHT and posts what happens the provider comes and helps the client much more then he would of or had in the support tickets. I see many people come on wht and bring there problems they have with there provide, Im not saying this is a bad thing to do im just trying to show every else how i see it as that the hosts don;t care about there clients but when something goes public the hosting provider trys more to fix it...

Could it be that he or she dsnt want to lose customers thats the way i think it.

View 14 Replies View Related

GeekStorage Support

Jul 31, 2008

GeekStorage's support is awesome. They usually answer within 10 minutes and so far (only been with them for 2 weeks!) they have solved every issue perfectly.

The quality of their support and their attention to detail is the best I have seen in the past 5 years.

View 5 Replies View Related

Liquid Web Support

May 19, 2009

I've got give LW some props.

I was at a crossroads on my server running php 4x and needed to be able to run 5 and allow the sites using 4 to still run it. I read about how to do it but would of totally screwed it up.

LW support came to the rescue, installed both the 4 and 5 and now I can select the php version to run from the accounts cpanel.

Took a while to work through it but it's up and running and I'm a happy camper.

That's why I've had my server with them going on 3 years now.

View 8 Replies View Related

Web Hosting That Support SVN

Jun 1, 2009

I want to buy a hosting service with following feature

1 SSH

2 SSL

3 Rsync

4 SVN

5 Wordpress, Drupal support ( plan to run multiple wordpress and drupal site in this hosting plan)

6 multiple domain name support in one hosting plan

7 a lot of bandwith

8 great customer support, and low down time

I do some research and have a chat with justhost.com and they seem to support everything i need however, after reading some review seem like they try to force you to update to dedicate server when your bandwidth is up.

View 7 Replies View Related

On-Call Support

Mar 26, 2009

We are a web company that currently has a WHM/cPanel server that we manage ourselves. However, we are looking for a service that will be on call for us 24/7 in case something were to go amiss and our technical team was not available to restart services, restart the server or do whatever technical troubleshooting was required to get things back up and running quickly.

View 2 Replies View Related

Fantastico Support?

Nov 25, 2006

Fantastico applications are offered almost everywhere, but so far I've only found one web host that dares to provide Fantastico support.

Can anyone here recommend any web hosts that do provide support for the 3rd party applications available through Fantastico's installer?

View 5 Replies View Related

Support For PostgreSQL *and* ASP.NET

Apr 30, 2009

I am looking for a webhost with a package that supports both ASP.NET *and* Postgres. So far, I have been able to find ones that support one but not the other.

View 8 Replies View Related

'Freelance' Support

Oct 24, 2009

I'm in the process of migrating some stuff to a new VPS. Some things I can do myself, some the provider has offered to help with (Future Host), but there are a number of little issues and tasks that I either don't have the time for, or aren't confident in doing myself.

I'd like to 'hire' a freelancer. Can anyone give me an idea what a going rate for doing some general WHM/cPanel tasks might be?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved