ihd4ff8wem
User
Dołączył: 03 Maj 2011
Posty: 101
Przeczytał: 0 tematów
Ostrzeżeń: 0/5 Skąd: England Płeć: Kobieta
|
Wysłany: Nie 11:09, 29 Maj 2011 Temat postu: dr dre studio headphones lamp rpm installation met |
|
|
Preparation:
first rpm directory to / usr / local / src Next
cp-rf rpm / usr / local / src
a
MYSQL query using the command and the associated version of the package and the missing package
rpm-qa | grep mysql
access to package information
libdbi-dbd-mysql-0.8.1a-1.2.1
mysql-server-5.0.18-2.1
mysql-5.0.18-2.1
mysql-connector-odbc-3.51.12-1.2.1
cd / usr / local / src / rpm / MYSQL /
updated versions of all packages MYSQL
1
uninstall mysql-5.0.18-2.1
rpm-ev mysql - nodeps
install mysql-5.0.27
rpm-ivh mysql-5.0.27-1.fc5.i386.rpm
2
uninstall mysql-server-5.0. 18-2.1
rpm-ev mysql-server - nodeps
install mysql-server-5.0.27
rpm-ivh mysql-server-5.0. 27-1.fc5.i386.rpm
3
install missing mysql-devel mysql-bench
rpm-ivh mysql-devel-5.0.27-1. fc5.i386.rpm
rpm-ivh mysql-bench-5.0.27-1.fc5.i386.rpm
two command queries the version of PHP and related packages and missing package
rpm-qa | grep php
access to package information
php-pear-1.4.6-2
php-5.1.2-5
php-ldap-5.1.2-5
package for php mysql connection in terms of we need at least
php-pdo php-mysql, and the two packages
cd / usr / local / src / rpm / PHP /
updated version of php related packages,lady gaga dre headphones Love VS happiness., install the missing packages
1
uninstall php -5.1.2-5
rpm-ev php - nodeps
install php-5.1.6
rpm-ivh php-5.1. 6-1.5.i386.rpm
2
uninstall php-pear-1.4.6-2
rpm-ev php-pear - nodeps
install php-pear-1.4.9
rpm-ivh php-pear-1.4.9-1.2.noarch.rpm
3
uninstall php-ldap-5.1.2-5
rpm-ev php-ldap - nodeps
install php-ldap-5.1.6-1
rpm-ivh php-ldap-5.1.6-1.5.i386.rpm
4
installed according to the missing dependency php-odbc
php-pdo
php-mysql
rpm-ivh php-pdo-5.1.6-1.5.i386.rpm
rpm-ivh php-odbc-5.1.6-1.5.i386.rpm
rpm-ivh php-mysql-5.1.6-1.5.i386.rpm
************************* ******
again now mysql and php query the rpm package information
rpm-qa | grep mysql
mysql -5.0.27-1.fc5
mysql-bench-5.0.27-1.fc5
libdbi-dbd-mysql-0.8.1a-1.2.1
mysql-devel-5.0.27-1.fc5
php-mysql-5.1.6-1.5
mysql-server-5.0.27-1.fc5
mysql -connector-odbc-3.51.12-1.2.1
rpm-qa | grep php
php-pdo-5.1.6-1.5
php-pear-1.4.9-1.2
php-5.1.6-1.5
php-mysql-5.1.6-1.5
php-odbc -5.1.6-1.5
php-ldap-5.1.6-1.5
mysql the rpm package is now updated to 7, php of the rpm package has been updated to 6
and we can see that this package php-mysql mysql and php exist in two packages that
package directory.
three modify the configuration file
1
modify the apache configuration file
/ etc / httpd / conf / httpd.conf
added in the document following
LoadModule php5_module / usr/lib/httpd/modules/libphp5.so
AddType application / x-httpd-php. php
find DirectoryIndex
added to index.php index.jsp change back
2 php configuration file
/ etc / php.ini
find
; extension = msql.so
the front of the Notes > Four
test
cd / var / www / html
1
test php
vi index.php
write the following
# service httpd start
# service mysqld start
# firefox localhost &
returns php installation documentation
We have carefully read the contents of the third Configure Command
In the last line it had written and mysql connection
vi php-mysql.php
$ username =
if ($ f! = false)
{
echo >
}
else
{
echo }
$ ff = mysql_connect ($ hostname, $ username, $ password,[link widoczny dla zalogowanych], true);
if ($ ff,[link widoczny dla zalogowanych]! = false)
{
echo > {
echo echo cheng gong!
di er ci lian jie cheng gong!
yes
then congratulate you all have been OK,beat by dr dre 2010 China Internet nine scripts! ,monster beats .ぐ. There is a addictive addiction! ,[link widoczny dla zalogowanych]!
*************************************
Post został pochwalony 0 razy
|
|