For this search for ” DirectoryIndex ” in nf file. If everything is ok then it displays “Syntax OK” Step 7: Open PowerShell in command prompt mode as an administrator and type “httpd –t” and hit enter. Step 4: Now it’s time to configure Apache for this open C: > Apache24 > conf > nf To know the version of the PHP type php -v and then hit enter Then type path hit enter if the directory path is visible on the screen, then the path is successfully added to the system variables. Change PowerShell mode to the command prompt by entering the command cmd. Step 3: To check whether the PHP directory is added to the path of system variables or not. Note: Make sure that both Apache and PHP extracted files should be in the same folder To add the copied address to the system variables, search for Control Panel > System & Security > System > advanced system settings > Environment variables > System Variables > Path > Edit > New and paste the copied address. Step 2: Extract the files and rename the extracted file to PHP8.1(It’s completely on the user’s wish) and move to the directory where the Apache folder is located.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |