php-install Digest 27 Aug 2001 14:23:25 -0000 Issue 432 Topics (messages 4087 through 4089): PHP 4.0.7 snapshot and rh7.1 (focus on IMAP,IMP) 4087 by: Dan Ellis 4089 by: Jani Taskinen php4.0.6 with apache 1.3.19 and gd 1.8.4 4088 by: Ryan Briggs Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
OK, I've been trying to get rh7.1 to load a version of PHP accectable for Horde's IMP webmail software. OK, RH comes with 4.0.6 but the PEAR that is included does not qualify for HORDE (needs RFC822 and other messages). I tried d/l'ing php4.0.6 and compile, but get the "cannot find symbol: mxdriver" problem. In the archives, Jani mentions to d/l the newest snapshot. Things looked good from there. Horde's test.php said everything was in order. However, it seemed the htmlspecialchars() function as not returning any value under any circumstances. So, I tried other methods like downloading rpms, etc, but that yielded the same problem with the PEAR not being of the correct version. I was told that using 4.0.6 with 4.0.7 pear from cvs would work, but I still get the mxdriver problem. I even tried a new snapshot today, but php seems to be locking up. The test.php goes into an endless loop or something. Apache doesn't seem to dump, just hang. I simple phpinfo() works fine, but that doesn't help me get closer to my goal. Anyways, has anyone using rh7.1 gotten a version(s) of PHP to work/compile fine with IMP? RPM or source, it doesn't bother me at this point, I'll try anything. Anyways, thanks in advance. Dan Ellis
There were couple of problems in CVS. But those should be fixed now. Also note: using snapshots for anything else but testing if some specific bug is fixed is not recommended. --Jani On Sun, 26 Aug 2001, Dan Ellis wrote: >OK, I've been trying to get rh7.1 to load a version of PHP accectable >for Horde's IMP webmail software. OK, RH comes with 4.0.6 but the PEAR >that is included does not qualify for HORDE (needs RFC822 and other >messages). I tried d/l'ing php4.0.6 and compile, but get the "cannot >find symbol: mxdriver" problem. In the archives, Jani mentions to d/l >the newest snapshot. > >Things looked good from there. Horde's test.php said everything was in >order. However, it seemed the htmlspecialchars() function as not >returning any value under any circumstances. So, I tried other methods >like downloading rpms, etc, but that yielded the same problem with the >PEAR not being of the correct version. I was told that using 4.0.6 with >4.0.7 pear from cvs would work, but I still get the mxdriver problem. I >even tried a new snapshot today, but php seems to be locking up. The >test.php goes into an endless loop or something. Apache doesn't seem to >dump, just hang. I simple phpinfo() works fine, but that doesn't help >me get closer to my goal. > >Anyways, has anyone using rh7.1 gotten a version(s) of PHP to >work/compile fine with IMP? RPM or source, it doesn't bother me at this >point, I'll try anything. > >Anyways, thanks in advance. > >Dan Ellis > > >
I was trying to add the gd library to my server, and it seems things went wrong somewhere. MySQL is previously installed and working. (/usr/local/mysql) Installed the gd library to /usr/local/gd - ok Installed php with config as: ./configure --with-mysql=/usr/local/mysql --with-config-file-path=/www/conf --with-apache=/usr/local/etc/httpd --enable-track-vars --with-gd=/usr/local /gd This worked fine. All paths are correct. Installed apache - config.status of install follows: ./configure \ "--with-layout=Apache" \ "--prefix=/usr/local/etc/httpd" \ "--sysconfdir=/www/conf" \ "--enable-module=rewrite" \ "--enable-module=status" \ "--enable-shared=max" \ "--activate-module=src/modules/php4/libphp4.a" \ "$@" This worked fine. Copied php.ini to specified /www/conf, configured httpd.conf with LoadModule php4_module libexec/libphp4.so AddModule mod_php4.c in correct locations. Attempt to start apache: [root@neo bin]# apachectl start Syntax error on line 223 of /www/conf/httpd.conf: Cannot load /usr/local/etc/httpd/libexec/libphp4.so into server: ld.so.1: /usr/local/etc/httpd/bin/httpd: fatal: relocation error: file /usr/local/etc/httpd/libexec/libphp4.so: symbol gdImageCreateFromWBMPCtx: referenced symbol not found ./apachectl start: httpd could not be started If I remove the php module lines, apachestarts fine. If I compile PHP without GD, both apache and PHP work properly, but the GD is throwing it all off. Any ideas? Thanks.