standalone site with php and mysql

liunx

Guest
is there anyway in turning a site that utilises php and mysql into a standalone tool for issuing out on a CD?No, not without bundling MySQL, Apache and PHP with the installation. Then you would need to run PHP in CGI mode so that you could create PHP executable scripts (like PERL).

Btw, there are licence constraints when bundling MySQL.there is an application that will bundle your php scripts and make them work off a CD. but like Torrent said it won't work with mysql.licence constraints?

I thought MySQL was distributed under the GNU General Purpose Licence, and was free?MySQL Licensing Policy

The formal terms of the GPL license can be found at section J GNU GENERAL PUBLIC LICENSE. For pricing and ordering information, see <!-- m --><a class="postlink" href="https://order.mysql.com/">https://order.mysql.com/</a><!-- m -->.

Basically, our licensing policy and interpretation of the GPL is as follows:

For normal internal use, MySQL costs nothing. You do not have to pay us if you do not want to.

A license is required if: You link a program, that is not free software, with code from the MySQL server or clients that has the GPL copyright. This happens for example when you use MySQL as an embedded server in your applications or when you add not free extensions to the MySQL server. In this case your application/code would also become GPL through the GPL license that acts as a virus. By licensing MySQL server from MySQL AB under a commercial license you will avoid this problem. See <!-- m --><a class="postlink" href="http://www.gnu.org/copyleft/gpl-faq.html">http://www.gnu.org/copyleft/gpl-faq.html</a><!-- m -->.
You have a commercial application that ONLY works with MySQL and ships the application with the MySQL server. This is because we view this as linking even if it is done over the network.
You have a distribution of MySQL and you don't provide the source code for your copy of the MySQL server, as defined in the GPL license.Read it all at <!-- m --><a class="postlink" href="http://www.mysql.com/support/arrangements.html">http://www.mysql.com/support/arrangements.html</a><!-- m -->
Never assume that a product is only licensed in one way. MySQL is free, under GPL, only under certain conditions. Otherwise you have to pay (not very much).is there an alternative database program to MySQL that I could use with PHP?yeah it is called a flat file database. but if you run it on CD then you will not beable to write to it.flat file? what is this? where can I find out more?

I don't want users to write to it - it is only a search engine for documentationhehe a flat file is data.txt with text in it with delimitors in it


id name last
1|scoutt|monster

the id and name and last are not in it but the way it is layed out with the pipes | seperating it.

if nothing is reading from it then you could use php to open it. but getting a server to run on a cd is going to be difficult
 
Back
Top