PDA

View Full Version : Zend Framework Installation



kokus
01-08-2007, 11:26 AM
I was wondering if anybody has successfully completed and installation of the Zend Framework. I am having problems with the pdo mysql extension and the location of the php.ini (s) in the different folders the way bluehost php configuration is designed.

Just wanted to know if there are any tips to successfully install the zend framework in the bluehost server environment.

I have put a support ticket saturday at 11 am and still it says "new" in bluehost ticket support. I was wondering why? I thought Bluehost had a good customer support.

This is the error i am getting when I try to run the /zf-tutorial/



Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The mysql driver is not currently installed' in /home/domain.name/public_html/zf-tutorial/library/Zend/Db/Adapter/Pdo/Abstract.php:88 Stack trace: #0 /home/domain.name/public_html/zf-tutorial/library/Zend/Db/Adapter/Abstract.php(146): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/domain.name/public_html/zf-tutorial/library/Zend/Db/Adapter/Abstract.php(309): Zend_Db_Adapter_Abstract->query('DESCRIBE album', NULL) #2 /home/domain.name/public_html/zf-tutorial/library/Zend/Db/Adapter/Pdo/Mysql.php(86): Zend_Db_Adapter_Abstract->fetchAll('DESCRIBE album') #3 /home/domain.name/public_html/zf-tutorial/library/Zend/Db/Table.php(181): Zend_Db_Adapter_Pdo_Mysql->describeTable('album') #4 /home/domain.name/public_html/zf-tutorial/library/Zend/Db/Table.php(123): Zend_Db_Table->_setup() #5 /home/domain.name/public_html/zf-tutorial/application/controllers/IndexController.php(32): Zend_Db_Table->__construct() #6 /home/domain.name/public_html/zf-tutorial/library/Zend/Controller/Dispat in /home/domain.name/public_html/zf-tutorial/library/Zend/Db/Adapter/Pdo/Abstract.php on line 88


I have the pdo drivers installed and a test php file runs without problems in the root directory.

if anybody have the Zend Framework working please let me know.

thanks

Jorge

Schelly
01-08-2007, 04:04 PM
I just ran a phpinfo on my sites and they all have the Zend extension pre-installed, and the Zend memory manager enabled. It says:



Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v3.0.2, Copyright (c) 1998-2006, by Zend Technologies


Does that help?

kokus
01-08-2007, 05:06 PM
Hi.
The Zend optimazer and memory maneger are two things completaly different things than the Zend Framework. You can find more information here:

http://framework.zend.com/

I am looking here if somebody has successfully installed the zend framework in a bluehost server running php 5.x.

thanks for the reply.

Kokus

aghamir
02-16-2007, 09:11 AM
I am having the same problem, Any luck with support from bluehost?
thanks

soulstice99
02-25-2007, 12:03 PM
Any news on this? Shows up on error logs :eek:

GMT
06-18-2007, 02:24 PM
Hey I'm having the same problems, I have PDO_MySQL installed and is confirmed by my php_info() but the Zend Framework doesn't seem to reconise it?

GMT
06-19-2007, 05:04 AM
Just for anyone searching from google I got the following support from bluehost:


I dropped a php.ini file in your web_root directory that includes
"extension=pdo_mysql.so". Since everything is ultimately loaded through the PHP
wrapper index.php, it was necessary to include the extension in that directory.
As far as I can tell, the application is now loading properly.


And he was right so to be clear I now have a php.ini file next to the index.php that is recieving all the the requests for my application that loads in the PDO drivers! :)

Great Support from BlueHost again!

raulgonzalez
09-14-2007, 08:10 AM
Just for anyone searching from google I got the following support from bluehost:


I dropped a php.ini file in your web_root directory that includes
"extension=pdo_mysql.so". Since everything is ultimately loaded through the PHP
wrapper index.php, it was necessary to include the extension in that directory.
As far as I can tell, the application is now loading properly.


And he was right so to be clear I now have a php.ini file next to the index.php that is recieving all the the requests for my application that loads in the PDO drivers! :)

Great Support from BlueHost again!
I have added these 2 lines into php.ini

extension=pdo.so
extension=pdo_mysql.so

And copy file php.ini to EVERY folder which have .php files. But my application (using Zend Framework) still don't work.
Anyone know how to enable the PDO in Bluehost??

cade
09-14-2007, 11:06 PM
PDO_MySQL may not be installed on your server. PDO extensions are installed by Bluehost on an as needed basis, server by server. If you have shell access, you should be able to list installed PECL extensions:


# pecl list

If PDO_MySQL isn't installed, create a ticket for support and they will be happy to install it for you.

-Cade

cdixon
01-09-2008, 10:58 PM
I am having a similar problem and support has not been very helpful with this issue.

I get errors like
Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory

Bassman
04-29-2008, 12:36 PM
extension=pdo_mysql.so

That's all it took to fix my problem.
Thanks

saosangmo
05-11-2008, 04:51 PM
hi Bassman,
could you help me instal pdo_mysql on bluehost?