Jump to content

php7.4 installation with Apache24


Go to solution Solved by MikeB46,

Recommended Posts

Hi. I am new to the forum, I have encountered a stumbling block installing php with Apache and MySQL. I have used them years ago and I wish to utilize them for a new project. My operating system is Windows 10. Specifically, after following the installation instructions, Apache cannot find php7apache2_4.dll, even though the file is in the php directory c:/php.

Suggestions would be greatly appreciated.  Thank you.

Link to comment
https://forums.phpfreaks.com/topic/314223-php74-installation-with-apache24/
Share on other sites

You can clutter your workstation up with a bunch of services with WAMP, or you can use vagrant or better yet Docker.  Most developers are using Docker now.  My advice is to install Docker and look for a tutorial that will help you get a LAMP development environment up under docker, using  a docker-compose.yml.  

Thanks gizmola for the suggestions. Sad to say Docker created more obstacles - need Windows 10 Pro in order to install Hyper_V.

Does not answer why the following cannot "see" the file:


# PHP7 module
PHPIniDir "C:/php"
LoadModule php_module "C:/php/php7apache2_4.dll"     This file cannot be found!
AddType application/x-httpd-php .php

  • Solution

After much wailing and grinding of teeth, as well as desk pounding, a solution has been identified and implemented. And it works. So onward.

The solution was found at php.watch via a lucky Google search.

# PHP7 module
PHPIniDir "C:/php"
LoadModule php7_module "C:/php/php7apache2_4.dll"     Change php_module to php7_module. Duh!
AddType application/x-httpd-php .php

 

Thanks

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.