Php/mysql- After Installing Lighttpd

Mar 3, 2008

I've installed lighttpd and it works perfectly. However, when I browsed my blog I got the msg:

"Your PHP installation appears to be missing the MySQL which is required for WordPress."

Was there anything I missed? Should I install PHP again?

View 5 Replies


ADVERTISEMENT

Php, Lighttpd And Mysql

Aug 6, 2007

Im using cpanel with the latest mysql Ver 14.7 Distrib 4.1.22, for pc-linux-gnu (i686) using readline 4.3.

Im trying to access MySQL from lighttpd, but Im getting this error:

Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/jkl/public_html/login.php on line 9

View 6 Replies View Related

Installing MySQL On VPS

Jul 23, 2009

I am currently using CentOS 5. I installed php-mysql, mysql-server, mysql and mysql-devl through yum install.

WhenI try to start mysqld I get this error

Code:
090722 20:17:32 mysqld started
090722 20:17:32 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
090722 20:17:32 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
090722 20:17:32 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Error: pthread_create returned 12
090722 20:17:33 mysqld ended

I obviously havn't done something correctly.

View 6 Replies View Related

Installing Mysql

Jul 8, 2007

im trying to install mysql, apache and php on my new server and everytime i use the command - make install or make all it says is -bash: make: command not found.

View 2 Replies View Related

Installing PHP + IIS + MySQL

Jan 8, 2007

I want install PHP near IIS and security is important for me.

I chose ISAPI is it good?

It works but I have problem in using MySQL I did not use PHP.ini for php5+ISAPI and it works how add mysql?

to make it useful with MySQL and make secure,

View 3 Replies View Related

Installing MySQL

Apr 22, 2007

I tried installing MySQL on a Windows 2000 Server. I went through all the wizards and I got an error because I needed to open a port. I am not really a server/network guy, its just a dev server for my programming. How do I go about opening the port for MySQL. And then how would I test the installation to know its all good?

View 3 Replies View Related

Dependency When Installing MySQL

May 29, 2009

I am trying to install MySQL from its RPM. I keep getting the following dependency issues and I have never seen these before. libc.so.6 is installed via glibc. I have all of the different glibc packages installed and I am lost. libc.so.6 is located in /lib/lib.so.6.

# rpm -i MySQL-server-community-5.1.34-0.rhel5.x86_64.rpm
error: Failed dependencies:
libc.so.6()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libcrypt.so.1()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libcrypt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libdl.so.2()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libm.so.6()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libnsl.so.1()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libpthread.so.0()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libpthread.so.0(GLIBC_2.3.4)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64

View 2 Replies View Related

MySQL Not Installing On Fedora

May 14, 2007

Here is where I stand..

OS: FRESH install of Unix Fedora Core 6
Kernel Version: Kernel 2.6.18-1/2798.fc6 on an i686
Hardware Information: Brand new Dell SC1435 Server
Software Version: MySQl 5
Control Panel: cPanel

A few things I did already..

#yum install mysql-server && service mysqld start
Nothing to do
mysqld: unrecognized service

#rpm -qa | grep mysql
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-connector-odbc-3.51.12-2.2

#ps -ef | grep -i mysql
root 15299 15114 0 16:55 pts/0 00:00:00 grep -i mysql

I don't see the mysql.sock file. What I can do to further troubleshoot this issue?

View 7 Replies View Related

Low Memory After Installing Mysql Mod Php5

Nov 6, 2009

I have a VPS.

I have installed "Lighttpd, php5cgi, mysql-server, mysql-client,
libmysqlclient15-dev"

I have optimized the MySQL Server (/etc/mysql/my.cnf).

All these together just take 30 mb Memory.

Lighttpd use just 12mb memory And everything is very good.

But,

When I install php5 mod MySQL:
apt-get install php5-mysql

Then the Lighttpd memory increases to 90mb!

I am using updated Debian Lenny, MySQL5, php5.

View 6 Replies View Related

Installing Php On Server That Does Not Have Mysql Installed

Aug 7, 2008

I have two servers, one is web server, the other one is mysql server.

I am installing php on web server that does not have mysql installed.

when I do the follows:

./configure --prefix=/usr/local/webserver/php --with-config-file-path=/usr/local/webserver/php/etc --with-mysql=/usr/local/webserver/mysql --with-mysqli=/usr/local/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-debug --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-sendmail=/usr/sbin/sendmail

the script tells me error:

configure: error: Cannot find MySQL header files under /usr/local/webserver/mysql.
Note that the MySQL client library is not bundled anymore!

Because mysql installed on another physical server. so how may I fix the problem? can I configure php without "---with-mysql" and "--with-mysqli" parameters? I need my php could access remote mysql server.

View 3 Replies View Related

Lighttpd Ssi

Mar 4, 2007

SSI isn't working with lighttpd. I have enabled the module and set the extension, but it still doesn't work.

View 1 Replies View Related

Vps Lighttpd Will Not Start

Jun 2, 2009

So basicly I got a vps and am using lxadmin *renamed* and with ssh and lxadmin the lighthttpd wont start and it is installed under the centos hostinabox distro.

View 3 Replies View Related

Apache And Lighttpd, Both Use Same Php.ini

Jun 3, 2009

my php.ini had some changes (/etc/php.ini). Today i have switch from apache to lighttpd, do i need to edit another php.ini file ? Apache and lighttpd use the same php.ini ( /etc/php.ini)?

View 5 Replies View Related

How I Can Use Mod-rewrite With Lighttpd

May 4, 2009

how I can use mod-rewrite with lighttpd.

Actually I am going to use phpprobid system and it has in built function for mod rewrite but I think it is for apache as if i turn it on I cant access pages

View 1 Replies View Related

Lighttpd Mod_rewrite

May 15, 2009

I am struggling to get this .htaccess file to work with lighttpd, i am not a coder so its very hard for me to fix it, hopefully if someone knows how can tell me how to write rewrite code that will get it working.
{quote}

1. Comment the 2 lines below if the server returns 500 errors!
Options -Indexes
Options +FollowSymLinks

#Uncomment following lines if you want to use image caching!
#<IfModule mod_expires.c>

1. ExpiresActive On
2. ExpiresDefault A1209600
3. ExpiresByType text/html A1
#</IfModule>

1. Uncomment following lines if Apache doesnt support MultiViews!
<IfModule mod_rewrite.c>
RewriteEngine On
1. Uncomment the 2 lines below if you are using www.domain.com # as the baseurl for the site and users access your site # via domain.com (THIS IS REQUIRED FOR JQUERY TO WORK)
#RewriteCond %{HTTP_HOST} ^domain.com [NC]
#RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* loader.php [L,QSA]
</IfModule>

1. Edit below lines and set to
2. ErrorDocument CODE /RELATIVE/error.php
3. If the script is installed in the default document
4. root then relative is null.
#ErrorDocument 401 /error.php
#ErrorDocument 403 /error.php
#ErrorDocument 404 /error.php {/quote}

looks like its calling the rule from loader.php file, now how can i convert this to lighttpd language,

View 4 Replies View Related

Lighttpd Rewrite

Mar 30, 2009

How I can convert the following into lighttpd rewrite?

RewriteCond %{REQUEST_FILENAME}

View 4 Replies View Related

Apache Vs Lighttpd

Aug 9, 2009

Until recently, it seemed like everything I read about a server indicated that Apache was king. I have never read anything that has given me any reason not to use Apache.

However, about a year ago when I discovered Django, I discovered Lighttpd. From everything I've been able to read, Lighttpd seems to be a better web server, but still don't know very much at all about Lighttpd.

I'm fairly comfortable with Apache, although I've never cared much for it. I have a feeling that I'll like Lighttpd quite a bit more from the very little that I do know about it. I'm wondering if I should even consider switching.

For one, it seems that everyone knows how to work with Apache and Lighttpd seems to be far less common. Apache also seems to be much more established which leads me to believe that it's a safer choice. Nonetheless, I still really want to give Lighttpd a shot. And, judging from what I've seen about Django and Lighttpd, Lighttpd seems to be a better choice when working with Django.

What do you think? Should I stick with Apache since I already know how to use it? Is Lighttpd worth the time to learn or is Apache just too good?

View 2 Replies View Related

Apache Or Lighttpd

Jun 5, 2009

I wanted to know what do you prefer as server apache or lighttpd , though I am running lighttpd and have no issue except that there is too much work for mod rewrite and it effects search engine, so I was thinking to use apache instaed of it will it be possible to install apache over lighttpd or will I have to go for fresh install.

View 14 Replies View Related

Lighttpd.conf

Jun 23, 2008

I'm about to set my own permalink rules in Wordpress.

My VPS is running LxAdmin on CentOS and I have lighttpd installed. I've read I need to edit lighttpd.conf but I don't know which application I should use. The file is located in /etc/lighttpd/ but have no idea how to gain access.

View 7 Replies View Related

Lighttpd Crashing

Nov 12, 2008

I keep getting a segmentation fault after a few hours when I leave lighttpd on. It doesn't seem like much resources are being used and its serving about 60mbit/s. There's nothing in the error or log file.

I'm using CentOS 2.6.18-92.1.13.el5
and
lighttpd-1.5.0-r1992
Here's the config:
server.modules = (
"mod_access",
"mod_trigger_b4_dl",
"mod_status",
"mod_proxy_core",
"mod_proxy_backend_fastcgi",
"mod_uploadprogress"
)
upload-progress.progress-url = "/progress"
server.network-backend = "gthread-aio"
server.max-fds = 15000
server.max-connections = 10000
server.event-handler = "linux-sysepoll"
I've actually been having this issue since I've moved to lighttpd 1.5, 1.4 was working fine but I need the features in 1.5. I've tried changing the event handler and network backend to no avail.

How can I at least find out what's causing the error?

View 1 Replies View Related

Lighttpd With MySqli

Jul 25, 2008

I just recompiled PHP 5 with MySqli in cPanel and Mysqli is working fine under Apache, but it doesn't work under lighttpd. I can see the MySqli module in phpinfo when I run it under Apache, but there's no MySqli module when I run it under lighttpd. So how can I fix it to use MySqli with lighttpd?

View 1 Replies View Related

Lighttpd On CPanel

Jun 12, 2008

I'm going to see what Lighttpd on cPanel does today. I've asked my VPS provider (Zone.net) to perform this and provided them several links too. Their manager said they should be able to and so I submitted a ticket .

View 3 Replies View Related

CGI Lxadmin Lighttpd

Oct 28, 2008

I have a fresh out of the box vps install of centos-5-i386-hostinabox571.

I found the web root directory at: /home/lxadmin/httpd/default

Where is the cgi folder supposed to be?

View 4 Replies View Related

Litespeed To Fix My Lighttpd

Apr 4, 2008

Having constant and random downtime with Lighttpd being that for no reason connections get refused and my server load is low, that I think maybe get Litespeed.

I believe my server is an Intel Core2Quad Q6600

I think its only got 1 CPU in it.

What license do I need?

View 2 Replies View Related

Rewrite In Lighttpd 1.5

Mar 25, 2007

i had following rewrite (for wordpress multi user ) and it was working with lighttpd 1.4.x but i dont know its not working in 1.5

Quote:

$HTTP["host"] == "blogs.domain.com" {
url.redirect = ("^/(.*)" => "http://%1/$1")
url.rewrite-once = ("^/(.*)?/?files/(.*)" =>
"wp-content/blogs.php?file=$2", "^/(wp-.*)$" => "$1",
"^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2", "^/([_0-9a-zA-Z-]+/)?(.*.php)$" => "$2", "." => "index.php")
}

and its showing following error

Quote:

mod_rewrite.c.293: (error) url.rewrite contains a regex for '/' which
leads to a URI without a leading slash: index.php

View 1 Replies View Related

Lighttpd - For My Server

Jun 17, 2008

i have small - mid size forum

1) 25k members with 100 - 125 members / guest being online at all times. about 400,000 page views per month
2) software pages static html about 200,000 page views per month.
3) a script library which get about 200,000 page views per month
4) i get about 2000 - 2500 software downloads per day. each download between 1mb to 3 mb give or take

i would estimate a total of 1 million page views per month...

a) i am using Apache right now would lighttpd help?
b) if yes, how does one go about switching from Apache to Lighthtpd
c) is it easy to manage and optimize lighttpd?
d) can i just ask for lighttpd to be installed as default by any hosting company out there?
e) does lighttpd support cPanel?

currently i am on a AMD Athlon(tm) 64 X2 Dual Core Processor 3800+(2 Ghz) with 2 GB RAM.

my server loads are sky high - anywhere between 10, 15 and 20.

View 2 Replies View Related

Lighttpd Not Work Well With Php

Nov 9, 2007

Lighttpd works well with static file.

But for php, it's totally not good for me
I just install lighttpd and php.

By [url]

Now It takes about 10 seconds for the
server to response.

Here is a part of config file
############ Options you really have to take care of
####################
server.max-keep-alive-requests = 4
server.max-keep-alive-idle = 4
server.max-read-idle = 60
server.max-write-idle = 1024
server.max-fds = 8192

php.ini using the default one
Here is the link to it
[url]

And only about 200 connections. the load average is only 0.02.

When I check the error log
2007-11-08 12:38:46: (server.c.1253) NOTE: a request for
/view_video.php?viewkey=f8e13f14b405e038deb6&page=&viewtype=&category=
timed out after writing 13068 bytes. We waited 1024 seconds. If this a
problem increase server.max-write-idle
2007-11-08 12:40:07: (server.c.1253) NOTE: a request for
/view_video.php?viewkey=b9530df88f7f002e78ea timed out after writing
13068 bytes. We waited 1024 seconds. If this a problem increase
server.max-write-idle

View 6 Replies View Related

Who Manages Lighttpd VPS?

Aug 22, 2007

Seriously though, is there no such thing as a company that provides advanced management services that covers the installation and maintenance of lighttpd and some addons.

it has to cost less then $1 a month

View 8 Replies View Related

Lighttpd Proxy

Nov 2, 2007

Would it be possible to have this kind of setup?

Lighttpd running on port 80 to serve only static content, and if it receives php requests, to forward the request to Apache running on another port. Not sure if this is useful [url]

If it is possible, is there any example of lighttpd conf where this can be done?

View 1 Replies View Related

Lighttpd On CentOS 4.4

Apr 7, 2007

How do I Install Lighttpd on CentOS 4.4 I installed it once but php doesn't seemed to work so I removed it.

How I can Install Lighty and Re-compile php to work with lighthttpd.

View 0 Replies View Related

Lighttpd Rewrite

Dec 23, 2007

to accomplish:

[url] ==> [url] however it should be proxied so that the user never sees [url]

This is because the sub domain is using apache while www is using lighttpd and I want to keep the entire site with www to the user.

View 3 Replies View Related







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