Re: nice IDE ?
| From: | SGA2 - FOURTICQ Benjamin | Date: | Wed, 20 Dec 2006 10:25:32 +0000 |
| Subject: | Re: nice IDE ? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7533@lists.php.net to get a copy of this message | ||
I have some dificulties to use run/debug:
* First, I tried to use php5 from Zend Studio :
I just add php-gtk2.dll in the ./ext path
I modify php.ini :
extension_dir=C:\Program Files\Zend\ZendStudio-5.5.0\bin\php5\ext extension=php_curl.dll extension=php_mysql.dll extension=php_mysqli.dll extension=php_pdo.dll extension=php_pgsql.dll extension=php_soap.dll extension=php_sqlite.dll extension=php-gtk2.dll zend_extension_ts=C:\Program Files\Zend\ZendStudio-5.5.0\lib\php5\ZendDebuggerLocal.dll zend_debugger.allow_hosts=127.0.0.1/32 session.save_path=C:\Program Files\Zend\ZendStudio-5.5.0\tmp include_path = C:\Program Files\Zend\ZendStudio-5.5.0\bin\ZendFramework\library;. => The extension doesn't seems to be loaded : <b>Fatal error</b>: Class 'GTK' not found in <b>[....] on line <b>90</b><br />*Next I Tried using my own php.exe and all dll's (based on Gnope distro, but with others extensions) => Impossible to run the debugger, not installed or php is invalid or corrupted. What do u mean saying glade doesn't works ? I will not be able to load php_gtk_libglade2.dll ? Or is it just that I will not get the debug info about glade file ? Thanks. Benjamin. Ferguson, Jace William(UMKC-Student) a écrit :
To get Zend Studio to run php-gtk apps directly from the debugger you must add a few lines to the php.ini file in the zendstudio/bin/php5 folder. //Tells Zend where to look for the extension extension_dir="./ext/" //The Gtk extension extension php-gtk2.dll This should allow you to run gtk code straight from the debugger. However, glade doesn't work in the debugger. Jace -----Original Message----- From: SGA2 - FOURTICQ Benjamin [mailto:bf@sga2.com] Sent: Tuesday, December 19, 2006 8:28 AM To: php-gtk-general@lists.php.net Subject: Re: [PHP-GTK] nice IDE ? Thanks the comptletion works ! ... I get some trouble to configure php engine to use gtk extension... I would like to use Zend studio to run my application, is it possible ? Benjamin. FGM a écrit :I just tested it and it seems to work great with studio 5.5. It seems to be necessary to paste the contents of the file into phpFunctions5.php, though. Just placing it in <studio>/lib doesn't cause it to be parsed. ----- Original Message ----- From: "Anant Narayanan" <anant@kix.in> To: "SGA2 - FOURTICQ Benjamin" <bf@sga2.com> Cc: <php-gtk-general@lists.php.net> Sent: Monday, December 18, 2006 5:35 PM Subject: Re: [PHP-GTK] nice IDE ?http://www.zend.com/forums/index.php?t=msg&S=1000462b7cf8677d88b3d58a5e766c37&th=1566&goto=4252Hi Benjamin,Some information on auto-complete for Zend Studio: