English | 中文
PHPSciter is a PHP extension to bind the Sciter framework which is a cross platform GUI framework.
Download the [sciter-sdk][]
-
Put Sciter's dynamic library directly into the same location as the PHP executable files.
-
Extract the sciter runtime library from [sciter-sdk][] to system PATH
The runtime libraries lives in
binbin.gtkbin.osxwith suffix likedllsoordylib- Windows: simply copying
bin\64\sciter.dlltoc:\windows\system32is just enough - Linux:
cd lib/sciter/linuxtar zxvf libsciter-gtk-lnx.tar.gzecho $PWD >> libsciter.confsudo cp libsciter.conf /etc/ld.so.conf.d/sudo ldconfigldconfig -p | grep scitershould print libsciter-gtk-64.so location
- OSX:
cd lib/sciter/macexport DYLD_LIBRARY_PATH=$PWD
- Windows: simply copying
- Please put "phpsciter.dll" to php.exe/extension folder
apt-get install build-essential pkg-config
apt install libgtk-3-dev
git clone https://github.com/longyan/phpsciter.git
cd phpsciter
phpize
./configure
make
make install
php examples/phpsciter-load-frame/index.phpt
git clone https://github.com/longyan/phpsciter.git
cd phpsciter
phpize
./configure
make
make install
php examples/phpsciter-load-frame/index.phpt
- If you used "make clean function", you have to do configuration again.
-
如何进行Sciter软件方面的调试?
-
需要将sciter-sdk下面的inspector 拷贝到 与php.exe 同级目录下,点击Dom inspector
