Click to See Complete Forum and Search --> : [Resolved] An ungraders lament


khaine
10-29-2003, 08:09 AM
I just upgraded my php from 3.something to 4.3.1 and I can't get it working.

The problem is that when ever I uncomment the extension for gd libs the server just hangs it won't do anything. No error messages. It just sits there with a blank screen and does nothing. With the comments in place it works fine.

My system is win98se, php4.3.1, apache 1.3.12

Anyone else having grief running php4.3.1 with the gd extensions?

Anyone know how to fix this one?

Drakla
10-31-2003, 09:51 AM
I'm having pretty much the same problem. I just upgraded from 431 to 433 and any time I uncomment the php_imap, php_opensll or quite a few of the others the thing just sits there like a drunken pleb no matter how simple the script is. I've made sure I've updated the extension directory and all that guff.

I'm using BadBlue and 98se - this is a list of what's safe and unsafe to use

extension=php_bz2.dll ;safe
extension=php_cpdf.dll ;safe
extension=php_crack.dll ;safe
;extension=php_curl.dll ;unsafe
extension=php_db.dll ;safe
extension=php_dba.dll ;safe
extension=php_dbase.dll ;safe
extension=php_dbx.dll ;safe
;extension=php_domxml.dll ;unsafe
extension=php_exif.dll ;safe
;extension=php_fdf.dll ;unsafe
extension=php_filepro.dll ;safe
extension=php_gd2.dll ;safe
;extension=php_gettext.dll ;unsafe
extension=php_hyperwave.dll ;safe
;extension=php_iconv.dll ;unsafe
;extension=php_ifx.dll ;unsafe
extension=php_iisfunc.dll ;safe
;extension=php_imap.dll ;unsafe
;extension=php_interbase.dll ;unsafe
extension=php_java.dll ;safe
;extension=php_ldap.dll ;unsafe
extension=php_mbstring.dll ;safe
;extension=php_mcrypt.dll ;unsafe
;extension=php_mhash.dll ;unsafe
extension=php_mime_magic.dll ;safe
extension=php_ming.dll ;safe
;extension=php_mssql.dll ;unsafe
;extension=php_msql.dll ;unsafe
;extension=php_oci8.dll ;unsafe
;extension=php_openssl.dll ;unsafe
;extension=php_oracle.dll ;unsafe
extension=php_pdf.dll ;safe
extension=php_pgsql.dll ;safe
;extension=php_printer.dll ;unsafe
extension=php_shmop.dll ;safe
extension=php_snmp.dll ;safe
extension=php_sockets.dll ;safe
;extension=php_sybase_ct.dll ;unsafe
extension=php_w32api.dll ;safe
;extension=php_xmlrpc.dll ;unsafe
;extension=php_xslt.dll ;unsafe
;extension=php_yaz.dll ;unsafe
extension=php_zip.dll ;safe


When the script fails I have to do ctrl-alt-delete and zap the php executables that are all hanging around like tramps.

Drakla
10-31-2003, 11:54 AM
Partially Solved!!

Ok - I didn't bother putting the new dlls in my system32 directory and just left the old ones I needed in there - BAM - bad batch!

Khaine, there's a list of the dlls you need to slap in your system32 for the new version in the php manual. Perhaps you just need to change them around, too.

khaine
11-01-2003, 01:51 PM
Fixed.....


I found that if I pointed the extensions directory to point to where the dll's where they got ignored. But if you drop them in the php directory. (C:\php\ in my case) and leave the extension dir pointing to './' it works fine.

Windows can be such a pain in the backside at times. :)

wobble
11-22-2003, 02:37 AM
Hey Guys,

I am trying to install extensions on my PHP. I am running Windows 2000 with IIS. PHP verison 4.3.4.

My PHP works fine, but when i try to uncomment the php_curl.dll extension, the PHP hangs. Does not let me run any PHP scripts.

I have the done the following in my php.ini file:

extension_dir = "c:\php\extensions\"

extension=php_curl.dll

Also, I have put all the extensions DLL files in the c:\php\extensions\

And have put all the other DLL files directly into the C:\WINNT\System32\


I have tried your above suggested fix, but with no luck.

Why is my PHP hanging when I enable php_curl.dll?
How do I resolve it?


Thank you all for your help.

Regards
Wobble