![]() ![]() for using mysql you need mysql extension of PHP). Run this file on your web server and if you get an output like this:Ī PHP extension is a piece of code which is not part of the core PHP and you need it to explore certain functionalities msi Windows installer file and follow the installation wizard.Ĭreate a php file containing code and save it as test.php. Install PHP on Windows using Windows installer Then Click on New under system variable and add PHPRC against Variable name and D:\php against Variable value. In the Variable value, go to the end of the list and put a semicolon, then add D:\php D:\php\ext assuming D:\php is the location of your php installation. Now you open Environment Variables (M圜omputer -> System Properties -> Environment Variables), under system variables, select Path and click Edit, if you have installed php in php folder of D drive, setting will be extension_dir=D:\php. Open the file php.ini with any text editor and find extension_dir within the file.Ĭhange the extension directory, i.e. c:\php or d:\php).Įnter php folder and rename the file php.ini-recommonded to php.ini. Įxtract the downloaded file to php folder which must be created at the root of any of your windows drives (e.g. You have to download zipped binary version of PHP from. ![]() You can upgrade to a higher version of PHP from an existing version.Besides full installation, you can install php extensions on an existing installation of PHP.windows installer for php to install php. You can install php on windows manually.Prerequisite and running on your Windows system, else you will not be able to run PHP Scripts.Īlternatively, you can install WAMP server or AMPPS server to install PHP, MySQL, and Apache Web Server on your Windows machine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |