Can somebody point me in the right direction...
I have a script that backs up the database, but recently it has stopped working and I don't know why. I suspect it has something to do why my recent recompiling php, but can't see what I omitted.
The mysqldump command is invoked using system($backup, $output)
I then check for execution whether $output==2 (Failed)
$output==1 (Success)
else (Problem executing script)
I'm getting now neither 2 nor 1, but else.
I haven't altered the script since it last worked.
The last time I invoked the script was Jan 20 - PHP was last built on Jan 21, so I suspect my build is to blame.
Configure command was with:
'./configure' '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-apxs' '--with-zlib' '--disable-magic-quotes' '--disable-pear' '--with-mysql=/usr/local/mysql-3.23.46/' '--with-xml' '--with-gd=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
Other system executables appear to work ok, even restoring the database with mysql -e 'source'
Any thoughts/suggestions?