Hi I have compiled and installed php 4.3.0 on my SuSE 8.1. But now I have some problems with where some files are placed. I think I might have used some wrong values when running ./configure. Well, if someone could send me the values shown in 'Configure Command' when doing a phpinfo(), I would be glad. (In particular I have some problems regarding the placement of PEAR - in older versions of SuSE it would be placed in /usr/lib/php/, now it seems to be placed in /usr/share/php/, but I do not know if this is because I configured my php with some wrong values or if it has been moved to that place in SuSE 8.1) -- Mads Lie Jensen - mads@gartneriet.dk - ICQ #25478403 http://www.gartneriet.dk Lær af andres fejl - du lever alligevel ikke længe nok til selv at prøve dem alle.
On Wed, Jan 01, 2003 at 02:56:33PM +0100, Mads Lie Jensen wrote:
I have compiled and installed php 4.3.0 on my SuSE 8.1. But now I have some problems with where some files are placed.
I think I might have used some wrong values when running ./configure.
Well, if someone could send me the values shown in 'Configure Command' when doing a phpinfo(), I would be glad.
This is with PHP4.3.0RC2: './configure' '--prefix=/usr/share' '--datadir=/usr/share/ php' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir= /usr/include' '--with-_lib=lib' '--with-config-file-path=/ etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-mbregex' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--enable-yp' '--with-bz2' '--with-dom=/usr/include/libxml2' '--with-ftp' '--with-gdbm' '--with-gettext' '--with-gmp' '--with-imap=yes' '--with-iodbc' '--with-jpeg-dir=/usr' '--with-ldap=yes' '--with-mcal=/usr' '--with-mcrypt' '--with-mysql=/usr' '--with-ndbm' '--with-pgsql=/usr' '--with-png-dir=/usr' '--with-readline' '--with-snmp' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-gd=shared' '--with-openssl' '--with-curl' '--with-imap-ssl' '--with-iconv' '--with-apxs2=/usr/sbin/ apxs2-prefork' 'i586-suse-linux'
(In particular I have some problems regarding the placement of PEAR - in older versions of SuSE it would be placed in /usr/lib/php/, now it seems to be placed in /usr/share/php/, but I do not know if this is because I configured my php with some wrong values or if it has been moved to that place in SuSE 8.1)
I don't think that we changed anything on our end, since 8.0 used --libdir=%{_datadir}, just as 8.1 does. Peter
Hi:
I want to recompile my installed php on suse 8.1 for enableing oci
function first I uninstall mod_php4 and then I find the source file of php
on CD, modify the .spec file and add oci on it
and then use these command
rpm -bb <.specfile_name>
rpm -ivh
Install the source RPM from the CD/DVD. Modify the .spec file to include the configure options that you need. rpm -bb <.specfile_name> rpm -ivh
----- Original Message -----
From:
On Wed, Jan 01, 2003 at 02:56:33PM +0100, Mads Lie Jensen wrote:
I have compiled and installed php 4.3.0 on my SuSE 8.1. But now I have some problems with where some files are placed.
I think I might have used some wrong values when running ./configure.
Well, if someone could send me the values shown in 'Configure Command' when doing a phpinfo(), I would be glad.
This is with PHP4.3.0RC2:
'./configure' '--prefix=/usr/share' '--datadir=/usr/share/ php' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir= /usr/include' '--with-_lib=lib' '--with-config-file-path=/ etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-mbregex' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--enable-yp' '--with-bz2' '--with-dom=/usr/include/libxml2' '--with-ftp' '--with-gdbm' '--with-gettext' '--with-gmp' '--with-imap=yes' '--with-iodbc' '--with-jpeg-dir=/usr' '--with-ldap=yes' '--with-mcal=/usr' '--with-mcrypt' '--with-mysql=/usr' '--with-ndbm' '--with-pgsql=/usr' '--with-png-dir=/usr' '--with-readline' '--with-snmp' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-gd=shared' '--with-openssl' '--with-curl' '--with-imap-ssl' '--with-iconv' '--with-apxs2=/usr/sbin/ apxs2-prefork' 'i586-suse-linux'
(In particular I have some problems regarding the placement of PEAR - in older versions of SuSE it would be placed in /usr/lib/php/, now it seems to be placed in /usr/share/php/, but I do not know if this is because I configured my php with some wrong values or if it has been moved to that place in SuSE 8.1)
I don't think that we changed anything on our end, since 8.0 used --libdir=%{_datadir}, just as 8.1 does.
Peter
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sat, Jan 04, 2003 at 09:42:59AM +0330, Samyar Haghighat wrote:
I want to recompile my installed php on suse 8.1 for enableing oci function first I uninstall mod_php4 and then I find the source file of php on CD, modify the .spec file and add oci on it and then use these command rpm -bb <.specfile_name> rpm -ivh
but I got 100 errors and dosen't work would u please tell me what shoul I do
You need to have a lot of packages installed to rebuild php. Have a look at the build package (yes, it's called like that: build.rpm) and the accompanying documentation. Peter
participants (3)
-
Mads Lie Jensen
-
poeml@cmdline.net
-
Samyar Haghighat