LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

php + mysql + labview web server

does labview web server support php files and mysql? I asking this because i succefully create a webservice using labview and i've made an aplication using ajax wich also runs in the project as static document. its possible to do the same with php? And is possible to use mysql?
0 Kudos
Message 1 of 16
(10,220 Views)

Hi,

LabVIEW web server doesn't  support php script. LabVIEW is able to use mysql database with Database Connectivity Toolset, but LabVIEW web server doesn't have mysql database.

Regards

Yann C.

France

0 Kudos
Message 2 of 16
(10,173 Views)

What kind of server LabVIEW uses ? Is an Apache Tomcat? You can install a PHP module that works with the LabVIEW server so they can make dynamic web pages and publish my VI on that server?

 

How I can make the LabVIEW Server be able to accept PHP scripts?

 

Thanks in advance. Best Regards.

 

 

0 Kudos
Message 3 of 16
(8,694 Views)

Hi,

I would like to know if it is possible to run PHP scripts on a Labview server, and if so, what is the procedure to do or what is module to install?

Best regards.

0 Kudos
Message 4 of 16
(8,531 Views)

The LabVIEW WebServer is based on Embedthis AppWeb, so any configuration used for Embedthis Appweb should be valid.

The dll libphp5.dll not come with labView web Server you must add this dll.

 

This page should help you.

http://appwebserver.org/products/appweb/doc/guide/appweb/users/php.html

0 Kudos
Message 5 of 16
(8,504 Views)

Hi,

 

Thank you very much for your answer !

 

Best regards !

0 Kudos
Message 6 of 16
(8,497 Views)

Hi,

 

So I tried several file. Conf, adding the appropriate line but I can not execute the php code, it asks me to open the file .. I'm not on my dll (php5ts.dll) .. Here are the files that I edit:

==> Files. Conf: c 😕 [...] \ Shared / NI WebServer \ NIWebAppServer.conf.conf
                                   c 😕 [...] \ Shared \ NI WebServer \ NISystemWebServer.conf
                                   c 😕 [...] \ National Instruments \ LabVIEW 2012 \ niwebserver.conf

Adding:

 

LoadModule php5 libphp5
AddHandler php5Handler. Php

 

I restart the server .. nothing. He asks me to save my file. Php

==> Localhost \ monfichier.php .. Save as ..

 

If anyone knows the exact procedure with the right dll ...

 

Best regards.

0 Kudos
Message 7 of 16
(8,486 Views)

Have you changed the mime type and installed php5?

The procedure is similar to installing php on Apache

Try to follow these steps listed on this site

http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml

0 Kudos
Message 8 of 16
(8,479 Views)

Unfortunately, I had already performed this procedure (identical) .. and it does not work ...

 

For me, my "httpd.conf" is "niwebserver.conf" but I'm not on the replacement and less on the version to use for the WebApp server (not apache) ..

 

I'm working on the error ..

 

Best regards.

 

PS: In mimes.types, I add this line:

 

application/x-appweb-php php

0 Kudos
Message 9 of 16
(8,466 Views)

hi,

I tested several solutions and nothing seems to work ..
I followed these tutorials:
- http://giminik.developpez.com/articles/apache/windows/
- http://www.mindsix.com/installation-wamp-win7-64bits-etape2-ph/
- http://appwebserver.org/products/appweb/doc/guide/appweb/users/php.html
- Etc. ..

And still nothing! Yet I have:

- My "c: \ PHP" with the "[...]. Dll and the" php.ini "file, the directory" sessions "
    ==> In "php.ini" session.save_path = "c 😕 php / sessions"
- My c: \ [...] \ Labview with my. Conf that contains the link to my PHP directory and LoadModule (PHPIniDir "c 😕 php" LoadModule php5_module "[...] apache2_2.dll"

etc etc. ..

I'm not sure that the directory of the web application is well "c: \ Program Files (x86) \ National Instruments \ LabVIEW 2012" ...

Or the problem is after you?

 

Best regards.

0 Kudos
Message 10 of 16
(8,445 Views)