-
Install on MacOS
-
Install on Windows
Installing PHP-GLFW on Linux¶
We currently do not have a installer script like on MacOS but the "manual" installation should be straight forward for you linux users.
Manual installation¶
Ensure you have installed the required php-dev
, git
and cmake
packages.
Clone the repository:
Configure and build the extension
make sure to add glfw.so
in the php.ini
file.
You can figure out the path to your php.ini file using:
Edit that file using you favorite editor:
And add the following line at the end of the file