make exefile of php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nazish zehra
    New Member
    • Dec 2011
    • 31

    make exefile of php

    I am trying to make exe file of my php project.the problem is that my project uses database on mysql.i have two front ends,one on java and other on php with same database on mysql.Now i have to make exe of both php and java file.For java it is easy as i have created script of mysql and it is running normal on local machine. but i am having problem for making php exe as it doesnot use mysql script rather it uses embeded mysql and this creates problem for java exe file as both exe's are working with different database whereas I want to use the same database.I have used ExeOutput for making php exe file.Is there anyway to create exe of php with mysql script on backend without using embeded mysql?
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    hmm, hard to read your question, because your enter-key on your keyborad is failing, as is your caps-key (most of the times) but after 2 minutes of Googling i found this link:


    It is a site which is about "phc-win is an open source PHP compiler for Windows"

    This should create an EXE file, from your PHP-source.

    Comment

    • nazish zehra
      New Member
      • Dec 2011
      • 31

      #3
      I am trying to make exe file of my php project.The problem is that my project uses database on mysql.

      I have two front ends,one on java and other on php with same database on mysql.

      Now I have to make exe of both php and java file.For java it is easy as I have created script of mysql and it is running normal on local machine.

      But I am having problem for making php exe as it doesnot use mysql script rather it uses embeded mysql and this creates problem for java exe file as both exe's are working with different database whereas I want to use the same database.

      I have used ExeOutput for making php exe file.


      Is there anyway to create exe of php with mysql script on backend without using embeded mysql?

      Comment

      • nazish zehra
        New Member
        • Dec 2011
        • 31

        #4
        I want to create php exe file which uses mysql script at backend. Is this possible?

        Comment

        • Luuk
          Recognized Expert Top Contributor
          • Mar 2012
          • 1043

          #5
          A quick test (downloading this stuff, and compiling the example which is found HERE) revealed that this will not work.

          I also have some language problems with your statement:
          "which uses mysql script at backend"
          and
          "with mysql script on backend without using embeded mysql?"

          Becasue this last statement says "withoud using embedded mysql".....

          Comment

          • nazish zehra
            New Member
            • Dec 2011
            • 31

            #6
            I have made exe file of php using ExeOutput and server2go.Serve r2go provides built in mysql and phpmyadmin as well. I don't want it to be like that. I want to give php exe and sql file(containing my database tables) to user and he can import sql file and easily run php exfile .
            How is it possible?
            I don't know too much about php and mysql.

            Comment

            • Luuk
              Recognized Expert Top Contributor
              • Mar 2012
              • 1043

              #7
              I dont know this server2go, but they seem to provide support when i look at their website....

              Comment

              • nazish zehra
                New Member
                • Dec 2011
                • 31

                #8
                Any other way to make exe which uses mysql script?
                I have used phc win bit i is not working

                Comment

                • ayukawaa
                  New Member
                  • Sep 2012
                  • 9

                  #9
                  Why don't you change from MYSQL to SQLITE ???????????

                  SQLITE is only a FILE and PHP can access it directly.

                  I have to done it some time ago for a CDROM and that worked FINE !!!

                  Comment

                  Working...