[ZendTo] Re: Centos Yum install

Julian Field Jules at Zend.To
Thu Apr 14 09:41:30 BST 2011


Many thanks for the feedback about the yum/rpm setup, I will try to fix all of that before version 4 goes into production "stable" use.

As for the mysqli problem, you need to install the package php-mysql, then restart httpd with "service httpd restart".

Any more problems, just yell! :-)

-- 
Jules

On 13 Apr 2011, at 11:02 AM, "Elston, Ian" <I.Elston at bolton.ac.uk> wrote:

> Me again. 
> 
> I RTFM again and found that I hadn't installed mysql-server. Yum'd it,
> started it, works. 
> 
> I think I've followed the rest of the instructions, setting the options
> in /opt/zendto/config/preferences.php for using MySQL and AD
> authentication. 
> 
> If I go to 
> 
> http://myserver/about.php I get "Fatal error: Class 'mysqli' not found
> in /opt/zendto/lib/MySQL.php on line 45", same in error_log
> 
> Can anyone point me in the right direction?
> 
> Cheers
> 
> Ian
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> ------
> Ian Elston
> Networks & Developments
> The University of Bolton
> http://www.bolton.ac.uk
> 
> ** SUPPORT QUERIES **
> 
> 
> -----Original Message-----
> From: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] On Behalf
> Of Elston, Ian
> Sent: 13 April 2011 09:10
> To: zendto at zend.to
> Subject: [ZendTo] Centos Yum install
> 
> Hi
> 
> (background: I'm not the most Linux-proficient user but I'm having a
> go..., please forgive obvious nistakes I make...) 
> 
> I've built a Centos 5.6 x64 VM, added the repository at
> http://zend.to/files/zendto-repo.rpm. 
> 
> I also added the rpmforge-release repository so that 'yum install
> zendto' didn't fail on clamav. 
> 
> 2 things:
> 
> 1) freshclam or mysql aren't dependencies on the yum install zendto -
> I'll try and find a freshclam rpm.
> 
> 2) I did 'yum install mysql' to install it. But when I try to follow the
> instructions on http://zend.to/centos.php to create the database, I type
> 'mysql' to try n get to the prompt I get:
> 
> " [root at mumford ~]# mysql
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)"
> 
> I've obviously missed something but I don't really know where to start
> with mysql...
> 
> If this is too noddy/'linux for beginners for the list', apologies. 
> 
> Ian
> 
> 
> 
> 
> ------------------------------------------------------------------------
> ------
> Ian Elston
> Networks & Developments
> The University of Bolton
> http://www.bolton.ac.uk
> 
> 
> 
> 
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
> 
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto



More information about the ZendTo mailing list