baconbrad / php-webkit

PHP-Webkit is a boilerplate that allows you to package and run PHP applications within a NW.js (formally node-webkit) project.
Other
88 stars 29 forks source link

How to connect mysql in application folder #26

Open nikunjthedreamer opened 7 years ago

nikunjthedreamer commented 7 years ago

it gives me mysql driver not found in nw window after application start successfully. so how to include that driver and where to include?

tuefekci commented 7 years ago

The PHP Binaries are not included in this project, so you add modules to your local php binarie on the machine or if you include the binarie into your build than at that position.

Have a look at https://github.com/baconbrad/php-webkit/blob/master/php-webkit/main.js there is the handling which binaries get used so if you need custom modules you need to ship your own.