Здравствуйте! При выполнении php в idhttpserver появляется ошибка 'php5ts.dll not found'.Библиотека рядом с exe. Полный путь тоже прописывал. Использую компоненты
http://users.telenet.be/ws36637/php4delphi.html.
Вот код:
Код:
1 2 3 4 5 6 7 8 9 10 | procedure TForm1 . IdHTTPServer1CommandGet(AThread: TIdPeerThread;
ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
var
st:TStringStream;
begin
if ARequestInfo . Host= 'home.loc' then
begin
PHPEngine1 . StartupEngine; st:=TStringStream . Create(psvPHP1 . RunCode( 'include(' 'http://192.168.1.1/' ')' )); AResponseInfo . ContentStream:=st;
end ; end ;
|
Помогите пожалуйста.