gnope php gtk gui gnope.org  

PHP-GTK2 and MYSQL

 
Post new topic   Reply to topic    gnope.org Forum Index -> Chatterbox
View previous topic :: View next topic  
Author Message
piotrcode



Joined: 13 Jun 2006
Posts: 3

PostPosted: Tue Jun 13, 2006 2:00 am    Post subject: PHP-GTK2 and MYSQL Reply with quote

I use Windows XP.
I have installed PHP-Gtk2 by the gnope intaller (I have PHP-Gtk2 directory on c disk)
I have written the windowed aplication in php.
I could run my application by "php.exe myaplication.php" in the command line.
When I wanted my application to work together with the mysql database and added to my aplication line: mysql_connect (); the application do not run and I get in the command line the error: "Fatal error: Call to undefined function mysql_connect() in C:\prog".

Is that mean that windowed php aplications can not work with mysql?
I am very disappointed, please tell me if this is not true.
Back to top
omis28ca



Joined: 26 Dec 2005
Posts: 11
Location: Fresno, CA

PostPosted: Tue Jun 13, 2006 2:55 am    Post subject: Possible answer Reply with quote

Please see this topic http://www.gnope.org/forum/viewtopic.php?t=196

youll find your answer there you might need to install the MYSQL extension for PHP5 as the GNOPE version does not come with it installed by default
Back to top
piotrcode



Joined: 13 Jun 2006
Posts: 3

PostPosted: Tue Jun 13, 2006 12:37 pm    Post subject: Reply with quote

Thank You, I have found it before You answered, now everything is woking well.
Back to top
taymtogo



Joined: 26 Mar 2008
Posts: 1

PostPosted: Wed Mar 26, 2008 3:38 am    Post subject: Reply with quote

hello i'm having the same problem.
i couldn't load the php_mysql.dll
i'v added the php_mysql.dll to the ext directory
the php5ts.dll & libmysql.dll to the root directory of the php-gtk2
but it wont work
here is the error message thrown after executing the app :
//////////////////////////
"PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0"
///////////////////////////////
i think maybe because of the version of the extension
can anyone help me out of here
i've tried everything & i'm stucked
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> Chatterbox All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.