Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

adding PHP 5.0.4 to Apache 2.0.54

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Adding SSL to Apache 2.0.44 - I've installed Apache as part of the What exactly do I need to do to add SSL to Apache? A link to a tutorial or FAQ or whatever will be much Thanks! Jay

Adding support for CGI scripts in Apache - How is the support for CGI script in Apache? I read about a lot of - - - Option ExecCGI - AddModule for cgi Or is it all in Can I get some detailing all this (without

Apache SSL settings, adding to Tomcat - I'm running tomcat (stand alone) on the same machine as apache, but a different port. I want to use the same https, so it doesn't ask me to in my iframe. How to I use the https setting I have in my Apache server for my tomcat ..

Adding a module to Apache - after compilation - I have an Apache 2.0.52 compiled, set up and Now I have realised that I need the mod_proxy module which I had not compiled with Apache. Is there a way I can do this without starting from scratch i.e. compiling Apache again? Thanks for your..

Adding Modules to an existing apache install - Hi, I need to add mod_asis to an existing of apache (1.3.29, I believe). I've read the from apache but I am still not clear on whether running configure to add a new module is safe to do. What I am afraid of is if I run..
Next:  Apache: Upgrade issue  
Author Message
Dale

External


Since: Jun 07, 2005
Posts: 1



(Msg. 1) Posted: Tue Jun 07, 2005 4:15 pm
Post subject: adding PHP 5.0.4 to Apache 2.0.54
Archived from groups: alt>apache>configuration (more info?)

I am running windows XP Home SP2
I downloaded, installed, and have running Apache 2.0.54
I downloaded PHP 5.0.4
I wrote the following dummy.php:
Hello World<br>
<?php echo "Hello World"; ?>

With my browser: localhost/dummy.php
I get the text just as I typed, which I expect, but the server is
working.

I want to add in php. First I choose the LoadModule approach (which is
recommended) so I add these lines to my httpd.conf file:

LoadModule php5_module "c:/php5/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "c:/php5"

restart apache and try it again... localhost/dummy.php

Hello World
Hello World

Scripting appears to work. Next I want to add the mysql extension so
in php.ini I set:

extension_dir = "c:\php5\ext\"

and uncomment

extension=php_mysql.dll

Restart Apache server and I get the error message:

PHP Startup: Unable to load dynamic library 'C:/php5/ext/php_mysql.dll'
- The specified module could not be found

The dlls are there, I tried every combination of /\. This should be
straight forward. What am I doing wrong?

Thanks

 >> Stay informed about: adding PHP 5.0.4 to Apache 2.0.54 
Back to top
Login to vote
Christian Wallbaum

External


Since: Jun 10, 2005
Posts: 1



(Msg. 2) Posted: Fri Jun 10, 2005 6:42 pm
Post subject: Re: adding PHP 5.0.4 to Apache 2.0.54 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hi,

 > PHP Startup: Unable to load dynamic library 'C:/php5/ext/php_mysql.dll'
 > - The specified module could not be found
 >
 > The dlls are there, I tried every combination of /\. This should be
 > straight forward. What am I doing wrong?

hmm, same with me, i got it solved by copying the libmysql.dll to
c:\windows\system32. just appending c:\php\ext to the PATH variable didn't
work. now it runs fine Smile if you still have any problems, try to copy all
dll files you need in ext to c:\windows\system32.

bye<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: adding PHP 5.0.4 to Apache 2.0.54 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]