update
I downloaded the zip file provided in the same tutorial. however when i try to access it in browser then I get this error:
Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '' (111)' in /quickstart/library/Zend/Db/Adapter/Pdo/Abstract.php:131 Stack trace: #0 /quickstart/library/Zend/Db/Adapter/Abstract.php(390): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /quickstart/library/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query('DESCRIBE `comme...', Array) #2 /quickstart/library/Zend/Db/Adapter/Pdo/Mysql.php(137): Zend_Db_Adapter_Pdo_Abstract->query('DESCRIBE `comme...') #3 /quickstart/library/Zend/Db/Table/Abstract.php(605): Zend_Db_Adapter_Pdo_Mysql->describeTable('comments', NULL) #4 /quickstart/library/Zend/Db/Table/Abstract.php(534): Zend_Db_Table_Abstract->_setupMetadata() #5 /quickstart/library/Zend/Db/Table/Abstract.php(269): Zend_Db_Table_Abstract->_setup( in /quickstart/library/Zend/Db/Adapter/Pdo/Abstract.php on line 131
This is probably related with pdo mysql not being configure but I did configure my php with pdo option.
'./configure' '--enable-bcmath' '--enable-calendar' '--enable-discard-path' '--enable-ftp' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/sbin/apxs' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-gd' '--with-jpeg-dir=/usr' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-pdo-mysql=/usr/bin/mysql' '--with-zlib'
Any idea what might be going on??
|