PHP cannot call Mysql-connect under CLI under Ubunut

Source: Internet
Author: User
Tags php mysql
Hint that this function is not

I use Php-m.
Look, ha, it's really not a MySQL module.


I'm probably feeling the problem because I was apt-get installed a php5.3.
But later compiled and installed a php5.4, the result of my PHP in the CLI and fastcgi under the same version, one is 5.3 cli is 5.4


I don't know if that's the cause.


Ask the expert to help solve!


Reply to discussion (solution)

There's a weird problem with Ubuntu. If you want to compile and install PHP yourself before you apt-get, you search for Ubuntu completely uninstall PHP mysql Apache ... After the thorough uninstall oneself compiles or he seems to always automatically use the system of ... Ha ha haha

Do you need help with the yellow film?

Do you need help with the yellow film? Lack of female pig's foot

Is.

The answer is finished, knot it.

Is.

The answer is finished, knot it. I haven't solved the problem yet!

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.