- 论坛徽章:
- 0
|
两年没整这些东西了,NetBSD6发布后,手心痒痒想试试,结果才知道自己和白痴一样,apache运行了,mysql运行了,phpinfo(),也运行了,可php和mysql无法连接。php54-mysql也装了,extension=mysql.so也在php.ini里。我实在是头晕了,来这里求助。
都是pkgin install安装的预编译包。原来NetBSD5的时候,从来都是好着的。
pkgin ls
ap24-php54-5.4.7 Apache (apache24) module for PHP5.4
apache-2.4.3 Apache HTTP (Web) server, version 2.4
apr-1.4.6 Apache Portable Runtime
apr-util-1.4.1nb1 Apache Portable Runtime utilities
libxml2-2.9.0 XML parser library from the GNOME project
mysql-client-5.5.27 MySQL 5, a free SQL database (client)
mysql-server-5.5.27 MySQL 5, a free SQL database (server)
pcre-8.31 Perl Compatible Regular Expressions library
perl-5.14.2nb6 Practical Extraction and Report Language
php-5.4.7 PHP Hypertext Preprocessor version 5
php54-mysql-5.4.7nb1 PHP extension for MySQL databases
php54-mysqli-5.4.7nb1 PHP5 extension for MySQL 4.1 and later databases
pkg_install-20120221 Package management and administration tools for pkgsrc
pkgin-0.6.2.2nb1 Apt / yum like tool for managing pkgsrc binary packages
readline-6.2 GNU library that can recall and edit previous input
xmlcatmgr-2.2nb1 XML and SGML catalog manager
|
|