ID:               36452
 User updated by:  redscourge at gmail dot com
 Reported By:      redscourge at gmail dot com
-Status:           Bogus
+Status:           Open
 Bug Type:         Apache2 related
 Operating System: windows xp sp2
 PHP Version:      5.1.2
 New Comment:

here is the exact thing i did when i tried to upgrade:

stopped server, moved all php files that were in c:\php5\ into
c:\php5\old\, extracted all files from the zip file to c:\php5\.
renamed the php-dist.ini to php.ini and configured each setting as
needed, including open_basedir, extension_dir, uncommented the
php_mysql.dll and php_gd2.dll files, and other non important things
which i know for a fact are not causing an error.

copie php5apache2.dll and php5ts.dll to c:\program files\apache
group\apache2\, as well as the new php.ini file. no files relating to
php are/were in c:\windows\system32 folder, so there wasnt a problem
there.

started server, and i got these errors in the error.log:

PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\php5\\ext\\php_gd2.dll' - The specified module could not be
found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\php5\\ext\\php_mysql.dll' - The specified module could not be
found.\r\n in Unknown on line 0

although i verified that these files were infact there, and i made
certain that i reapplied all file permissions oh subfolders and files,
so apache infact should have had access to them.

all mysql related pages failed to load, and all non related ones
worked.

tried replacing the two previously mentioned dll files with the older
versions, didnt work. overwrote all old files ontop of all new files
including the ones in the apache folder, worked. tried overwriting the
new dll's overtop of the old dll's, didnt work. restored the old ones,
worked.

only when every last file present in the php and apache folders was of
the 5.0.2 version did anything work.

verified all directives in the php files several times, verified file
permissions serveral times, verified file locations and versions
several times.

i cannot perceive any logical explanation other than some problem in
the php install files, but it doesnt make sense that they only dont
work for me, so i am going to re-try this entire thing again tonight.


Previous Comments:
------------------------------------------------------------------------

[2006-02-19 12:45:31] [EMAIL PROTECTED]

Everything works fine..
Check if you don't have any old dlls in Windows dirs (C:\windows and
C:\windows\system32).
Also, if you have mysal installed, with its dir in the path, check the
version of its libmysql.dll file, because it may be causing the
problem.

If still doesn't work, read *carefully* the on-line manual:
http://php.net/install.windows.manual

------------------------------------------------------------------------

[2006-02-19 03:40:24] redscourge at gmail dot com

Description:
------------
i just tried to upgrade from php 5.0.2 to 5.1.2 today. i replaced all
files properly, and tried first going line by line thru 5.1.2's php.ini
file and toggling on the features that i had in my previous php.ini
version, so that any new stuff added since then is in its new default,
but settings that affect my setup are as they should be.

i verified the file permissions, moved the updated php5ts.dll and
php5apache2.dll files to my apache folder, then started up my apache
server, version 2.0.55.

i loaded my front page, and BAM! i get nothing. then i tried a few
things, and apache2 was telling me on startup that it couldnt find the
php_mysql.dll or php_gd2.dll libraries that i enabled in the php.ini
file, that were there, that were being pointed at properly by the
php.ini file, and yet it didnt work.

i tried replacing those .dll files with the old ones from my previous
installation, didnt work.

tried keeping the new version dll's and putting all my original version
files back, didnt work.

this leads me to believe that the new php_mysql.dll file and
php_gd2.dll file are either corrupt, or do not work with apache 2.0.55

i know for damn sure i did nothing wrong, as i retried this several
times from scratch, and only when all 5.0.2 files present did php load
the dll's correctly.

Reproduce code:
---------------
my webpage depends on retrieving SQL code to produce all html output,
and since it couldnt load the mysql dll, i got a blank html source file
served on the main page, and any page that makes use of sql.

Expected result:
----------------
i expected my damn site to work, seeing as how i know the php.ini file
was fine, im lead to believe that php 5.1.2 is a released version and
should therefore work, and because i made sure i didnt forget anything
at all.

Actual result:
--------------
shit all


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36452&edit=1

Reply via email to