Jump to content

PHP5 Module Problem


Kapacity
 Share

Recommended Posts

I've been trying to get my Apache2 to establish connection with PHP5. I ended up finding out the original package at http://www.php.net/downloads for windows has errors that have to be modified. Well, I went to a site and downloaded the mod. Im going to copy the exact instructions from the readme.txt file and then explained what I did.----------# binary by: Steffen# Mail: info@apachelounge.com# Home: http://www.apachelounge.com/### Runs only with PHP 5.1.0-5.1.6 and Apache 2.2.0-2.2.3 !!# Install:- Copy php5apache2.dll to your php folder (eg. c:/php)- Copy httpd.exe.manifest to apache2/bin- Finally install the Visual C++ 2005 Redistributable Package (the binary is build with VC 2005). Download it from: http://www.microsoft.com/downloads/details...;displaylang=en# Add to your httpd.confLoadModule php5_module "c:/php/php5apache2.dll"AddType application/x-httpd-php .php# configure the path to php.iniPHPIniDir "C:/php"Note: Remember to substitute the c:/php for your actual path to PHP in the above examples.For extra info see also : http://www.apachelounge.com/forum/viewtopic.php?t=570Enjoy,Steffen----------Now, what I'm going to do is show coding before my modifications so that you can pinpoint my location in the http.conf file.I moved those files to the location asked, then..Mod 1LoadModule userdir_module modules/mod_userdir.so#LoadModule usertrack_module modules/mod_usertrack.so#LoadModule vhost_alias_module modules/mod_vhost_alias.so#LoadModule ssl_module modules/mod_ssl.soLoadModule php5_module "c:/php/php5apache2.dll" <-- ModificationMod 2</IfModule>## "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased# CGI directory exists, if you have that configured.#<Directory "C:/php/"> <-- Modification AllowOverride None Options None Order allow,deny Allow from all</Directory>Not sure where to drop this code PHPIniDir "C:/php"Please dont judge my subject to harsh. Right now its 1:33am in the morning, not sure what Im doing, first timer as webdesigning, and well.. just a noob. I appreciate anyones input on this problem. thanx

Link to comment
Share on other sites

"The requested has failed" This is from apache when attempting to start the apache server. my php files are located on the c drive in a php folder(C:\php\). As for referenced .DLL. Im not quite understanding what you mean by that. Im still in my training boots m8.If you have msn messenger add me so this will be easier n people don't have to view what a retard I am.K0r0shiya@hotmail.com

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...