Hallo,
ich habe xamp 1.8.1 installiert, OS ist windows 7.
Xampp ist in C:\xampp-win32-1.8.1-VC9 installiert, sonstige Pfade wurden nicht geaendert.
Ich möchte nun als externes Programm gnuplot aufrufen (Aufruf von console wäre: gnuplot plotscript.txt
1. Wie gestaltet sich dieser Aufruf mit php ?
echo exec('gnuplot.exe plot_01.txt'); funktioniert nicht.
gnuplot ist in c:\Program Files\gnuplot installiert und befindet sich im PATH
2. Welches ist das "ausführende Verzeichnis" ?
DOCUMENTROOT ist htdocs; die php Dateien befinden sich im Pfad htdocs/gplot
Soweit ich weiß, wird ja php im apache-Kontext ausgeführt ...
Gruß
Gruß