jaboo
Member
Hallo,
schön wäre, wenn ich nun genau beschreiben könnte, was mein Problem mit
FreeBSD, PHP5 und MySQL ist, aber alles was ich bisher vermutet und ausprobiert habe, hat nichts bewirkt.
Nach einem portupgrade im Dezember läuft mein Code nicht mehr:
Fatal error: Call to undefined function mysql_connect() in /path/file.php on line n
phpinfo() meint:
Additional Modules
[keine]
Mein System:
# uname -sr
FreeBSD 5.4-RELEASE-p7
# pkg_info | grep apache
apache-2.0.55_2 Version 2 of Apache web server with prefork MPM.
# pkg_info | grep php5
php5-5.1.2 PHP Scripting Language (Apache Module and CLI)
php5-bz2-5.1.2 The bz2 shared extension for php
php5-calendar-5.1.2 The calendar shared extension for php
php5-ctype-5.1.2 The ctype shared extension for php
php5-curl-5.1.2 The curl shared extension for php
php5-dom-5.1.2 The dom shared extension for php
php5-exif-5.1.2 The exif shared extension for php
php5-extensions-1.0 A "meta-port" to install PHP extensions
php5-ftp-5.1.2 The ftp shared extension for php
php5-gd-5.1.2 The gd shared extension for php
php5-gettext-5.1.2 The gettext shared extension for php
php5-iconv-5.1.2 The iconv shared extension for php
php5-imap-5.1.2 The imap shared extension for php
php5-ldap-5.1.2 The ldap shared extension for php
php5-mbstring-5.1.2 The mbstring shared extension for php
php5-mcrypt-5.1.2 The mcrypt shared extension for php
php5-mysql-5.1.2 The mysql shared extension for php
php5-mysqli-5.1.2 The mysqli shared extension for php
php5-openssl-5.1.2 The openssl shared extension for php
php5-pcre-5.1.2 The pcre shared extension for php
php5-posix-5.1.2 The posix shared extension for php
php5-session-5.1.2 The session shared extension for php
php5-simplexml-5.1.2 The simplexml shared extension for php
php5-snmp-5.1.2 The snmp shared extension for php
php5-sqlite-5.1.2 The sqlite shared extension for php
php5-tokenizer-5.1.2 The tokenizer shared extension for php
php5-xml-5.1.2 The xml shared extension for php
php5-xmlrpc-5.1.2 The xmlrpc shared extension for php
php5-xmlwriter-5.1.2 The xmlwriter shared extension for php
php5-xsl-5.1.2 The xsl shared extension for php
php5-zlib-5.1.2 The zlib shared extension for php
# pkg_info | grep mysql
mysql-client-4.1.16_1 Multithreaded SQL database (client)
mysql-scripts-4.1.16 Multithreaded SQL database (scripts)
mysql-server-4.1.16 Multithreaded SQL database (server)
php5-mysql-5.1.2 The mysql shared extension for php
php5-mysqli-5.1.2 The mysqli shared extension for php
Kann mir jemand helfen ?
Danke, jaboo.
schön wäre, wenn ich nun genau beschreiben könnte, was mein Problem mit
FreeBSD, PHP5 und MySQL ist, aber alles was ich bisher vermutet und ausprobiert habe, hat nichts bewirkt.
Nach einem portupgrade im Dezember läuft mein Code nicht mehr:
Fatal error: Call to undefined function mysql_connect() in /path/file.php on line n
phpinfo() meint:
Additional Modules
[keine]
Mein System:
# uname -sr
FreeBSD 5.4-RELEASE-p7
# pkg_info | grep apache
apache-2.0.55_2 Version 2 of Apache web server with prefork MPM.
# pkg_info | grep php5
php5-5.1.2 PHP Scripting Language (Apache Module and CLI)
php5-bz2-5.1.2 The bz2 shared extension for php
php5-calendar-5.1.2 The calendar shared extension for php
php5-ctype-5.1.2 The ctype shared extension for php
php5-curl-5.1.2 The curl shared extension for php
php5-dom-5.1.2 The dom shared extension for php
php5-exif-5.1.2 The exif shared extension for php
php5-extensions-1.0 A "meta-port" to install PHP extensions
php5-ftp-5.1.2 The ftp shared extension for php
php5-gd-5.1.2 The gd shared extension for php
php5-gettext-5.1.2 The gettext shared extension for php
php5-iconv-5.1.2 The iconv shared extension for php
php5-imap-5.1.2 The imap shared extension for php
php5-ldap-5.1.2 The ldap shared extension for php
php5-mbstring-5.1.2 The mbstring shared extension for php
php5-mcrypt-5.1.2 The mcrypt shared extension for php
php5-mysql-5.1.2 The mysql shared extension for php
php5-mysqli-5.1.2 The mysqli shared extension for php
php5-openssl-5.1.2 The openssl shared extension for php
php5-pcre-5.1.2 The pcre shared extension for php
php5-posix-5.1.2 The posix shared extension for php
php5-session-5.1.2 The session shared extension for php
php5-simplexml-5.1.2 The simplexml shared extension for php
php5-snmp-5.1.2 The snmp shared extension for php
php5-sqlite-5.1.2 The sqlite shared extension for php
php5-tokenizer-5.1.2 The tokenizer shared extension for php
php5-xml-5.1.2 The xml shared extension for php
php5-xmlrpc-5.1.2 The xmlrpc shared extension for php
php5-xmlwriter-5.1.2 The xmlwriter shared extension for php
php5-xsl-5.1.2 The xsl shared extension for php
php5-zlib-5.1.2 The zlib shared extension for php
# pkg_info | grep mysql
mysql-client-4.1.16_1 Multithreaded SQL database (client)
mysql-scripts-4.1.16 Multithreaded SQL database (scripts)
mysql-server-4.1.16 Multithreaded SQL database (server)
php5-mysql-5.1.2 The mysql shared extension for php
php5-mysqli-5.1.2 The mysqli shared extension for php
Kann mir jemand helfen ?
Danke, jaboo.
