473,722 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP5/ Apache strange install problem

hello,

try to install php 5.2 on apache 1.3 on winxp. apache is fine. php
says on start "unable to load dynamic library '<path>' " -- but <path>
*does* exist!

extension_dir ="C:\Programme\ PHP\ext"

and <pathis e.g. 'C:\Programme\P HP\ext\php_exif .dll'. which *does*
exist. this appears with about 20 files. reboot, reinstall, nothing
helped.

php.ini only exists once, in c:/windows. in httpd.conf i have the line
LoadModule php5_module "C:/Programme/PHP/php5apache.dll"
PATH also includes the path to php. so i really dont know whats going
on here...

thank you very much!!
Sep 13 '07 #1
3 1537
Daniel Loose wrote:
hello,

try to install php 5.2 on apache 1.3 on winxp. apache is fine. php
says on start "unable to load dynamic library '<path>' " -- but <path>
*does* exist!

extension_dir ="C:\Programme\ PHP\ext"

and <pathis e.g. 'C:\Programme\P HP\ext\php_exif .dll'. which *does*
exist. this appears with about 20 files. reboot, reinstall, nothing
helped.

php.ini only exists once, in c:/windows. in httpd.conf i have the line
LoadModule php5_module "C:/Programme/PHP/php5apache.dll"
PATH also includes the path to php. so i really dont know whats going
on here...

thank you very much!!
Daniel,

I always use forward slashes in my directories,i.e .

extension_dir=" c:/Programme/PHP/ext/"

Also, note that the directory ends with a '/'.

Also, in the particular case of php_exif.dll, php_mbstring.dl l must be
loaded first (in the list before php_exif.dll).

You didn't list any other modules, so not sure that that problem would be.

If nothing else, comment out all extensions and try it. Then try
loading them one at a time.

BTW - why are you still on Apache 1.3?

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Sep 13 '07 #2
On 13.09.2007 18:39 Daniel Loose wrote:
hello,

try to install php 5.2 on apache 1.3 on winxp. apache is fine. php
says on start "unable to load dynamic library '<path>' " -- but <path>
*does* exist!

extension_dir ="C:\Programme\ PHP\ext"

and <pathis e.g. 'C:\Programme\P HP\ext\php_exif .dll'. which *does*
exist. this appears with about 20 files. reboot, reinstall, nothing
helped.

php.ini only exists once, in c:/windows. in httpd.conf i have the line
LoadModule php5_module "C:/Programme/PHP/php5apache.dll"
PATH also includes the path to php. so i really dont know whats going
on here...

thank you very much!!
It can be that an extension dll requires some other dll that doesn't
exist or is not in your path. I'd suggest you install FileMon from
sysinternals.co m and look what files Apache is trying to access.
--
gosha bine

makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
Sep 14 '07 #3
gosha bine wrote:
On 13.09.2007 18:39 Daniel Loose wrote:
>hello,

try to install php 5.2 on apache 1.3 on winxp. apache is fine. php
says on start "unable to load dynamic library '<path>' " -- but <path>
*does* exist!

extension_di r ="C:\Programme\ PHP\ext"

and <pathis e.g. 'C:\Programme\P HP\ext\php_exif .dll'. which *does*
exist. this appears with about 20 files. reboot, reinstall, nothing
helped.

php.ini only exists once, in c:/windows. in httpd.conf i have the line
LoadModule php5_module "C:/Programme/PHP/php5apache.dll"
PATH also includes the path to php. so i really dont know whats going
on here...
thank you very much!!

It can be that an extension dll requires some other dll that doesn't
exist or is not in your path. I'd suggest you install FileMon from
sysinternals.co m and look what files Apache is trying to access.

Hi, Gosha -

Good though - I'd forgotten about FileMon. It's a great tool for things
like this. Thanks for reminding me.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Sep 14 '07 #4

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

Similar topics

0
2892
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ??
8
1869
by: Gene Kahn | last post by:
Windows XP, Apache 2, PHP5 RC1 Hello, A total newbie here. I can't seem to get Apache2 to load the php5 module. When I loaded up this html file in a browser, only the Today's date: line prints on the page. <html> <head> <title>Listing 1-7</title> </head>
4
2804
by: Mxsmanic | last post by:
The require() I'm using in a PHP script has stopped working after I moved from PHP4 and Apache 1.3.x to PHP5 and Apache 2.x. Now I get messages like this: Warning: main(/includes/ReloadScript.html) : failed to open stream: No such file or directory in /usr/local/www/htdocs/main/AOLCompression.php on line 14 Fatal error: main() : Failed opening required '/includes/ReloadScript.html' (include_path='.:/usr/local/lib/php') in
2
1832
by: Jupiter's Song | last post by:
(In Apache2) I have this setup and using the new CGI daemon interface... no probs. However the binary is accessible via the browser. I suppose I wouldn't even make this an issue but I get this when accessing the binary: Warning: Unexpected character in input: '' (ASCII=16) state=1 in /usr/local/bin/php on line 4777 Parse error: parse error, unexpected T_STRING in /usr/local/bin/php on line 4777
7
6665
by: SKUNKFACEWOODY | last post by:
I hope for the sake of my sanity and the safety of my computer someone can help. I have been trying to install php5 to use with apache2 and windows xp. Apache installs fine and when you look up localhost you see the apache welcome screen no problems. Then the fun begins I download php5 save it to C drive under PHP5 move and rename the php.ini file to WINDOWS. Then move php5ts.dll to WINDOWS-SYSTEM32. Edit the apache config file with the usual...
2
2587
by: Stefan Huber | last post by:
Hi I've got a really strange problem, and can't find out why it's not working as intended. in order to use php4 and 5 together on a webserver and the requirement for running as different users, I use suexec and a wrapper script for php files. to make it a bit clearer, i'll post the different snippets: httpd.conf:
4
2757
by: Chuck Anderson | last post by:
I am trying to install Php5 on my WindowsXP machine (at home, not on the 'net). I downloaded the Php Windows binary at php.net, unzipped it to c:/Php5, changed my Apache config file to use Php5 with: LoadModule php5_module "c:/Php5/php5apache2.dll" .... and restarted apache (Apache/2.0.55 (Win32) mod_ssl/2.0.55 OpenSSL/0.9.8a) Php5 works fine, but when I execute phpinfo, the registered streams are:
3
2576
by: brundlefly76 | last post by:
I am using the apache-perl webserver in Feisty (an Apache 1.3 with mod_perl enabled), which works fine, but I cannot figure out how to install php5 into this webserver as well. Here's some stuff I have tried from the docs and googling: sudo apt-get install php5 This seemed to only work for apache 2. sudo apt-get install libapache-mod-php5
12
2589
by: Alan M Dunsmuir | last post by:
After having worked with Apache/MySQL/PHP for a year or so under Linux I need, purely for convenience, to set up a parallel platform under Windows. Unfortunately, since I last did this (using Windows XP Pro) I've moved on to Windows Vista (Home Premium). MySQL and Apache2 have both installed satisfactorily, but I'm having problems with PHP5. I downloaded the PHP5 Windows installer (the .msi file) for 32-bit Windows, which is supposed...
0
8740
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
9386
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...
1
9158
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
9090
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8059
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
4764
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3208
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2606
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2148
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.