05-23-2009 10:36 AM
05-28-2009 02:22 AM
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
11-09-2012 10:58 AM
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.
02-06-2013 06:17 AM
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.
02-10-2013 07:48 PM
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
02-11-2013 01:22 AM
Hi,
Thank you very much for your answer !
Best regards !
02-11-2013 05:51 AM
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.
02-11-2013 06:59 AM - edited 02-11-2013 07:04 AM
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
02-11-2013 08:01 AM - edited 02-11-2013 08:06 AM
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
02-12-2013 03:04 AM
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.