What happen PHP...... ><

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
leo2016
Posts: 2
Joined: Tue May 02, 2006 4:03 am

What happen PHP...... ><

Post by leo2016 »

Code: Select all

# php
PHP Warning:  mime_magic: type regex            BEGIN[[:space:]]*[{]    application/x-awk invalid in Unknown on line 0

Code: Select all

LinkStation:~# php -m
PHP Warning:  mime_magic: type regex            BEGIN[[:space:]]*[{]    application/x-awk invalid in Unknown on line 0
[PHP Modules]
bcmath
bz2
calendar
ctype
dba
dbx
exif
filepro
ftp
gettext
iconv
mbstring
mime_magic
ncurses
openssl
overload
pcntl
pcre
posix
session
shmop
snmp
sockets
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlrpc
yp
zip
zlib

[Zend Modules]

LinkStation:~#

Code: Select all

LinkStation:/usr/share/cacti/site# php cmd.php
PHP Warning:  mime_magic: type regex            BEGIN[[:space:]]*[{]    applicat                                              ion/x-awk invalid in Unknown on line 0

Fatal error: Call to undefined function:  mysql_pconnect() in /usr/share/php/ado                                              db/drivers/adodb-mysql.inc.php on line 373
LinkStation:/usr/share/cacti/site#

what happen ?????
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

what system / version of PHP are you running ?

If it's a Linux distribution, check that the package php-mysql is installed.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests