Install Libapache2-mod-php5 Centos

Install Libapache2-mod-php5 Centos

Install Libapache2-mod-php5 Centos Rating: 6,2/10 5769 votes

Changelog

Libapache2-mod-php5

Jun 05, 2008  one of my server was configured by another person. In that sever LAMP install. Server's os is centos and squid is also installed + php - 5.2. If i apt-get install php5 libapache2-mod-php5. Will it delete my previous php and install new php? Oh no i get E: Couldn't find package apache2 when apt-get install apache2 php5 libapache2-mod-php5.

Changelog
VersionDescription
5.3.0 The MySQL Native Driver was added, with support for all MySQL extensions (i.e., mysql, mysqli and PDO_MYSQL). Passing in mysqlnd to the appropriate configure switch enables this support.
5.4.0 The MySQL Native Driver is now the default for all MySQL extensions (i.e., mysql, mysqli and PDO_MYSQL). Passing in mysqlnd to configure is now optional.
5.5.0 SHA-256 Authentication Plugin support was added

Installation on Unix

The MySQL database extensions must be configured to use the MySQL Client Library. In order to use the MySQL Native Driver, PHP needs to be built specifying that the MySQL database extensions are compiled with MySQL Native Driver support. This is done through configuration options prior to building the PHP source code.

For example, to build the MySQL extension, mysqli and PDO MYSQL using the MySQL Native Driver, the following command would be given: Malgudi subha telugu songs download.

Installation on Windows

In the official PHP Windows distributions from 5.3 onwards, MySQL Native Driver is enabled by default, so no additional configuration is required to use it. All MySQL database extensions will use MySQL Native Driver in this case.

SHA-256 Authentication Plugin support

The MySQL Native Driver requires the OpenSSL functionality of PHP to be loaded and enabled to connect to MySQL through accounts that use the MySQL SHA-256 Authentication Plugin. For example, PHP could be configured using:

add a note

User Contributed Notes 2 notes

Nehuen
4 years ago
In debian, if you need to use mysqld and have already installed php, you can run this command:
sudo apt-get install php5-mysqlnd
and then restart the server, ej apache
sudo /etc/init.d/apache2 restart
now you can use php with mysqld
jose dot nobile at gmail dot comCentos
9 years ago
On CentOS 5.4, installing php 5.3.3, is without mysqlnd
But is available mysql, mysqli, pdo_mysql
  • Mysqlnd
Install Libapache2-mod-php5 Centos
© 2020