Author |
|
N-GAGE
Joined: 29 Jun 2006 Posts: 10
|
Posted: Tue 11 Jul '06 18:03 Post subject: PHP 5.1.4 module for Apache 2.0.x |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 12 Jul '06 11:58 Post subject: |
|
|
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
|
Posted: Wed 12 Jul '06 11:59 Post subject: |
|
|
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: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 12 Jul '06 12:04 Post subject: |
|
|
See my post above |
|
Back to top |
|
N-GAGE
Joined: 29 Jun 2006 Posts: 10
|
Posted: Wed 12 Jul '06 13:07 Post subject: |
|
|
Steffen wrote: | See my post above |
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 12 Jul '06 14:00 Post subject: |
|
|
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 |
|
Back to top |
|
N-GAGE
Joined: 29 Jun 2006 Posts: 10
|
Posted: Wed 12 Jul '06 17:21 Post subject: |
|
|
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 |
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 12 Jul '06 23:26 Post subject: |
|
|
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
|
Posted: Wed 12 Jul '06 23:41 Post subject: |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 13 Jul '06 9:18 Post subject: |
|
|
[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
|
Posted: Thu 13 Jul '06 18:47 Post subject: |
|
|
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 |
|