Recompile PHP

Jan 25, 2007

I am pretty much being forced to recompile PHP as I want to include OCI Oracle Extensions to read from our business database hosted in Oracle 10g. I installed a binary version of PHP to begin with and Don't have much experience compiling anything from source, although I am somewhat familiar with the concept. I know that sometimes installing extensions can be as easy as using apt-get or yum but I haven't found any information telling me I can do this for the OCI extensions I need to install.

My question is, When installing from source, what do I have to do within apache to update and work with the newly installed PHP.

When installing and running ./configure -OPTIONS GO HERE, what options other than the ones to tell it to use the libraries for Oracle, do I need to use?

I know this is a pretty vague question, but any help is truly appreciated.

I'm using Apache 2 and PHP 5 on an ubuntu 6.10 server install.

View 2 Replies


ADVERTISEMENT

How To Recompile Recompile Apache/PHP?

May 6, 2008

how to recompile recompile Apache/PHP? I have a VPS w/cPanel and WHM. Should I have a pro do it or can a novice (low level web designer) handle it?

View 9 Replies View Related

How To Recompile PDO For PHP

Apr 12, 2009

I visited the PHP installation manual site and tried running the configure file. But inside ssh its saying not found.

here is my configure file from phpinfo on the server.

./configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr' '--with-zlib' '--with-zlib-dir=/usr'

View 4 Replies View Related

Recompile Php

Jun 28, 2007

I want to add a new feature to my existing php, so, recompile php is expecting. I don't know how to recompile it.

What I did was

1) ./configure

2) make

3) make install

but everything keeps same as before, nothing changed.

I googled something about ./build clean, and ./build php, but it seems I don't have any command about ./build

I don't have control panel on my server, just php.

View 10 Replies View Related

Recompile Php For Lighthttpd

Apr 7, 2007

can anyone instruct me how to Re-compile php for lighthttpd, those people who had expierence with Lighthttpd?

View 2 Replies View Related

Recompile Apache

Nov 26, 2007

I have set the Maxclients limit of my server to 3000, but it is actually Connecting 2048 connections maximum.

I mean even i have set Maxclients limit in httpd.conf to 3000, but it still does 2048 connections.

I want to know if there a way to increase the number to 3000 or more?

View 14 Replies View Related

Kernel Recompile

Oct 1, 2007

I need to recompile my kernel to change the USER_HZ to 1000. However, I am not really sure how to do this and I really need help. I've found a lot of guides and they're really for the advanced linux user, im not really that advanced, I only know a little bit. A messenger like MSN or google talk would be a great way to communicate doing this, since ill have a load of questions.

View 1 Replies View Related

Php -v Keep Showing 4.4.7 Even After I Recompile Apache As 5.0.4

Oct 19, 2007

php -v keep showing 4.4.7 even after i recompile apache as 5.0.4 via WHM > Apache Update. Any ideas how to fix this?

I am on the following server:

WHM 11.2.0 cPanel 11.11.0-S16999
CENTOS Enterprise 5 x86_64 - WHM X v3.1.0

./configure [@php-5.0.4]...(--enable-pic --with-libdir=lib64 --prefix=/usr --with-xml --with-mm --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --enable-magic-quotes --with-mm --with-mysqli --with-mysql=/usr --with-snmp --enable-ucd-snmp-hack --with-openssl --enable-discard-path --with-pear --with-pspell --enable-safe-mode --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-xmlrpc --with-zip --with-zlib).... . . . . . . . . . . . . Done

configure: error: libXpm.(a|so) not found.

make [@php-5.0.4]...(-j 8 clean).... Done

make [@php-5.0.4]...(-j 8).... Done

make [@php-5.0.4]...(install).... Done

initfpsuexec: using apache 1.x support
PHP version file has been updated to 4.4.7
Adding cPanel default aliases ...disabled scgi-bin since suexec is installed
Done
Executing /scripts/postbuildapache (if exists)...Done
Configuring perl magic....Off
Configuring php-pear magic....Off
Configuring ruby magic....Off
Configuring php-pecl magic....Off
/etc/rc.d/init.d/httpd start: httpd started
initfpsuexec: using apache 1.x support

Attempting to restart httpd

Waiting for httpd to restart...

httpd started ok

View 2 Replies View Related

CPU Upgrade, Need To Recompile The Kernel

May 9, 2007

I'm going to add a second AMD opteron 270 dual core processor + 2 GB DDR ram to my server this week, but do i have to recompile the kernel after i've installed the second processor? Or change something in grub?

setup:
1 X AMD dual core opteron 270 ( + 1 X AMD dual core opteron 270 )
2 X 1 GB DDR ECC registered ( + 1 X 2 GB DDR ECC registered)
Tyan thunder 8kse motherboard
# uname -a
Linux srv01.xx*********** 2.6.16.17 #1 SMP Mon May 22 04:13:34 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

View 3 Replies View Related

HARD_SERVER_LIMIT (Recompile Apache)

Nov 26, 2007

Does anyone know that on Linux Fedora (apache 1.1.39) after increasing HARD_SERVER_LIMIT, how can we recompile apache?

View 4 Replies View Related

Recompile Kernel Failing On VMWare

Nov 6, 2006

I have installed centos 4.4 and tried to recompile kernel, but it keeps failing during boot...

is there any special setting on kernel config to recompile kernel and boot it?

View 2 Replies View Related

Recompile Centos Kernel 1000hz

Jun 1, 2007

I've setup a CS game server running centos 4 but I'm looking to recompile it with 1000hz.

Does anyone have any links to newbie friendly guides on how to do this without any problems?

View 7 Replies View Related

Recompile Apache :: Your Operating System's Rpm Update Method (yum) Was Not ..

Aug 29, 2007

i tried recompile Apache to install

--curl
--curl ssl
--mcrypt

by running /scripts/easyapache

then i get the error below. Can anyone help me out? i really dont know what todo here.

Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper set up. You must correct this error before you can proceed.

View 14 Replies View Related







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