Mysql is not working with PHP. I got a blank white page on my website. and I'm looking for the problem, for some reasons, i found out that my php version doesn't have a mysql version. So look for some solutions and here's what I've gone so far. I tried to update my php version and mysql. I got this error after executing this command
yum install -y php php-mysql
i have a centOS 6.4 and a php 5.3.3 . and my php doesn't have a mysql support. what should i do? and after i execute the said command (yum install -y php php-mysql). I got an error message. Is there something wrong with my code?
Error: Package: php-common-5.3.27-2.w5.i386 (webtatic) Requires: libcurl.so.3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
in my situation I solved my problem by enabling rpmforge-extras repository in yum.repos:
thanks to this
> cat /etc/yum.repos.d/rpmforge.repo
...
[rpmforge-extras]
...
enabled = 0
This is strange as yum
typically tries to resolve dependencies. Try installing libcurl manually:
yum install libcurl libcurl-devel
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.