devlephant / php4delphi

PHP to Delphi integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Environment Variables

ArunPatal opened this issue · comments

Hello,

Is it possible to set environment variables.
Example HTTP_COOKIE, PHPRC, SERVER_NAME ??
I my case i have php.ini file in another location then php4App.dll & php5ts.dll.
Environment Variables PHPRC can change the location of php.ini.
I tried RegisterVariable(RequestID, "PHPRC", "D:\php.ini"); but it's not working.