logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


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

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.




PHP 5.1.4 module for Apache 2.0.x

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
N-GAGE



Joined: 29 Jun 2006
Posts: 10

PostPosted: Tue 11 Jul '06 18:03    Post subject: PHP 5.1.4 module for Apache 2.0.x Reply with quote

Can somebody tell me where I can find the modified module for
apache 2.0.x ?
With the original module I get the error ... "The module couldn't be found"


Thank you!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6340
Location: Germany, Next to Hamburg

PostPosted: Tue 11 Jul '06 21:26    Post subject: Reply with quote

http://ferienhaus-seenland.de/apache/
Back to top
Steffen
Moderator


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

PostPosted: Wed 12 Jul '06 11:58    Post subject: Reply with quote

For Apache 2.0.x you do not need a modified module. Follow the instructions in the install.txt , which is located in the php folder.

Steffen
Back to top
N-GAGE



Joined: 29 Jun 2006
Posts: 10

PostPosted: Wed 12 Jul '06 11:59    Post subject: Reply with quote

James Blond wrote:
http://ferienhaus-seenland.de/apache/


The module from this adress is the same from the APACHE Lounge - only works for Apache 2.2.x ....

But were can i find the php 4 or php 5 module for apache 2.0.x ?
If I install php 4.3.1 as a CGI binary I get the error - the file on the server could not be found! (and the file is in the apache DocumentRoot)
Back to top
Steffen
Moderator


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

PostPosted: Wed 12 Jul '06 12:04    Post subject: Reply with quote

See my post above Smile
Back to top
N-GAGE



Joined: 29 Jun 2006
Posts: 10

PostPosted: Wed 12 Jul '06 13:07    Post subject: Reply with quote

Steffen wrote:
See my post above Smile


I`m working on it ... I just want to set up a little server for PHP learning
(Apache 2.0.x with PHP 5 and MySQL 5).
I tried Apache 2.2.x with the module from here ... I could open the phpinfo(); but when I deleted phpinfo file and tried to navigate in DocumentRoot - the same idiot error - 403 Forbidden
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6340
Location: Germany, Next to Hamburg

PostPosted: Wed 12 Jul '06 14:00    Post subject: Reply with quote

N-GAGE wrote:
I could open the phpinfo(); but when I deleted phpinfo file and tried to navigate in DocumentRoot - the same idiot error - 403 Forbidden

That is just a kind of setting, easy to solve Wink
Back to top
N-GAGE



Joined: 29 Jun 2006
Posts: 10

PostPosted: Wed 12 Jul '06 17:21    Post subject: Reply with quote

James Blond wrote:
N-GAGE wrote:
I could open the phpinfo(); but when I deleted phpinfo file and tried to navigate in DocumentRoot - the same idiot error - 403 Forbidden

That is just a kind of setting, easy to solve Wink


Finally I installed apache 2.0.x with php 5 (as a module) and works fine ..!

Now ... another question :-S
When i download and install (from .msi) MySQL 5 .. do I need to configure something else to apache and php ... ?
Or is a diferent server (or diferent service) ?


Thank you again for your help so far!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6340
Location: Germany, Next to Hamburg

PostPosted: Wed 12 Jul '06 23:26    Post subject: Reply with quote

if you want to use MySQL from php you have to copy libmysql.dll and libmysqli.dll to apache/bin folder and you have to set in php.ini that PHP load MySQL, better MySQLi

php.ini
Code:

extension=php_mysql.dll ; libmysql.dll into Apache\bin
extension=php_mysqli.dll


php_* files are in the php/ext folder. check that mysqli and mysql are there. MySQLi is better. It is newer and like the i says improved
Back to top
N-GAGE



Joined: 29 Jun 2006
Posts: 10

PostPosted: Wed 12 Jul '06 23:41    Post subject: Reply with quote

James Blond wrote:
if you want to use MySQL from php you have to copy libmysql.dll and libmysqli.dll to apache/bin folder and you have to set in php.ini that PHP load MySQL, better MySQLi

php.ini
Code:

extension=php_mysql.dll ; libmysql.dll into Apache\bin
extension=php_mysqli.dll


php_* files are in the php/ext folder. check that mysqli and mysql are there. MySQLi is better. It is newer and like the i says improved


But what is the best way to use it ?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6340
Location: Germany, Next to Hamburg

PostPosted: Thu 13 Jul '06 9:18    Post subject: Reply with quote

[quote="N-GAGENow ... another question :-S
When i download and install (from .msi) MySQL 5 .. do I need to configure something else to apache and php ... ?
Or is a diferent server (or diferent service) ?[/quote]

Ok, make the changes in php.ini and run MySQL as service. You can also start it by hand. It depends how often you use it. If you have Apache installed as service it is recommend to install MySQL as service, too.

Anything in detail you want to know?
Back to top
N-GAGE



Joined: 29 Jun 2006
Posts: 10

PostPosted: Thu 13 Jul '06 18:47    Post subject: Reply with quote

Ok ... I installed MySQL to c:/mysql
I copied libmysql.dll from c:/mysql to c:/apache2 and uncommented the extension for libmysql.

What should I do next & where is mysqli.dll ?
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1