Show
Here I am giving a step by step example to install PHP 7.3 on Windows 10. But before installing PHP you should install Apache Web Server and to know how to install Apache Web Server on Windows 10, please check the following link Install Apache on Windows 10. Click on the following link to download PHP 7.3 for Windows and choose the VC15 x64 Thread Safe or VC15 x86 Thread Safe version. Download PHP 7.3 for Windows Now extract the ZIP file to a folder, for example, F:\php73. Open the folder F:\php73 and locate the file php.ini-development and rename it to php.ini. In the php.ini file, find and modify the extension_dir and set as the following: (Note: change the folder name to your PHP installation folder) extension_dir = "F:/php73/ext" Uncomment the following lines to enable. extension=curl extension=gd2 extension=mbstring extension=mysql extension=pdo_mysql extension=xmlrpc Add F:\php73 to the PATH variable in Windows by clicking on the My Computer > Properties > Advanced System Settings > Environment Variables as shown in the below image: Configure Apache Web Server for PHP 7.3Open the CONF folder in Apache Web Server installation folder and open the httpd.conf file. Then find and modify the DirectoryIndex as shown below:
Add the following lines to the httpd.conf file: PHPIniDir "F:/php73" AddHandler application/x-httpd-php .php LoadModule php7_module "F:/php73/php7apache2_4.dll" Now restart the Apache server and test the PHP file. Create a PHP file and add the following line and save it as index.php in the htdocs folder in Apache installation directory. <?php phpinfo(); ?> Now double click the file to test. The output is as shown in the featured image of this article. See also:
Related Topics
Vinish KapoorAn Oracle Apex Consultant, Oracle ACE, and founder of foxinfotech.in and orclqa.com a question and answer forum for developers. Read more articlesCurrent Stable PHP 8.1.10 (Changelog)
GPG Keys for PHP 8.1 Old Stable PHP 8.0.23 (Changelog)
GPG Keys for PHP 8.0 Old Stable PHP 7.4.30 (Changelog)
GPG Keys for PHP 7.4 GPG KeysThe releases are tagged and signed in the PHP Git Repository. The following official GnuPG keys of the current PHP Release Manager can be used to verify the tags: PHP 8.1pub 2048R/31CBD89E 2016-12-08 Key fingerprint = 5289 95BF EDFB A719 1D46 839E F9BA 0ADA 31CB D89E uid Joe Watkins <> pub rsa4096 2021-04-26 [SC] [expires: 2025-11-24] 39B6 4134 3D8C 104B 2B14 6DC3 F9C3 9DC0 B969 8544 uid [ultimate] Ben Ramsey <> sub rsa4096 2021-04-26 [E] [expires: 2025-11-24] pub rsa4096 2021-04-01 [SC] F1F6 9223 8FBC 1666 E5A5 CCD4 199F 9DFE F6FF BAFD uid [ultimate] Patrick Allaert <> sub rsa4096 2021-04-01 [E] PHP 8.0pub 4096R/70D12172 2017-04-14 [expires: 2024-04-21] Key fingerprint = 1729 F839 38DA 44E2 7BA0 F4D3 DBDB 3974 70D1 2172 uid Sara Golemon <> pub rsa4096 2020-05-09 [SC] [expires: 2024-05-08] BFDD D286 4282 4F81 18EF 7790 9B67 A5C1 2229 118F uid [ultimate] Gabriel Caruso (Release Manager) <> sub rsa4096 2020-05-09 [E] [expires: 2024-05-08] PHP 7.4sec rsa4096 2019-06-11 [SC] [expires: 2029-06-08] 5A52880781F755608BF815FC910DEB46F53EA312 uid [ultimate] Derick Rethans <> uid [ultimate] Derick Rethans <> uid [ultimate] Derick Rethans (GitHub) <> uid [ultimate] Derick Rethans (PHP) <> ssb rsa4096 2019-06-11 [E] [expires: 2029-06-08] pub rsa4096 2019-05-29 [SC] [expires: 2021-05-28] 4267 0A7F E4D0 441C 8E46 3234 9E4F DC07 4A4E F02D uid [ultimate] Peter Kokot <> sub rsa4096 2019-05-29 [E] [expires: 2021-05-28] A full list of GPG keys used for current and older releases is also available. How do I run PHP 7.3 on Windows 10?Steps to Install PHP 7.3 on Windows 10 PC
Click on the following link to download PHP 7.3 for Windows and choose the VC15 x64 Thread Safe or VC15 x86 Thread Safe version. Now extract the ZIP file to a folder, for example, F:\php73. Open the folder F:\php73 and locate the file php. ini-development and rename it to php.
How do I download PHP 7.3 on Windows?Save the downloaded file, php-7.3. 0-Win32-VC15-x64.. Go to the official Website for PHP at php.net.. Click the "downloads" links in top menu. You see the download page.. Click "Windows downloads". You see the PHP For Windows page.. How do I install PHP on Windows 10?How to Install PHP. Step 1: Download the PHP files. You'll need the PHP Windows installer. ... . Step 2: Extract the files. ... . Step 3: Configure php. ... . Step 4: Add C:\php to the path environment variable. ... . Step 5: Configure PHP as an Apache module. ... . Step 6: Test a PHP file.. How do I install PHP on Windows 10 latest version?Follow the below steps to install PHP on Windows: Step 1: Visit https://www.php.net/ website using any web browser and click on Downloads. Step 2: Click on the Windows “Downloads” button. Step 3: The new webpage has different options, choose the Thread safe version, and click on the zip button and Download it.
|