Won't serve the zm home page

Support and queries relating to all previous versions of ZoneMinder
Locked
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Won't serve the zm home page

Post by Hogface »

I just moved to a new server.
The server is an IBM 342 with dual processors. Version is ZM 1.22.1
I installed a know working (with ZM) version of FC (from the CD's from a previous install).
All installed without any errors.

However when I point my browser I don't get the page.
The only message I can find is in the httpd/error log file:
[client 200.200.200.252] PHP Fatal error: Call to undefined function mysql_pconnect() in /var/www/html/zm/zm_db.php on line 21

I have reinstalled several times, I also have validated that mysql is working.
Permissions seem the same as the other server.

Ideas?
________
extreme vaporizer review
Last edited by Hogface on Thu Feb 03, 2011 1:13 pm, edited 1 time in total.
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Post by Hogface »

Ok..thanks to previous post, looks like php doesn't a have mysql support complied.

Will try that.
________
Mercury Tracer
Last edited by Hogface on Thu Feb 03, 2011 1:13 pm, edited 1 time in total.
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Post by Hogface »

Ok...confused now:
Php info says this at the top:
'./configure' '--build=i386-redhat-linux' '--host=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba'

Note the without-mysql

however later on in the DBX section it shows that dbx is enabled and mysql is supported.

So my question is....is it enabled or not?
The version of php is 5.0.4
________
buy aromed vaporizer
Last edited by Hogface on Thu Feb 03, 2011 1:13 pm, edited 1 time in total.
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Post by Hogface »

The reinstall did not install mysql.
Using yum install work to install the mysql-php and all worked.
________
herbalaire vaporizer
Locked