logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Help Setting up PHP/MYSQL database
Author
xRyu99



Joined: 21 Nov 2015
Posts: 10
Location: US, Michigan

PostPosted: Sun 22 Nov '15 18:31    Post subject: Help Setting up PHP/MYSQL database Reply with quote

Since I figured out how to setup the apache server, as my web server. I need help figuring out how to setup a DATABASE/MYSQL Server, so I can host a free forums on my site.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3059
Location: Hilversum, NL, EU

PostPosted: Sun 22 Nov '15 18:33    Post subject: Reply with quote

See https://www.apachelounge.com/viewtopic.php?t=2394
Back to top
xRyu99



Joined: 21 Nov 2015
Posts: 10
Location: US, Michigan

PostPosted: Sun 22 Nov '15 19:22    Post subject: Reply with quote

i'm facing an issue with loading a module. :/ when trying to start apache

httpd.exe: Syntax error on line 106 of C:/apache24/conf/httpd.conf: Cannot load C:/Program Files/php/php5apache2_2.dll into server: The specified module could not be found.

Yet, I browse to C:\php\ and php5apache2_2.dll is in the directory.

I'm missing the php module from inside the module folder? Can anyone provide me a download with one?

When Reviewing a previous thread, about this issue. It says

-----------------
Extract the contents of this file and move the contents to where you intend to use PHP such as C:\PHP5. Overwrite the php5apache2.dll with Steffen's version:

Downloal php5apache2.dll from www.apachelounge.com/download/
------------------------------

(When Following these Instructions) I cant find Steffen's verison at all of php5apache2.dll

No matter how many times I edit the .dll (downloading wise) and replacing or re-adding the different versions and editting the php.ini for the extensions dir, and adding the line to it, and editting the httpd.config I still get faced with that same error Syntax Error, Thats listed above.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3059
Location: Hilversum, NL, EU

PostPosted: Mon 23 Nov '15 12:54    Post subject: Reply with quote

Please read the forum rules.

Seems you want to run PHP as module (phpXapache2_X.dll) and not with mod_fcgid.

The php5apache2_2.dll is for Apache 2.2.


What changes made you in httpd.conf for PHP ?

Sure you downloaded the correct PHP ? When you install Apache httpd-2.4.17-win64-VC14.zip best to download PHP 7.0 from http://windows.php.net/qa/ :

When running PHP as module : VC14 x86 Thread Safe (contains the php7apache2_4.dll)
When running with mod_fcgid : VC14 x86 Non Thread Safe
Back to top


Reply to topic   Topic: Help Setting up PHP/MYSQL database View previous topic :: View next topic
Post new topic   Forum Index -> Apache