MyBB Community Forums

Full Version: Can't install PHP module
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I wanted the ability to update my components whenever i wanted so i tried installing PHP,MySQL and Apache separately.

I installed them successfully, but when i tried to load the php5_module in apache's httpd.conf i get an error "The requested operation has failed!" when starting Apache
When i remove the loadmodule line for php, apache starts ok.
So can anyone help me in configuring it to work?

P.S
This is not MyBB related problem Wink
System info? PHP verison? how did you install Apache,PHP and mysql? Smile
I installed apache trough its installer, same for mysql. Php i just copied from zip file from php.net. I configured the doc_root in php.ini and other minor things.
I add LoadModule...etc to httpd.conf and when i start apache i get the "The requested operation has failed!" error

This is the example from php.net which i used

LoadModule php5_module "D:/Server/php/php5apache2_2.dll"
AddHandler application/x-httpd-php .php

PHPIniDir "D:/php"
So im guessing your using windows Wink

Wamp?
I am going from a solution stack to Independent components so i can update them freely. I went from XAMPP to manual.
Anyway, i reinstalled php and it auto-configured itself and php seems to be running. Now i wonder how to start mysql
Tbh, I have no idea on windows :p
This just keeps getting better and better. When i try to enable an extension from php.ini(after setting the correct path to them) apache doesnt want to start again...
Are you sure the module is compatible with that apache version? Sure the path and syntax is correct? (as in using "/" instead of "\" or vice-versa Smile)
There is a Test Configuration thingy in apache and if i had errors it would show them . Now it says Syntax ok. Paths are correct..but it wont startup untill i disable the extensions
Sounds like something in the extension causing a crash. Try redownloading the extensions Smile
Pages: 1 2