> You are right, I should have been more specific....sorry.
>
>
> I used the following configuration line:
>
>
> ./configure --sysconfdir=/etc --prefix=/usr --with-apxs2=/usr/sbin
> --with-
> mysql --enable-session --with-pcre-regex
>
> Didn't have any problem with running that command.  Also I tried SuSE's
> YAST
> insatallation utility and installed all mods and packages with php, but
> didn't have any luck there either.

Check your php install with phpinfo(). Create file that contains <?php phpinfo() ?>, 
name it test.php, put it on your webserver and open that file in browser. 
http://your.server/some-path/test.php

how about keeping your own apache installation away from rpm dirs. First rule about 
packages - you should not mess with directories used by packages or create own 
packages that mess with them. If you manually change file in /usr, you don't inform 
about it packaging utility. Utility might break changes made by you.

cd /usr/local/src/httpd-2.0.50

./configure --prefix=/opt/apache-2.0.50 \
--with-so --enable-module=most --enable-shared=remain

make

make install

cd /usr/local/src/php-4.3.7
./configure --prefix=/opt/php-4.3.7 \
--with-apxs2=/opt/apache-2.0.50/bin/apxs \
--enable-memory-limit --disable-debug \
--with-pear \
--enable-session --with-pcre-regex \
--with-iconv --enable-mbstring \
--with-openssl=/usr/ \
--with-gettext=shared,/usr \
--with-mysql=shared,/usr

make clean
make
make install

 add --with-recode if you have installed recode and recode-devel rpms
 add other options, if you want usable php install or use apachetoolbox to install 
your webserver.
 use /usr/local instead of /opt, if you have custom partitions and /opt directory is 
part of small root partition.

If you don't want to mess with package compilation, clean all changes that you made in 
directories used by apache and php rpms. then install stock rpms provided by suse. 
Session and pcre support is enabled by default. If SuSE disabled these functions, you 
should be able to see it in src.rpm. .spec file usually contains configure line used 
to compile package. If those functions are not available - find out why SuSE disabled 
them or file a bug, if their patches break those functions. Make sure that you can 
reproduce bug on clean SuSE install.

-- 
Tomas


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to