The following procedure shows how to download and install a PHP extension. For information about PHP extensions, see 2.3 Plan PHP Extensions. To configure a PHP extension. Download the PHP extension you want from the list of Windows extensions for PHP. Extract the extension zip package to the PHP extensions folder ( ext), for example C: PHP ext.
PHP 7.2 EOL is November 30th, 2020. This blog looks at the impact of PHP 7.2 end of life, plus migration and LTS options. Download phpSerial Libs for free. Small project to provide serial support to PHP under POSIX environment. Helps to use setserial through PHP and provide 'drivers' for serial devices (the goal isn't to be exhaustive.
Download PHPMaker today and enjoy the free 30-day trial. PHPMaker is fully functional during the trial period.
If you have any problems downloading PHPMaker, please contact us at [email protected].
System Requirements
PHPMaker
- Windows 2008/2012/2016/2019/7/8/10
- .NET Framework 4.6.1 (or newer)
- Node.js LTS (or newer)
If you use SQL Server or Oracle, PHPMaker requires the following database drivers (x86 versions) to connect to the database:
- Microsoft SQL Server 2012 Native Client (for Microsoft SQL Server), OR
- Microsoft OLE DB Driver for SQL Server (for Microsoft SQL Server)
- Oracle Client (Optional, for Oracle)
Server
- Linux or Windows web server
- mod_rewrite (for Apache)
- IIS Rewrite (for IIS only)
- PHP >= 7.2
- Microsoft PHP drivers for PHP for SQL Server (requires Microsoft SQL Server 2008 or newer), AND
- Microsoft ODBC Driver for SQL Server (requires Microsoft SQL Server 2008 or newer)
- Oracle Client (for Oracle)
Browser
- Chrome/Edge/Firefox/Safari/Opera (latest), IE 11+.
Composer
Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
If you have not used Composer before, please read Introduction first. PHPMaker uses Composer to manage required third party packages. Make sure you install Composer (if not already installed) when you install PHPMaker.
Composer is run by php.exe, so you need PHP installed on your PC. In most cases you already have PHP installed. If not, install it first.
A few sensitive PHP settings and compile flags are also required, when using the Composer installer you will be warned about any incompatibilities.
It is recommended that you upgrade your PHP to the latest stable version (v7.4.x as of today), download the version that suits your PC (x86 or x64). If you are not sure about Non Thread Safe or Thread Safe version, you may try the Non Thread Safe version first. Download the Zip version, which includes matching extensions for that version.
If you do not have php.ini yet, copy the php.ini-development and rename it as php.ini. Open the php.ini with a text editor, make sure AT LEAST the following are enabled:
; On windows:
extension_dir = 'ext'
extension_dir = 'ext'
extension=curl
extension=openssl
extension=gd2
extension=mbstring
extension=fileinfo
extension=intl
extension=openssl
extension=gd2
extension=mbstring
extension=fileinfo
extension=intl
You also need to enable other extensions that your project requires, including those for your database(s), e.g.
; For MySQL
extension=php_mysqli.dll
extension=php_mysqli.dll
; For SQLite
extension=php_pdo_sqlite.dll
extension=php_pdo_sqlite.dll
; For PostgreSQL
extension=php_pdo_pgsql.dll
extension=php_pdo_pgsql.dll
; For Oracle
extension=php_oci8_12c.dll
extension=php_oci8_12c.dll
; For SQL Server
; Note: This example assumes PHP 7.4 NTS 64 bit, you must change to your own according to:
; https://docs.microsoft.com/en-us/sql/connect/php/system-requirements-for-the-php-sql-driver?view=sql-server-ver15
extension=php_sqlsrv_74_nts_x64.dll
; Note: This example assumes PHP 7.4 NTS 64 bit, you must change to your own according to:
; https://docs.microsoft.com/en-us/sql/connect/php/system-requirements-for-the-php-sql-driver?view=sql-server-ver15
extension=php_sqlsrv_74_nts_x64.dll
When PHPMaker starts, it checks if Composer is ready, if not, it will ask you to install. Do not skip, just install. The installer (Composer-Setup.exe shipped with PHPMaker) will download composer for you and set up your PATH environment variable so that you can call composer from any directory after installation. During installation, the installer will try to find your php.exe. If the installer cannot find your installed php.exe automatically, you just specify it when asked.
After installation, open a command prompt and test Composer by entering:
composer -V
If Composer is installed properly, you should see the version number, e.g. Composer version 1.10.9 2020-07-16 12:57:00.
Note Close your current command prompt. Test usage with a new command prompt. This is important since the PATH only gets loaded when the new command prompt starts.
Cached
PHPMaker will then call composer update automatically after script generation to install/update libraries for your projects. After the FIRST generation, Composer needs to download all the required packages, it may take a longer time, please be patient. Later generation will not run 'composer update' again unless you enable/disable some features that require third party packages.
Notes
- Composer downloads packages from the internet, make sure that you are online when rin 'composer update'.
- The packages downloaded by Composer are put in the 'vendor' subfolder under the project folder of your project. Make sure you upload this 'vendor' subfolder to your site together with other generated files.
Installation
Important Before installing PHPMaker, you must log in Windows as administrator.
PHPMaker can co-exist with previous version of PHPMaker. You do NOT need to uninstall previous version of PHPMaker if you don't want to.
Double-click on the downloaded executable to start the installation process. Follow the prompts and change the settings whenever necessary.
Php File Extension
Download
Please fill in your email and then click the Submit button
Other Downloads
Template file only
Demo project
Demo project
PHP Serial Libraries for UDOO NEO
This file describes how to run the PHP examples contained in this folder.
To run these PHP examples, we will use the PHP interpreter and its embedded Web Server. The same examples can be executed over Apache or nginx too.
1 - Flash the Arduinoâ„¢ Sketch using the Arduino IDE
2 - Install the command-line interpreter for the PHP scripting language
3 - Navigate in this folder:
4 - Check if the Arduino 101 is assigned to the default port
/dev/ttyACM0
, otherwise modify this string in the .php sources with correct tty and save:PhpSerial::readPort PHP Code Examples - HotExamples
5 - Start the embedded web server:
6 - Open a browser (on your UDOO or on your computer) and run the examples writing in the address bar:
For the basic serial example:
For the bidirectional serial example:
Please note, use 127.0.0.1 if you open the browser directly on the UDOO; otherwise use
This page was last updated on Wednesday, December 9, 2020 at 6:59 AM.192.168.7.2
if you are using the USB Direct connection on UDOO NEO. If you want to connect from external WiFi/Ethernet IP address are supported too.