• m_pahlevanzadeh

    (@m_pahlevanzadeh)


    I installed apache24 and php74 in FreeBSD. Also I zipped my site in another host and scp to to new host.
    I have two following links:
    http://162.223.88.49/index.php
    Above link is my wordpress.
    And the following link is a

    print_r(get_loaded_extensions());
    phpinfo();

    http://162.223.88.49/test.php

    By the way, I installed php74-extensions.
    Output of php -m |grep -i mysql is :

    mysqli
    mysqlnd
    pdo_mysql

    How can I solve my problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ketan Vyawahare

    (@ketanvyawahare)

    Hi @m_pahlevanzadeh ,

    Are you getting this error in any WP file or your custom code is throwing this error?

    Also, please check if you have mysql extension of PhP is installed on your server.

    Please let us know your feedback!

    Suman

    (@sumanm)

    @m_pahlevanzadeh

    please check if you have installed mysql server or not.
    Also check php-mysql libraries are installed or not.

    for more check the link here

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function mysql_connect()’ is closed to new replies.