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


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

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 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

How To Restart Lighthttpd

May 28, 2009

how to restart lighthttpd?

I was asked to restart lighthttpd at my friend host, he has 6 sites running, and of the site is down, host has asked him to restart the server, as he is away, he wanted me to restart, but I have no clue how to restart lighthttpd,

It will be really helpful if u can guide me for : if possible for the domain alone, else for the entire server

current options available :
lxadmin - hypervm
ssh connection

let me know the steps and code if any.

View 4 Replies View Related

How To Activate Lighthttpd

Jun 21, 2009

through lxadmin/kloxo how to disable apache and enable lighthttpd ?

if any code or any method plz explain in detail, never done, now need to do it on my friend vps as he is having problem with apache loads

View 9 Replies View Related

Lighthttpd On What Cpanels?

Apr 15, 2009

I want to know lighthttpd works on what different kind of control panels

I am aware it works on lxAdmin, I want to maximize the options for more control panels which would be flawless

View 1 Replies View Related

Lighthttpd Conf

Oct 25, 2008

I don't have location/ in conf file where should this be placed under or above what content should this be added?

View 4 Replies View Related

VPS With Panel And Lighthttpd

Nov 9, 2007

im thinking about getting a VPS with Cpanel or Plesk, but i would like to use lighthttpd instead of apache.

View 12 Replies View Related

Setting Up Domain With Lighthttpd

Jun 9, 2009

its been long time since I have set one and its been really bugging with the feather theme interface, which I haven't used before

now, here is the pt.

I have 3 ips , I want the main ip to be unique
i.e assuming .2, .3 and .4 are the the ips we have ben provided with, where .2 is the main ip of the server (lxadmin)

now, in the dns template, I have 6 options where ip has to be assigned, as -
base, cp, mail, ns, ns1, ns2

I have set the base,cp, mail, ips to .3

I don't have a clue on what to set for the ns, ns1, ns2

I want .3 to be shown as the pinged ip when site is pinged.

We have set .3 and .4 as the nameserver ips in the registrar, so do I need to provide .3 as the ns1 ip and .4 as the ns2 ips or both the ips have to be .3
and what should be the ns ip?

View 1 Replies View Related

.htaccess To Lighthttpd Rewrite

Sep 23, 2008

I had a .htaccess working in my previouse hosting. It is not working with the new hosting which has lighthttpd.

Can anyone help me to change my below htaccess modrewrite code to lighthttpd url rewrite? Its urgent please.

RewriteEngine On ...

View 4 Replies View Related

Onediting Lighthttpd File

Oct 30, 2008

I have been given a code by the coder to add in the conf file under the location / in conf file but there is no location code under conf file. I am not sure where to add this location / in the conf file ? need help on where to add this code in lighthttpd file
All I wanted to do is just an add an rewrite rule for one of the file and the coder has mentioned to add it below location / in conf file

View 6 Replies View Related

Lighthttpd - Memory Leak

May 27, 2008

I am using Apache now on my VPSes but i want to try it again with lighthttpd as it will use less resources, but the only problem is that lighthttpd is taking up lots of memory and i've read about a memory leak.

View 14 Replies View Related

Lighthttpd How To Enable Modrewrite

May 1, 2007

I am installing phplinkdirectory in lighthttpd, keep having problems with Mod Rewrite, everytime, I enable Mod Rewrite, 404 errors come out. What should I do?

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

How To Deactivate Lighthttpd And Activate Apache

Jul 9, 2009

how to de-activate lighthttpd and activate apache?

my friend is having some problem in his vps so he wants to get back into apache interface...

he is using kloxo/hypervm interface

View 4 Replies View Related

Lighthttpd :: Configuration Of Plugins Failed. Going Down ...

May 22, 2008

Installed lighttpd but unable to run it properly.

[root@ssserver1 lighttpd]# /etc/init.d/lighttpd restart
Stopping lighttpd: [FAILED]
Starting lighttpd: [ OK ]
[root@ssserver1 lighttpd]# netstat -anp | grep light
[root@ssserver1 lighttpd]#

Checked logs.

2008-05-21 23:12:43: (mod_fastcgi.c.904) bind failed for: unix:/var/run/lighttpd/php-fastcgi.socket-0 No such file or directory
2008-05-21 23:12:43: (mod_fastcgi.c.1340) [ERROR]: spawning fcgi failed.
2008-05-21 23:12:43: (server.c.908) Configuration of plugins failed. Going down.

View 1 Replies View Related

How To Have Multiple Domains With 1 Site On Lighthttpd

Nov 4, 2008

How to have multiple domains with 1 site on lighthttpd

Its simple 2 domains and 1 forum. The links should work as 2 individual sites.
[url]

The main site would be site where the site2 will be the additional site shadowing site
I need the code for lighthttpd

View 1 Replies View Related

Having An Images HTTPD Server Only: Lighthttpd

May 5, 2007

For my website I have a server which houses all of my gallery IMAGES of my user profiles. There are over 100,000 images on the server and it's only purpose is to provide those images with http.

However, the http server also has PHP installed, and it's only purpose is for uploading new images. Therefore users eventually get redirected to the images server where they can upload the image.

This all works, but in the future I want to remove the PHP side to the server. I also want to change the whole server program from Apache to Lighthttpd. This is because, lighthttp is a very low overhead web server program, but also provides very little features.

So I was wondering, if I was to do so, and since PHP is not installed, then I would have to make the upload pages on the main http server (which has PHP and Apache). Then I would have to make the main server send the uploaded image to the the lighthttp server via some sort of the scp system call, via PHP. I know that this IS possible, but when it comes down to security holes and so on, would this method really be worth it?

Generally I want to have the lighthttp setup only because it eliminates having to have any dynamic content. Obviously this can also be done with apache (removing dyanmic content), but lighthttp may be more efficient for static content.

View 3 Replies View Related

Folder And File Protection In Lighthttpd

Jan 15, 2007

to install LightHTTPD but I want to know how can I protect folders like using on apache i can put a .htaccess and it prompts me to enter pass etc...

How do I do that in lightHTTPd?

How do I disallow certian file extensions from public eyes like on my current server I disabled viewing of .datab files and when someone types in the location of mydb.datab they get a forbidden message.

how do i do that in lighthttpd?

View 2 Replies View Related

Changing Code To Lighthttpd Htaccess From Apache

Jul 7, 2009

trouble with users mis-using hot-linking feature, so he wants some restrictions to b set via htaccess

He has given me a code which is used for htaccess in apache, but he wants this to work in lighthttpd, I am not sure if this would work in lighthttpd htaccess,

this was the code given to me to b worked on:

Code:
RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$

#allow hotlinking for thumbnails
RewriteCond %{REQUEST_URI} !_thumb

#allowed website to hotlink (don't forget to add your own site !!)
RewriteCond %{HTTP_REFERER} !^[url]

#display no-hotlink.jpg instead of the requested image
RewriteRule .(jpg|jpeg|gif|png|bmp|ico)$ [url]

can any one help me for getting this code re-written for lighthttpd version htaccess file and where to enter this code -- using hypervm/kloxo on his vps

View 5 Replies View Related







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