php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24488 php4_module to php5_module rename does NOT work !
Submitted: 2003-07-03 15:57 UTC Modified: 2003-07-04 06:06 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: x86zman at bigfoot dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5CVS-2003-07-02 (dev) OS: Win32 (2000 Prof. w/ SP4)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: x86zman at bigfoot dot com
New email:
PHP Version: OS:

 

 [2003-07-03 15:57 UTC] x86zman at bigfoot dot com
Description:
------------
Hello PHP-DEV People !

i'd like you to know that the needed correction does NOT solve the module loading issue, why this ? i can't see something i done wrong.

I Use this Software :

OS : Win32 [ 2000 Prof. w/ sp4 ] (as soon as i get my replacement HD back i'll be on my beloved gentoo/sorcerer again)
Web-Server : Apache 2.0.46
PHP : 5.0.0b2-dev (CVS 20030702_1430, got from snaps.php.net)

On this Hardware : AMD Athlon 1.6GHz w/ 768MB of RAM (80GB HDD, 1.3GB free on OS partition (where apache2 resides))

and these are my module configuration lines at apache2's httpd.conf :

LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
LoadModule php5_module modules/mod_php5.so

when i comment the last (php5 related) line, apache2 comes up without a hitch. (i've checked it's usable also)

i know for sure that this is the exact pathname to the module, and that it do exist where there by that name, as i've ran a quad-check upon it... just to make sure.

i've thought about the php4->php5 stuff by myself even before visiting here, as it's so trivial... seems very weird that it don't work though.

Reproduce code:
---------------
grab that snapshot from snaps.php.net and test it on W2K.Prof w/ SP4 & Apache 2.0.46 configured as reporeted...

Expected result:
----------------
apache2 starts

Actual result:
--------------
apache2 don't start

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-03 16:04 UTC] x86zman at bigfoot dot com
corrected the PHP Ver.
 [2003-07-03 16:07 UTC] x86zman at bigfoot dot com
corrected the OS Ver.
 [2003-07-04 01:56 UTC] sniper@php.net
Mixed php4/php5 dlls. Not php bug.
(try check your error_log for once before submitting bogus reports)

 [2003-07-04 04:20 UTC] x86zman at bigfoot dot com
i've done a NEW, CLEAN, Apache2 installation on a NEW, CLEAN,  W2K.Prof installation, than i've installed a NEW, CLEAN, 5.0.0b2-dev (CVS 20030702_1430 from snaps.php.net) on top of it.

now, you may still think it's a Bogus, i think it's a BUG !
 [2003-07-04 04:54 UTC] postings-php-bug at hans-spath dot de
Please supply a error message. If none is printed to the screen when apache fails to start up, it should be in Apache's error_log. And check if the file modules/mod_php5.so is really there.
 [2003-07-04 04:57 UTC] x86zman at bigfoot dot com
i've quad-checked it, as i've said above : the file's there for sure.

this is the exact error i get :

Syntax error on line 173 of K:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load K:/Program Files/Apache Group/Apache2/modules/mod_php5.so into server: The specified module could not be found.
 [2003-07-04 04:59 UTC] x86zman at bigfoot dot com
(sure i use the php4apache2.dll... i've just renamed it)
 [2003-07-04 05:56 UTC] postings-php-bug at hans-spath dot de
This is NOT a bug. Don't ask support questions here.
(see http://www.php.net/support.php)

Copy php4ts.dll to
K:/Program Files/Apache Group/Apache2/modules/
or into your windows/system32 directory.
 [2003-07-04 06:06 UTC] x86zman at bigfoot dot com
i've found the problem :

i've forgot to copy the dlls for the extensions i've asked to load...

thanks for the fast response anyway.

p.s. : you may add this as a FAQ item...
 [2003-07-04 06:06 UTC] x86zman at bigfoot dot com
i've found the problem :

i've forgot to copy the dlls for the extensions i've asked to load...

thanks for the fast response ! :)

p.s. : you may add this as a FAQ item...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 05:01:30 2024 UTC