Page 1 of 1

PHP 4.4.2 on Apache 1.3.35 (win32) extentions loading prob.

Posted: Sun Jul 09, 2006 6:16 pm
by ShadowHawk
Here is a first.

Specs:
Apache 1.3.35 (win32)
PHP 4.4.2 (win32)
ZendOptimizer 3.0.1 (win32)
mysql essential 4.1.19 (win32)

I am trying to mimick the settings on my computer to match what my webhost has installed. Everything works fine except for certain extentions are not loading. If found a work around on some dealing with the <module>.dll being placed in the windows/system32 dir, but others I can't find the corresponding dll to place there. The php.ini file has a valid link to the extentions folder and some work perfectly. All ; have been removed from the php_<module>.dll so as to load them. This is my dynamic extensions settings in php.ini:
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.


;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;

;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
extension=php_curl.dll (corrected problem)
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
extension=php_domxml.dll
extension=php_mbstring.dll
extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_hyperwave.dll
;extension=php_iconv.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
extension=php_mcrypt.dll
extension=php_mhash.dll
;extension=php_mime_magic.dll
extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_oci8.dll
extension=php_openssl.dll (corrected problem)
;extension=php_oracle.dll
;extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_printer.dll
extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_w32api.dll
extension=php_xmlrpc.dll
extension=php_xslt.dll
;extension=php_yaz.dll
extension=php_zip.dll
This is all the extentions my developing server shows activated
(hardcoded extentions are denoted by [embeded]):
bcmath [embeded]
calendar [embeded]
com [embeded]
ctype [embeded]
curl
domxml
exif
ftp [embeded]
gd
gettext
imap
mbstring
mcrypt
ming (Apparent replacement for the outdated swf exension)
mhash
mysql [embeded]
odbc [embeded]
openssl
overload [embeded]
pcre [embeded]
pspell (not included in php release)
session [embeded]
sockets
tokenizer [embeded]
wddx [embeded]
xml [embeded]
xmlrpc
xslt
zlib [embeded]
ionCube Loader (not included in php release)
This is all the extentions my host's server shows activated
(highlighted ones show the difference in what's loaded in the development server):
bcmath
calendar
(com not installed)
ctype
curl
domxml
exif
ftp
gd
gettext
imap
mbstring
mcrypt
mhash
mysql
openssl
overload
pcre
posix (not included in php release)
pspell (not included in php release)
session
sockets
swf (aparently replaced by ming)
tokenizer
wddx
xml
xmlrpc
xslt
zip
zlib
ionCube Loader (not included in php release)
How do I fix the ones that are in the .ini and are not loading and where do I get the extentions not included in the initial release (not listed in the .ini) or could be missing from the initial release (things listed in the .ini but missing the files)?

Edit: Got the non-loading prob solved somehow. The only thing I did was uninstall Apache and re-installed it, but I changed the default c:\program files\apache group\ install location to c:\ and I moved my php folder from c:\program files to c:\ then poof! everything worked. :? Didn't change anything in my php.ini and changed http.conf exactly as I had it in the original install (except changed c:/program files/php/ to c:/php/). I removed the highlights on the ones that wouldn't install originally.

Also found ionCube Loader and pspell and installed them.

Now All I need is info on the missing module ( and unistall of com on my end without recompiling if possible).

RE: PHP 4.4.2 on Apache 1.3.35 (win32) extentions loading pr

Posted: Fri Jul 14, 2006 9:37 am
by swbf_lase
I personly had a problem smiler(dumb spelling lol). What i did is i went out to http://php.net/ and downloaded the source. I than took whatever files I need and replaced them with the ones in the source. Theres a 50% precent chance that you might have that anwser to.

RE: PHP 4.4.2 on Apache 1.3.35 (win32) extentions loading pr

Posted: Fri Aug 11, 2006 2:25 am
by ShadowHawk
Sorry for the very late post (didn't red flag for some reason, so this got dropped.) I'll look into it to see if that works. right now my server is being overhauled (not fun with one arm) but I'll get back if it works. Thanks lase.