473,397 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

PHP5beta2 - anyone successfully installed in

windows xp with apache2?

I follow all the instruction but I still got the following error when
starting the apache2:

The Apache service named reported the following error:
Cannot load c:/Apps/php5/php4apache2.dll into server: The specified

module could not be found. .

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Jul 17 '05 #1
6 2399
Well, out of frustration, I put everything in one directory, EXCEPT cli
directory. It works. Somehow the install.txt missing something ...

Anyway, the apache2 & php5beta2 are running ... BUT not quite.

All my MySQL apps stops working! The saga continues.
"Useko Netsumi" <_n**************@nyc.rr.com> wrote in message
news:bo*************@ID-205437.news.uni-berlin.de...
windows xp with apache2?

I follow all the instruction but I still got the following error when
starting the apache2:

The Apache service named reported the following error:
Cannot load c:/Apps/php5/php4apache2.dll into server: The specified

module could not be found. .

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Jul 17 '05 #2
Useko Netsumi wrote:
the apache2 & php5beta2 are running ... BUT not quite.

All my MySQL apps stops working! The saga continues.


See
<http://www.php.net/manual/en/faq.databases.php#faq.databases.mysql.php5>

Jul 17 '05 #3
I did it, and actually i'm running both php 4.3.4 and php5 beta 2 on windows
xp with apache2 as http server
Of course they are running as cgi, not apache module
To install successfully as apache module, you need to copy both
php4apace2.dll and php4ts.dll in the {APACHE INSTALL DIR}/modules directory.
Then make changes in the config files and copy php.ini in {WINDOWS}
(first of all remeber to delete any old .dll's from php 4 in apache dirs or
windows and windows/system32 dir)
If you haven't make mistakes, you will only need to restart apache2

I think it's better to install php as cgi, even because you may have both
stable and beta version
Simply use 2 different folders (eg php and php5) and in apache config files
use standard extensions for php4 cgi and create a new php5 extension for
beta version
Remember to copy all the dll in {php}/dll to php path, to edit the extension
command in php.ini and, very important, do not put your php.ini in {windows}
but leave it in the same path as php.exe.
Thus you will have a different ini file for php4 and php5.
If you should have any trouble with mysql in php5 (i dont have any, indeed)
probably it's because you need to enable php extension for mysql in php.ini
and copy libmysql.dll in {PHP}path (ias i've done, but it is not a pleasant
solution) or in windows/system32 (probably the best way)

Everything shuld work fine (on my pc it does)

Hope this will help you
Regards
Andrea
Jul 17 '05 #4
the php_mysql.so modules that came with php 5 distribution gave me an error
during startup. Where do you get libmysql.dll? Is it for the latest MySQL
version 4.0.x? Thanks

At any case, the apache2 and PHP4 now are running, but without MySQL
loaded. Perhaps you can tell me where to get the latest libmysql.dll or
php_mysql.dll binary.

You mentioned to run php in cgi mode, what's the different with running it
in Apache modules? Is it less/more secure, etc... Thanks
"andrea" <te*****@despammed.com> wrote in message
news:bo**********@newsreader.mailgate.org...
I did it, and actually i'm running both php 4.3.4 and php5 beta 2 on windows xp with apache2 as http server
Of course they are running as cgi, not apache module
To install successfully as apache module, you need to copy both
php4apace2.dll and php4ts.dll in the {APACHE INSTALL DIR}/modules directory. Then make changes in the config files and copy php.ini in {WINDOWS}
(first of all remeber to delete any old .dll's from php 4 in apache dirs or windows and windows/system32 dir)
If you haven't make mistakes, you will only need to restart apache2

I think it's better to install php as cgi, even because you may have both
stable and beta version
Simply use 2 different folders (eg php and php5) and in apache config files use standard extensions for php4 cgi and create a new php5 extension for
beta version
Remember to copy all the dll in {php}/dll to php path, to edit the extension command in php.ini and, very important, do not put your php.ini in {windows} but leave it in the same path as php.exe.
Thus you will have a different ini file for php4 and php5.
If you should have any trouble with mysql in php5 (i dont have any, indeed) probably it's because you need to enable php extension for mysql in php.ini and copy libmysql.dll in {PHP}path (ias i've done, but it is not a pleasant solution) or in windows/system32 (probably the best way)

Everything shuld work fine (on my pc it does)

Hope this will help you
Regards
Andrea

Jul 17 '05 #5
I found the libmysql.dll which is in the dlls directory ... but its not a
module extension for php. Just to let you know.

How did you get your php5/apache2/mysql4 running? Thanks
"andrea" <te*****@despammed.com> wrote in message
news:bo**********@newsreader.mailgate.org...
I did it, and actually i'm running both php 4.3.4 and php5 beta 2 on windows xp with apache2 as http server
Of course they are running as cgi, not apache module
To install successfully as apache module, you need to copy both
php4apace2.dll and php4ts.dll in the {APACHE INSTALL DIR}/modules directory. Then make changes in the config files and copy php.ini in {WINDOWS}
(first of all remeber to delete any old .dll's from php 4 in apache dirs or windows and windows/system32 dir)
If you haven't make mistakes, you will only need to restart apache2

I think it's better to install php as cgi, even because you may have both
stable and beta version
Simply use 2 different folders (eg php and php5) and in apache config files use standard extensions for php4 cgi and create a new php5 extension for
beta version
Remember to copy all the dll in {php}/dll to php path, to edit the extension command in php.ini and, very important, do not put your php.ini in {windows} but leave it in the same path as php.exe.
Thus you will have a different ini file for php4 and php5.
If you should have any trouble with mysql in php5 (i dont have any, indeed) probably it's because you need to enable php extension for mysql in php.ini and copy libmysql.dll in {PHP}path (ias i've done, but it is not a pleasant solution) or in windows/system32 (probably the best way)

Everything shuld work fine (on my pc it does)

Hope this will help you
Regards
Andrea

Jul 17 '05 #6
Useko Netsumi wrote:

You mentioned to run php in cgi mode, what's the different with running it
in Apache modules? Is it less/more secure, etc... Thanks


It's less secure, but the PHP module for Apache 2 is still experimental.

Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Phipps Xue | last post by:
Hello Dr. Schilz, I installed MozPython 0.1.0 by your tutorial. But I can not see the output in mozilla when I ran a test.py, there's no error message or item displayed. Is there any possible...
11
by: Barry G. Sumpter | last post by:
Can get VS.Net to execute properly. I'm not the only one having this prob. The registry deletions don't work for me. Any users of MVPs have a solution for this?
1
by: Bob Powell | last post by:
To whom it may concern: I installed postgres 7.3.4 on my laptop and have successfully been able to add the language pgsql. I haven't been able to get tcl to install properly even though I have...
0
by: Stuart Whelan | last post by:
I am writing a service in C# with an internal service installer. I am running XP Pro SP with VS7.1 and .NET 1.1 It installed okay the first time, but during uninstall the app crashed. Now I...
10
by: musosdev | last post by:
Hi guys I'm trying to migrate to VS2005... I've managed to do that, but realised I'd opened my web projects as file projects, and I'm getting the error about network BIOS command limit. ...
5
by: Chris Dunaway | last post by:
I have an application which is installed on a network share to be run from one or more workstations. I have granted trust to the applications on the workstations and the appropriate permissions on...
0
by: sklett | last post by:
I've created a service project. Added installer classes. Ran InstallUtil /i from the .net 2.0 path IE: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 I've been googling this problem and can't...
23
abouddan
by: abouddan | last post by:
Hi all, I trying to the Automatic updates. After searching for the right updates a list of 32 high priority updates, when selecting "Download Updates and install", the process of downloading...
6
by: =?Utf-8?B?RkQ=?= | last post by:
After .NET framework 2.0 installed, aspnet_wp.exe did not work when attached it in VS2003 to debug in run time. Before, attatching it as Common Language Runtime debug, and set breakpoints in C#...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.