PHP5 woes.

I have been trying to get php5 up and running on my spare computer here (Pentium II, 400 MHz, 128 MB of PC-100, running FreeBSD 6) for the past two or three days now.

Unfortunately, it’s been a constantly uphill battle. I can’t get a damn thing done with it, due to the torrential amount of errors I’ve dealt with. As soon as I clear one batch of errors, another one appears.

I’ve become increasingly frustrated with trying to set this up, despite googling for answers (This includes using the special google.com/bsd search to focus my results a fair bit more).

Right now, all I want php5 for is to test Habari on my little box. Everything else that I’d like to play around with can probably be easily done from php4.

Instead, I get this:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/bz2.so' - Cannot open "/usr/local/lib/php/20060613-debug/bz2.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/curl.so' - Cannot open "/usr/local/lib/php/20060613-debug/curl.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/gettext.so' - Cannot open "/usr/local/lib/php/20060613-debug/gettext.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/gmp.so' - Cannot open "/usr/local/lib/php/20060613-debug/gmp.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/iconv.so' - Cannot open "/usr/local/lib/php/20060613-debug/iconv.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/imap.so' - Cannot open "/usr/local/lib/php/20060613-debug/imap.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/mbstring.so' - Cannot open "/usr/local/lib/php/20060613-debug/mbstring.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/mcrypt.so' - Cannot open "/usr/local/lib/php/20060613-debug/mcrypt.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/mhash.so' - Cannot open "/usr/local/lib/php/20060613-debug/mhash.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/mysqli.so' - Cannot open "/usr/local/lib/php/20060613-debug/mysqli.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/ncurses.so' - Cannot open "/usr/local/lib/php/20060613-debug/ncurses.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/openssl.so' - Cannot open "/usr/local/lib/php/20060613-debug/openssl.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/pdo.so' - Cannot open "/usr/local/lib/php/20060613-debug/pdo.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/pgsql.so' - Cannot open "/usr/local/lib/php/20060613-debug/pgsql.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/readline.so' - Cannot open "/usr/local/lib/php/20060613-debug/readline.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/recode.so' - Cannot open "/usr/local/lib/php/20060613-debug/recode.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/simplexml.so' - Cannot open "/usr/local/lib/php/20060613-debug/simplexml.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/snmp.so' - Cannot open "/usr/local/lib/php/20060613-debug/snmp.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/sockets.so' - Cannot open "/usr/local/lib/php/20060613-debug/sockets.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/sqlite.so' - Cannot open "/usr/local/lib/php/20060613-debug/sqlite.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/sysvmsg.so' - Cannot open "/usr/local/lib/php/20060613-debug/sysvmsg.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/sysvsem.so' - Cannot open "/usr/local/lib/php/20060613-debug/sysvsem.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/sysvshm.so' - Cannot open "/usr/local/lib/php/20060613-debug/sysvshm.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/dom.so' - Cannot open "/usr/local/lib/php/20060613-debug/dom.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/xmlreader.so' - Cannot open "/usr/local/lib/php/20060613-debug/xmlreader.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/xmlrpc.so' - Cannot open "/usr/local/lib/php/20060613-debug/xmlrpc.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/xmlwriter.so' - Cannot open "/usr/local/lib/php/20060613-debug/xmlwriter.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/xsl.so' - Cannot open "/usr/local/lib/php/20060613-debug/xsl.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613-debug/zip.so' - Cannot open "/usr/local/lib/php/20060613-debug/zip.so" in Unknown on line 0
PHP Warning: [tag]PHP[/tag] Startup: Unable to load dynamic library ‘/usr/local/lib/php/20060613-debug/calendar.so’ - Cannot open “/usr/local/lib/php/20060613-debug/calendar.so” in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/20060613-debug/dbase.so’ - Cannot open “/usr/local/lib/php/20060613-debug/dbase.so” in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/20060613-debug/fileinfo.so’ - Cannot open “/usr/local/lib/php/20060613-debug/fileinfo.so” in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/20060613-debug/ftp.so’ - Cannot open “/usr/local/lib/php/20060613-debug/ftp.so” in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/20060613-[tag]debug[/tag]/gd.so’ - Cannot open “/usr/local/lib/php/20060613-debug/gd.so” in Unknown on line 0

I’m rebuilding the extensions at the moment to see what will happen, but right now, it’s doing all sorts of irritate-the-crap-out-of-me.

What I need at the moment is:
A solution to the [tag]segmentation fault[/tag]ing that php5 is doing (also, where the hell are the logs for this thing?)
A way to get [tag]php5[/tag] and php4 to coexist, so I can at least move forward on that front.

I also need a temporary job that I can commute to and from via the bus system, since my car is in serious need of repair or replacement.

This ain’t my week, baby.

Tags: ,

  1. Oliver’s avatar

    i have the same problem but localized to:

    PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/20060613-debug/snmp.so’

    did you figure it out?

    Oliver

    Reply

    1. Xial Lunashine’s avatar

      Oliver, I never got the chance to figure it out. I eventually formatted that computer’s hard drive, before I was forced to put that computer into storage.

      I won’t have time to work on it until I get a place to stay. :)

      Reply

  2. val’s avatar

    For example,
    PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/20060613-debug/mhash.so’ - Cannot open “/usr/local/lib/php/20060613-debug/mhash.so” in Unknown on line 0

    means that you probably don’t have this lib (mhash.so), or php can’t find it.

    Try to install them.

    Reply

  3. jaxxed’s avatar

    similar problem, but just for xmlreader and wmlwriter. I notice that I have the .so s in the non-debug folder for lib/php200…

    Where are the read controlled? They are not in the php.ini

    Reply

Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States