CentOS 5 :: Can't Get Php Mysql Support To Work
May 22, 2009
This is a fresh install of CentOS 5.3 x86_64 with the following packages installed (using yum) as I have always done and has always worked in the past: httpd mysqld php php-mysql php-gd
However any pages requiring mysql fail and the following shows up in the httpd/error_log:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dbase.so' - /usr/lib/php/modules/dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Code].....
View 3 Replies
ADVERTISEMENT
Nov 23, 2010
My system is CentOS 5.5 x86_32, and I am currently trying to get the x264 video encoder to work and to read libav* input, like elementary H.264 streams. All the prebuilt x264 binaries seem to come without lavf and/or ffms support, and I was unable to build ffmpeg/ffmpegsource on my system. So these x264 versions only support RAW YUV 4:2:0 input, which is of no use to me. I would like to use the x264 binary itself, as it seems that ffmpeg+libx264 does not have option mappings for all the options I could give to x264 directly.
Is there any pre-built x264, that supports lavf/libavcodec for reading H.264 input? Or is there a good, working guide on how to build that on CentOS 5? When trying to build latest ffmpeg (trying to get ffms/lavf dependencies on my system), it tells me, that my "pkg-config" is too old, and that I should set FFMPEG_CFLAGS and FFMPEG_LIBS to work around the issue. No idea what I should do here.
Then, when trying latest ffmpegsource (again, to get the ffms/lavf deps satisfied), it tells me I do not have libx264. Maybe here my version is too old or something. I installed libx264_98, maybe wrong version.
Ah, the output of x264's configure script looks like this:
Platform: X86
System: LINUX
asm: yes
avs: no
[Code].....
View 1 Replies
View Related
Feb 16, 2011
I am in the process of evaluating the move to a EC2 dynamic web server for East Coast West Coast to reduce the lag for interacting with mySQL.Right now we have had great success with mySQL running on our server.ight direction on where I can find documentation onhow to configure Navicat with CentOS 5 running on a EC2 I am suspecting that their is something special on the way it handles the SSH?I am not finding any documentation at all on this, I can not understand this at all. I am sure that someone here is using Navicat along side with an EC2 Amazon server. Well, at least I am hoping so.
I have to spent 5 days in trying to configure a EC2 with numerous Ubuntu setups WITH NO SUCCESS AT ALL. What blew me away was this articleYou should have this posted on your server for 1st time users with one small modification with the ending of the article on how to make it run on Localhost running ofa EC2 Amazon. It was truly a eye opener. For all the talk about Ubuntu and the numerous articles on installing a LAMP server was totally without success. But this article was truly a pleasant experience.
View 1 Replies
View Related
Mar 9, 2011
My understanding is that there is no Optimus support for Linux at this time.Will a default CentOS installation work fine with just the integrated graphics.in other words, will Optimus and the discrete graphics be ignored? Will OpenGL still work correctly with the Intel integrated graphics?I am considering an i5-based laptop with Optimus support, where I might go with a dual-boot configuration.
View 1 Replies
View Related
Jul 17, 2010
I just installed Centos 5.5 on one of my systems today and something is eluding me. Basically I had a web site and forum software (phpBB, but I don't think it's that, other forum software like Xoops does the same thing) running on Fedora 13, and I copied it over to the new Centos installation. Apache is running fine and displays a PHP test file and .html files just fine.
MySQL seems to be fine, I can log into that, show databases etc. Just can't get any forum software to know there is MySQL there. I did change the path of the site, and the databases, and edited /etc/my.cnf and /etc/httpd/conf/httpd.conf to reflect that. Thought I made the needed changes in /etc/php.ini but who knows. Seemed like everything should have tar'd up and moved easy, but not the case...
View 5 Replies
View Related
Feb 20, 2011
I'm having a hard time to access MySQL from the local or remote shell.
If I try to access MySQL, using mysql -u root -pxxxx I get the error 1045 Access denied...
MySQL is running and I can access it, using phpmyadmin.
There must be something blocking shell access. Can anybody confirm and tell me how to check/configure for shell access?
I'm using ca preconfigured CenOS from PBX in a flash and it seems they did some security settings - but I can't find any further information.
I know I should probably post there, but the Mods didn't activate my account yet. And you know how it is if you try to figure something out. You won't stop.
View 1 Replies
View Related
Aug 31, 2010
I want to upgrade existing MySQL 5.0.77 version on CentOS 5 Red Hat Linux to MySQL 5.1.x. Is anybody have list of patches or upgrades to upgrade to MySQL 5.1.x?
View 6 Replies
View Related
Jun 4, 2009
I have MySQL 5.1.34 and PHP 5.1.6 installed on my system, how do I install php-mysql? Each time I try, it says
mysql-5.0.45-7.el5.i386 from base has depsolving problems
-- > mysql conflicts with mysql-server-community
error: mysql conflicts with mysql-server-community
View 16 Replies
View Related
Aug 28, 2010
I'm using the Arch packages, not compiled myself from source.
View 1 Replies
View Related
Mar 3, 2009
I just configured a complete Cent OS 5.2 system for use as a web server. I can configure Apache and PHP but MySQl seems to be causing some issues -
[mysqld]
datadir=/var/lib/mysql
socket = /var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
[Code]...
View 16 Replies
View Related
Jun 18, 2010
does ubuntu 10.04 support multithread on mysql 32 bit?
View 8 Replies
View Related
Mar 30, 2009
I am trying to install php-mysql but I am getting conflicts. I manually installed
MySQL-shared-community-5.1.32-0.rhel5
MySQL-client-community-5.1.32-0.rhel5
MySQL-server-community-5.1.32-0.rhel5
and I can not seem to find a php-mysql that works with MySQL 5.1
I followed the below thread and added the CentOS-Testing.repo and did a yum update php and it updated 30 packages, but when I try to install php-mysql I get :
[URL]
yum install php-mysql
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
[Code].....
Where can I find a php-mysql that works with MySQL 5.1? I checked the mysql website and can not seem to find any matches.
View 4 Replies
View Related
Apr 4, 2010
I'm not having any luck today getting maildrop working. Ubuntu (Hardy) and everything is from aptitude.If I use 2.0.3 (the version aptitude serves up) I get this:
maildrop 2.0.3 Copyright 1998-2005 Double Precision, Inc.
GDBM extensions enabled.
Courier Authentication Library extension enabled.
[code]...
This is after I made maildrop setuid root. It seems that the version aptitude serves us was compiled without the --enable-trusted-users flag at compile time. There appears to be no way around this other than to recompile, according to Sam V, the author of the program. So I'm off to compile my own.
/usr/local/bin/maildrop -v
maildrop 2.4.2 Copyright 1998-2005 Double Precision, Inc.
Maildir quota extension are now always enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.
[code]....
It never talks to mysql and obviously isn't authenticating. The aptitude version does talk to mysql, but can proceed no further because it hits that "trusted user" issue.
Are the authlib & mysql libraries somewhere else? There areHow can I solve this? Have any of you successfully compiled maildrop to work with courier-authlib and mysql? This is driving me nuts. I'm using courier-imap with virtual users in mysql. This setup has worked just fine for a long time, but I now need to add server side filtering. It seems like I'm almost there....
View 2 Replies
View Related
Jan 6, 2010
First off I'm using OpenSUSE 11.2. I'm trying to compile mediatomb and I'm having difficulty when I run './configure' This is the message I get when it fails:
Code:
configure: error: Support of at least one of mysql or sqlite3 must be configured I have both sqlite3 and mysql installed.
View 8 Replies
View Related
Jan 29, 2010
I made a full install of Slackware and have been using one of my boxes as an Apache web server. I recently tried to install Joomla, the PHP CMS software, and when I ran the pre-install requisite checker (The second step of the installation), the installer notified me that I do not have MySQL support. I find this especially strange as I've made webpages using PHP that made use of MySQL databases.
My pre-post research has lead me to several other people with the same problem. Half were using windows, and just had not uncommented the "extension mysql.so" line in the php.ini file. The other half solved their problem by installing their distro's php-mysql module. According to what I'd read, you can still use MySQL if you don't have that module installed, but Joomla does need it to be able to use the MySQL database.
I've searched long and hard for this plugin/add-on/module for Slackware, but to no avail. It's available in RPM format, and I know that it's possible to use rpm2tgz to convert these files, but I don't know exactly what the issue is, and if Slackware may be different. I don't want to install that and then find out that it overwrote something that I'd needed.
View 3 Replies
View Related
Oct 8, 2010
I am trying to install squirrelmail on Ubuntu 10.4 and at some point in the instalation process I get the following error:
[Code]....
View 1 Replies
View Related
Nov 29, 2010
Im trying to set up a Proxy server on my CentOS server and I have been looking at Squid, however I wondered if there is a proxy server that will support having authenticated users and passwords in a MySQL database?I wanted to do this so I have good control over who is connected through my proxy.
View 6 Replies
View Related
Feb 6, 2011
I'm not to sure this is the place I should post this, but couldn't find any place for it to fit. So here is the deal..I am running 10.10 with the standard LAMP setup. I am running a drupal 7 site no problems. What I need to do is run a multi site sub directory. (domain.com/newsite). So far the best I can do is get a directory index of the second site (domain.com/newsite), but cant run the installer. (I did the symbolic link to the doc root of the drupal install.)If I type in the url domain.com/newsite/install.php I get not found. I placed an index.html test page and it renders fine. I think I'm close but just not there yet.
Any ideas from anyone? I can get Sobdomains to work fine on a test mache, but sadly I need the domain/site to work due to lack of DNS support at the moment. I tried to get some info from the drupal forum, but everything always points to subdomin setups. I also posted over there, but it seems like the forums have very little support and are a bit on the slow side.
[Code]...
View 9 Replies
View Related
Jun 24, 2009
I try to set up a 5 nodes cluster and a shared Coraid Storage with conga but it fails with "Shared Storage Support" checked.The message is:'A problem occurred when installing packages: Packages of set "Clustered Storage" are not present in available repository' and it is shown under every node on the next sceen after I submit.The pc where conga runs is on the same subnet (192.168.xxx.xxx) and it has the same /etc/hosts of the other nodes.In that pc runs a proxy too and the nodes go out through it (that pc has 2 NICs)Every node (2.6.18-128.1.14.el5-xen-x86_64) is patched whith the last yum update (this morning) the same is for the pc (2.6.18-128.1.14.el5).Every node has 4 NICs , 2 NICc towards the storage the others in bonding towards the WAN.Every node is exactly alike, they have been installed with the ks.cfg generated from the first node and they all have the support for Clustering, Virtualization, and Clustered Storage.
View 1 Replies
View Related
Oct 16, 2010
I'm setting up a raid 5 on several hard disks with a layer of lvm on top for good measure.I know the recent kernels support growing software raid, but since centos runs 2.6.18, I wanted to make sure it'll work. Does the centos kernel support growing raid devices?
View 1 Replies
View Related
Oct 21, 2009
This is my first post, I hope I'm the the right place. I installed mysql mysql-server php-mysql perl-DBD-mysql libdbi-dbd-mysql via "yum install -y" on a server running CentOS 5.3 X86_64 The install completes successful with no errors, but once I start mysqld via "chkconfig --level 35 mysqld on" ; "service mysqld start" There are no errors in /var/log/mysqld.log netstat shows mysqld listening on 3306 and localhost is in /etc/hosts
[Code]...
View 2 Replies
View Related
May 20, 2009
I have been using SLES 10 SP1 so far with about 6TB Raid system without problems.I have upgraded the OS to CentOS 5.3 i386 and I have noticed the kernel can not recognize raid system larger than 2TB.Is there any parameters that I have to set ? or the i386 distribution simply does not support larger raid, so I have to use x86_64 version, instead?
View 1 Replies
View Related
Jun 3, 2010
I am running a CentOS 5.5 system which does NOT support VT Technology, so I am unable to use Xen HV. I am very happy with OpenVZ other than the fact that it doesn't support Windows, only Linux.I'd like to have VMWare Server 2.x installed, but it appears that OpenVZ changes the Kernel to, in my case, 2.6.18-194.3.1.el5.028stab069.6. The default kernel on my system is 2.6.18-194.3.1.el5.i386.If I change grub to load 2.6.18-194.3.1.el5.i386, VMWare will work but OpenVZ will not. If I change grub to load 2.6.18-194.3.1.el5.028stab069.6, OpenVZ will work, but VMWare will not.If I try to run /usr/bin/vmware-config.pl while in the 2.6.18-194.3.1.el5.028stab069.6 kernel, I get an error of:
None of the pre-built vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)?Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running kernel?[/usr/ src/ linux/ include]I'm so lost as what to do now..is there anyway I can compile both of the kernels together somehow?
View 2 Replies
View Related
Aug 8, 2011
I have two Centos 5 servers one running Asterisk with PHP installed and another sever running as a MySql Database server, at the moment when I try run simple script to see if I can connect to the remote server I get the following error.Quote:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
View 2 Replies
View Related
Oct 16, 2009
Will Redhat support CentOS under any circumstances? I have heard at my employer that if you setup you system with CentOS and then on down the line you find you need RHEL support that you can purchase a license from Redhat and they will support your CentOS installation.Is that an official policy at Redhat? Unofficial? Or completely untrue?
View 2 Replies
View Related
Jun 7, 2011
I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:
Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
[Code]...
View 6 Replies
View Related
Jun 2, 2010
i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.
View 9 Replies
View Related
Jun 15, 2011
I tried to installed Centos5.4 version on Dell PC intel corei3 inspiron580s and succeeded but found some issues following below
1 Hardware issue for LAN driver ( Broadcomlink(TM)gigabit ethernet)
2 Display Driver not support and also missing Xorg.config file (i.e ., My Screen Starts from center of screen )
3. What is minimum configuration for centos 5.4 ?
View 2 Replies
View Related
Jul 14, 2010
I am using CentOS5 and installed the MySQL for server during the installation. I can set up and use MySQL databases. But I cannot make it startup everytime the server restarts. And quite a lot of methods need this folder "support-files/mysql.server", while my set up cannot find this. I am wondering if my installation of the MySQL for server is complete or not.
View 4 Replies
View Related
Mar 3, 2010
I have installed the MySQL server on two machines and got them to work as master - master over the internet. But since this is not very safe I wanted to get them to work over SSL. I first setup one machine and that worked. However, after setting the second machine to work over SSL it all stopped. I have checked many howto and faq documents without success.
It seems to be related to the certificate I think. This is a dump from the /var/log/syslog file for MySQL:
Mar 3 17:33:02 asterix mysqld: SSL error: Unable to get certificate from '/etc/mysql/mysqlcerts/remoteMaster/client-cert.pem'
Mar 3 17:33:02 asterix kernel: [ 7209.109831] type=1503 audit(1267633982.018:274): operation="open" pid=1324 parent=1071 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=102 ouid=102 name="/etc/mysql/mysqlcerts/remoteMaster/ca-cert.pem"
Mar 3 17:33:02 asterix kernel: [ 7209.109877] type=1503 audit(1267633982.018:275): operation="open" pid=1324 parent=1071 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=102 ouid=102 name="/etc/mysql/mysqlcerts/remoteMaster/client-cert.pem"
This is repeated many times...
I have copied the certificate files in a folder that is owned by mysql:mysql so I assumed that this would be ok.
View 4 Replies
View Related