You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rodrigo Cunha <ro...@gmail.com> on 2016/12/22 01:57:53 UTC

[users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

Dears,
i'm install apache service from source httpd-2.4.23.tar.gz with php7; from
php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display the
message:
The *mysqli|mysql*
<http://rat2.oduvaldocozzi.intranet/url.php?url=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Fbook.mysqli%7Cmysql.php>
extension is missing. Please check your PHP configuration. See our
documentation
<http://rat2.oduvaldocozzi.intranet/doc/html/faq.html#faqmysql> for more
information.

my mysql it is work.

Somebody help me



-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil

Re: [users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

Posted by Rodrigo Cunha <ro...@gmail.com>.
Dears, my phpmyadmin is work fine, i set configure:
./configure --with-apache=/usr/local/httpd-2.4.23
--with-apxs2=/usr/local/httpd-2.4.23/bin/apxs --with-mysql
--enable-mbstring --with-mysqli=/usr/bin/mysql_config

i installing this lib: apt-get install libmysqlclient-dev

my repositories:

root@nginx:/opt/www/www.phpmyadmin.lab.intranet# cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST
Binary-1 20160917-14:20]/ jessie main

#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 NETINST
Binary-1 20160917-14:20]/ jessie main

deb http://ftp.br.debian.org/debian/ jessie main
deb-src http://ftp.br.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://ftp.br.debian.org/debian/ jessie-updates main
deb-src http://ftp.br.debian.org/debian/ jessie-updates main

my policy check:
root@nginx:/opt/www/www.phpmyadmin.lab.intranet# apt-cache policy
libmysqlclient-dev
libmysqlclient-dev:
  Instalado: 5.5.53-0+deb8u1
  Candidato: 5.5.53-0+deb8u1
  Tabela de versão:
 *** 5.5.53-0+deb8u1 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     5.5.50-0+deb8u1 0
        500 http://ftp.br.debian.org/debian/ jessie/main amd64 Packages
root@nginx:/opt/www/www.phpmyadmin.lab.intranet#

tks!!


2016-12-22 15:08 GMT-02:00 Rodrigo Cunha <ro...@gmail.com>:

> Dears, my module is load in the apache:
>
> root@nginx:/home/rcunha# apachectl -M
> Loaded Modules:
>  core_module (static)
>  so_module (static)
>  http_module (static)
>  mpm_event_module (static)
>  authn_file_module (shared)
>  authn_core_module (shared)
>  authz_host_module (shared)
>  authz_groupfile_module (shared)
>  authz_user_module (shared)
>  authz_core_module (shared)
>  access_compat_module (shared)
>  auth_basic_module (shared)
>  reqtimeout_module (shared)
>  filter_module (shared)
>  mime_module (shared)
>  log_config_module (shared)
>  env_module (shared)
>  headers_module (shared)
>  setenvif_module (shared)
>  version_module (shared)
>  unixd_module (shared)
>  status_module (shared)
>  autoindex_module (shared)
>  dir_module (shared)
>  alias_module (shared)
>  php7_module (shared)
> root@nginx:/home/rcunha#
>
>
> 2016-12-22 12:08 GMT-02:00 Rodrigo Cunha <ro...@gmail.com>:
>
>> how i compile this extension and load in my enviroment?
>>
>> 2016-12-22 7:00 GMT-02:00 Daniel <df...@gmail.com>:
>>
>>> It refers to mysql extension for php not your mysql server.
>>>
>>> El 22 dic. 2016 2:58 a. m., "Rodrigo Cunha" <ro...@gmail.com>
>>> escribió:
>>>
>>>> Dears,
>>>> i'm install apache service from source httpd-2.4.23.tar.gz with php7;
>>>> from
>>>> php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display
>>>> the message:
>>>> The *mysqli|mysql*
>>>> <http://rat2.oduvaldocozzi.intranet/url.php?url=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Fbook.mysqli%7Cmysql.php>
>>>> extension is missing. Please check your PHP configuration. See our
>>>> documentation
>>>> <http://rat2.oduvaldocozzi.intranet/doc/html/faq.html#faqmysql> for
>>>> more information.
>>>>
>>>> my mysql it is work.
>>>>
>>>> Somebody help me
>>>>
>>>>
>>>>
>>>> --
>>>> Atenciosamente,
>>>> Rodrigo da Silva Cunha
>>>> São Gonçalo, RJ - Brasil
>>>>
>>>>
>>
>>
>> --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>> São Gonçalo, RJ - Brasil
>>
>>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil

Re: [users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

Posted by Rodrigo Cunha <ro...@gmail.com>.
Dears, my module is load in the apache:

root@nginx:/home/rcunha# apachectl -M
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 headers_module (shared)
 setenvif_module (shared)
 version_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 dir_module (shared)
 alias_module (shared)
 php7_module (shared)
root@nginx:/home/rcunha#


2016-12-22 12:08 GMT-02:00 Rodrigo Cunha <ro...@gmail.com>:

> how i compile this extension and load in my enviroment?
>
> 2016-12-22 7:00 GMT-02:00 Daniel <df...@gmail.com>:
>
>> It refers to mysql extension for php not your mysql server.
>>
>> El 22 dic. 2016 2:58 a. m., "Rodrigo Cunha" <ro...@gmail.com>
>> escribió:
>>
>>> Dears,
>>> i'm install apache service from source httpd-2.4.23.tar.gz with php7;
>>> from
>>> php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display
>>> the message:
>>> The *mysqli|mysql*
>>> <http://rat2.oduvaldocozzi.intranet/url.php?url=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Fbook.mysqli%7Cmysql.php>
>>> extension is missing. Please check your PHP configuration. See our
>>> documentation
>>> <http://rat2.oduvaldocozzi.intranet/doc/html/faq.html#faqmysql> for
>>> more information.
>>>
>>> my mysql it is work.
>>>
>>> Somebody help me
>>>
>>>
>>>
>>> --
>>> Atenciosamente,
>>> Rodrigo da Silva Cunha
>>> São Gonçalo, RJ - Brasil
>>>
>>>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil

Re: [users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

Posted by Rodrigo Cunha <ro...@gmail.com>.
how i compile this extension and load in my enviroment?

2016-12-22 7:00 GMT-02:00 Daniel <df...@gmail.com>:

> It refers to mysql extension for php not your mysql server.
>
> El 22 dic. 2016 2:58 a. m., "Rodrigo Cunha" <ro...@gmail.com>
> escribió:
>
>> Dears,
>> i'm install apache service from source httpd-2.4.23.tar.gz with php7;
>> from
>> php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display
>> the message:
>> The *mysqli|mysql*
>> <http://rat2.oduvaldocozzi.intranet/url.php?url=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Fbook.mysqli%7Cmysql.php>
>> extension is missing. Please check your PHP configuration. See our
>> documentation
>> <http://rat2.oduvaldocozzi.intranet/doc/html/faq.html#faqmysql> for more
>> information.
>>
>> my mysql it is work.
>>
>> Somebody help me
>>
>>
>>
>> --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>> São Gonçalo, RJ - Brasil
>>
>>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil

Re: [users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

Posted by Daniel <df...@gmail.com>.
It refers to mysql extension for php not your mysql server.

El 22 dic. 2016 2:58 a. m., "Rodrigo Cunha" <ro...@gmail.com>
escribió:

> Dears,
> i'm install apache service from source httpd-2.4.23.tar.gz with php7; from
> php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display the
> message:
> The *mysqli|mysql*
> <http://rat2.oduvaldocozzi.intranet/url.php?url=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Fbook.mysqli%7Cmysql.php>
> extension is missing. Please check your PHP configuration. See our
> documentation
> <http://rat2.oduvaldocozzi.intranet/doc/html/faq.html#faqmysql> for more
> information.
>
> my mysql it is work.
>
> Somebody help me
>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>

Re: [users@httpd] Problems with compile httpd-2.4.23 and php-7.1.0

Posted by "Michael A. Peters" <mp...@domblogger.net>.
On 12/21/2016 05:57 PM, Rodrigo Cunha wrote:
> Dears,
> i'm install apache service from source httpd-2.4.23.tar.gz with php7; from
> php-7.1.0.tar.gz, but my phpmyadmin not work in the system and display
> the message:
> The /mysqli|mysql/
> <http://rat2.oduvaldocozzi.intranet/url.php?url=http%3A%2F%2Fphp.net%2Fmanual%2Fen%2Fbook.mysqli%7Cmysql.php>
> extension is missing. Please check your PHP configuration. See our
> documentation
> <http://rat2.oduvaldocozzi.intranet/doc/html/faq.html#faqmysql> for more
> information.
>
> my mysql it is work.
>
> Somebody help me

I never use phpMyAdmin but I can confirm that php 7.1.0 works with 
httpd-2.4.23

One thing to note is the name of the php module changed to mod_php7.c - 
if your apache configuration is trying to load mod_php5.c that would be why.

Your apache error log may reveal the problem when you start apache.

>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> S�o Gon�alo, RJ - Brasil
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org