I want to execute a aplication .pl whith Exec() , Passtru() or system() but don´t works.
I think the permissions are OK, but the scrip don´t execute the perl..
Which is the problem ?
(I am trying to execute idexer.pl , part of Ksearch )
have you tried exec('perl scriptname.pl')?
hey i had the same problem, just use virtual(), which does the same as a normal SSI call <!--#exec cgi="whatever.pl" --> or <!--#include virtual="whatever.pl" -->
try
perl indexer.pl;
perl indexer.pl
Either your perl script needs to identify itself as perl and call PERL as an interpreter, or you have to tell PHP that it should start PERL to run the script.
BTW, as this is for a search engine, I guess the script could be running for a while. Is it wise to start this from PHP instead of the crontab for example?