473,671 Members | 2,288 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[PHP5 Win] - problem with extension dir

I'm configuring PHP5 on my WinXP pro machine as an Apache2 handler.

However when I start apache I get system errormessages like "PHP Shutdown:
Unable to load dynamic library 'c:\php\ext\php _mcrypt.dll'" for all the
extensions I enabled. I have verified that the extensions indeed exist in
this directory, I've changed extension_dir accordingly and I've copied them
to my Windows/system32 directory.

What's going on?
..soma
Jul 17 '05 #1
6 4584

"somaBoy MX" <no**@nonesuch. net> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:40******** **************@ news.skynet.be. ..
I'm configuring PHP5 on my WinXP pro machine as an Apache2 handler.

However when I start apache I get system errormessages like "PHP Shutdown:
Unable to load dynamic library 'c:\php\ext\php _mcrypt.dll'" for all the
extensions I enabled. I have verified that the extensions indeed exist in
this directory, I've changed extension_dir accordingly and I've copied them to my Windows/system32 directory.

What's going on?
.soma

http://www.php.net/manual/en/install.apache2.php
" Warning
Do not use Apache 2.0 and PHP in a production environment neither on Unix
nor on Windows. "
Jul 17 '05 #2

"Dennis Biletsky" <uf***@ua.fm> wrote:
http://www.php.net/manual/en/install.apache2.php
" Warning
Do not use Apache 2.0 and PHP in a production environment neither on Unix
nor on Windows. "


First of all: I'm not using this configuration in a production environment
but as a testing environment on my local machine.

Second: I've been using PHP 4.2 and upwards as Apache2 handler in this way
for more than a year without any problems...

So I'm quite certain the problem is related to a configuration issue on my
part, rather than a bug in either of the two packages.
..soma
Jul 17 '05 #3

"somaBoy MX" <no**@nonesuch. net> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:40******** **************@ news.skynet.be. ..

"Dennis Biletsky" <uf***@ua.fm> wrote:
http://www.php.net/manual/en/install.apache2.php
" Warning
Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows. "


First of all: I'm not using this configuration in a production environment
but as a testing environment on my local machine.

Second: I've been using PHP 4.2 and upwards as Apache2 handler in this way
for more than a year without any problems...

So I'm quite certain the problem is related to a configuration issue on my
part, rather than a bug in either of the two packages.
.soma

Follow the link that I have posted and you can find PHP versions that
compatible with Apache2. There is no PHP5 there.
Jul 17 '05 #4

"Dennis Biletsky" <uf***@ua.fm> wrote..
Follow the link that I have posted and you can find PHP versions that
compatible with Apache2. There is no PHP5 there.


Why, then, does the PHP5 RC1 package contain the php5apache2.dll file?

..soma
Jul 17 '05 #5

"somaBoy MX" <no**@nonesuch. net> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:40******** **************@ news.skynet.be. ..

"Dennis Biletsky" <uf***@ua.fm> wrote..
Follow the link that I have posted and you can find PHP versions that
compatible with Apache2. There is no PHP5 there.


Why, then, does the PHP5 RC1 package contain the php5apache2.dll file?

.soma

I think this question for php developers :) Anyway, I have a very bad
experience with PHP under Apache2, but if you want to use it, so, good luck
:)
Jul 17 '05 #6
I do have successfully installed PHP5 with Apache2 on Windows XP without any
problem.
For of all, DONT copy dll to system folder. Leave them where they was, PHP5
will search them on their own directory.
Then I do use php5apache2.dll on Apache conf and worked fine.

Savut

"Dennis Biletsky" <uf***@ua.fm> wrote in message
news:c4******** ***@fortress.in tercom.net.ua.. .

"somaBoy MX" <no**@nonesuch. net> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:40******** **************@ news.skynet.be. ..

"Dennis Biletsky" <uf***@ua.fm> wrote..
> Follow the link that I have posted and you can find PHP versions that
> compatible with Apache2. There is no PHP5 there.


Why, then, does the PHP5 RC1 package contain the php5apache2.dll file?

.soma

I think this question for php developers :) Anyway, I have a very bad
experience with PHP under Apache2, but if you want to use it, so, good
luck
:)


Jul 17 '05 #7

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

Similar topics

6
4752
by: Spidah | last post by:
Looking at the list of changes made in PHP5 one of them is "Removed the bundled MySQL client library" Does anyone know exactly what this means? I assume we will still be able to code for MySQL as we do now? Thanks Hamilton
5
2797
by: Tim Tyler | last post by:
I'm sure this is a FAQ - but I could not find a coherent statement of the answer: Some of my clients want PHP4. Other ones want PHP5. Can I run both PHP4 and PHP5 under the same instance of Apache - both on port 80 - using different file extensions to distinguish between them? --
4
3301
by: Philipp Lenssen | last post by:
OK, I can get PHP5 running on Apache 2 installed on Windows XP Home Edition. Now I want to add MySQL4 to the package. I installed it but I'm not sure what to do now. My PHP5 scripts are running fine. The MySQL server seems to be running though actually I'm not sure. When I write $link = mysql_connect("localhost", "mysql"); I get the PHP5 error message "Call to undefined function mysql_connect()" Can anyone help? (Or should I be using...
4
5834
by: badbetty | last post by:
Dear Googlers I have installed PHP5 to run on WinXP against Apache 2. It works! ie. I have tested a few simple scripts and a basic xml document parse. I now want to try the XSL extension so I can transform xml docs. Having copied the php_xsl.dll to a directory where it can be found and done the uncommenting in php.ini, it still will not work. The script I
0
2723
by: User1001 | last post by:
I have been trying to enable/use specific OpenSSL extensions that I use in generating certificates manually, via PHP5 + php5-openssl module/extension. Filling out the "configargs" array with 'x509_extensions' and/or 'req_extensions' fails to generate/sign a certificate with the desired X.509 extensions included in the signed certificate. The extensions in my "openssl.cnf" file work just fine with manual OpenSSL commands. Also, I am...
12
3615
by: Sarah Tanembaum | last post by:
Though I installed MySQL5 and PHP5, how come my phpinfo() shows as follow: MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 3.23.57 <<<<<<<<<<<<<<< Instead of saying 3.23.57, shouldn't it show 5.xx.xx? Or, did I do something wrong?
4
3663
by: Lee Stewart | last post by:
I have a custom piece of code that I need to call from PHP5, so I'm going to write an extension that will handle things for me. This is becoming urgent - my original plan didn't work out and I'm posting something here before thoroughly looking on-line. Anyone know of source code for an extension that I can modify and get to work for my app? The stuff I've seen is for PHP4 and seems to require a bunch of Unix tools to operate (not a...
0
2307
by: israelekpo | last post by:
phpPaypalPro version 0.2.0 Released The second version of phpPaypalPro has been released. phpPaypalPro is an object-oriented framework developed in PHP5 to integrate easily with the Website Payments Pro SOAP 1.1 API from Paypal. The framework is very easy to deploy, allowing you to execute any of the operations from the API in just a few lines of code. It's so easy to use, even a caveman can do it! phpPaypalPro deploys the built-in...
19
2360
by: McKirahan | last post by:
I am working in two environments neither configuration of which I can change; one's my Web host the other a client. My Web host requires the use of the ".php5" extension to use PHP v5.1.4; where ".php" is used for PHP v4.3.11. My client supports PHP v5.2.0 with the ".php" extension. Is there a way to reliably determine if the ".php5" extension must be used on a server? Perhaps via a "phpinfo()" value?
0
8471
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8388
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8907
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8817
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8593
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7423
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4396
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1799
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.