php-install Digest 28 Jul 2003 20:31:59 -0000 Issue 1479

Topics (messages 11350 through 11354):

/usr/var/lib
        11350 by: Moritz Steiner
        11354 by: Michael Mauch

problems with environment variables
        11351 by: George L. Yermulnik
        11353 by: Michael Mauch

Problem installing PHP 4.3.2 and Apache 2.0.47 on ia64
        11352 by: Dino Ciuffetti

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]


----------------------------------------------------------------------
--- Begin Message ---
I don't want that the usr/var/lib directory is used during the
installation, but even with -prefix and -exec-prefix I cannot prevent
the installation procedure of using this directory.
Does someone know how to do this?
 
Moritz
 

--- End Message ---
--- Begin Message ---
Moritz Steiner wrote:

> I don't want that the usr/var/lib directory is used during the
> installation, but even with -prefix and -exec-prefix I cannot prevent
> the installation procedure of using this directory.
> Does someone know how to do this?

Do you mean /usr/local/lib? Did you try --prefix (i.e. with two dashes)?

Regards...
                Michael

P.S.: Can you please turn off sending that superfluous HTML attachment?

--- End Message ---
--- Begin Message --- Hello!

I've got FreeBSD 4.8 Stable, Apache/1.3.27 (Unix) mod_throttle/3.1.2 PHP/4.3.3RC1 rus/PL30.17 and PHP 4.3.3RC1

It's a newly installed server with a lot of virtual hosts using environment variables like $REQUEST_URI in php scripts.

The problem is that PHP doesn't show those variables, saying "Notice: Undefined variable: REQUEST_URI in ..."

register_globals in /usr/local/etc/php.ini is On

I've tried to install PHP 4.3.2 and 4.3.1, but the result is negative too =(

I know I should be using variables like "$_SERVER[REQUEST_URI]", but it's a real problem to explain that to my users. They really want their scripts to keep using just $REQUEST_URI or $QUERY_STRING etc.

Is there any ideas how should the problem be fixed?

thanx in advance for helping

--
[EMAIL PROTECTED]
[YZ-RIPE]


--- End Message ---
--- Begin Message ---
George L. Yermulnik wrote:

> I've got FreeBSD 4.8 Stable, Apache/1.3.27 (Unix) mod_throttle/3.1.2 
> PHP/4.3.3RC1 rus/PL30.17 and PHP 4.3.3RC1
> 
> It's a newly installed server with a lot of virtual hosts using 
> environment variables like $REQUEST_URI in php scripts.
> 
> The problem is that PHP doesn't show those variables, saying "Notice: 
> Undefined variable: REQUEST_URI in ..."
> 
> register_globals in /usr/local/etc/php.ini is On

Please make sure that /usr/local/etc/php.ini is indeed the php.ini that
is used by your PHP. To find out, you can write a PHP script with the
line:

<?php phpinfo(); ?>

and put that file on your web server and look at it with a browser. The
output should have an entry "Configuration File (php.ini) Path".

Regards...
                Michael


--- End Message ---
--- Begin Message ---
Hello,
I tried to install php 4.3.2 and apache 2.0.47 on a RedHat 2.1AS, platform 
ia64.


apache2 installation:

$ export CFLAGS="-O3 -fomit-frame-pointer -finline-functions -fcaller-saves"
$ ./configure --prefix=/opt/pul/httpd-2.0.47 --enable-mods-shared=all
$ make
$ make install
$ /opt/pul/httpd-2.0.47/bin/apachectl -k start

and ALL is ok.

Now I tried to compile php!!!

$ unset CFLAGS
$ './configure' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' 
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' 
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' 
'--libexecdir=/usr/libexec' '--localstatedir=/var' 
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--cache-file=../config.cache' 
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' 
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' 
'--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' 
'--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' 
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' 
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' 
'--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' 
'--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' 
'--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' 
'--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' 
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' 
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' 
'--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear' 
'--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' 
'--with-ldap=shared' '--with-mysql=shared,/opt/pul/mysql' 
'--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' 
'--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' 
'--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' 
'--enable-dbx' '--enable-dio' '--enable-mcal' '--with-java' 
'--with-sybase=/opt/sybase-11.9.2' 
'--with-apxs2=/opt/pul/httpd-2.0.47/bin/apxs'

The configure is OK, now that I installed all the libraries, but when I try to 
make:

$ make
.......
.......
/bin/sh /usr/src/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile 
gcc  -IZend/ -I/usr/src/php-4.3.2/Zend/ -DPHP_ATOM_INC 
-I/usr/src/php-4.3.2/include -I/usr/src/php-4.3.2/main -I/usr/src/php-4.3.2 
-I/opt/pul/httpd-2.0.47/include -I/usr/src/php-4.3.2/Zend 
-I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap 
-I/usr/kerberos/include -I/opt/pul/mysql/include -I/usr/include/pgsql 
-I/usr/include/pspell -I/usr/include/ucd-snmp -I/opt/sybase-11.9.2/include  
-I/usr/src/php-4.3.2/TSRM  -g -O2  -prefer-pic -c 
/usr/src/php-4.3.2/Zend/zend_execute.c -o Zend/zend_execute.lo
/bin/sh /usr/src/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compile 
gcc  -Isapi/apache2handler/ -I/usr/src/php-4.3.2/sapi/apache2handler/ 
-DPHP_ATOM_INC -I/usr/src/php-4.3.2/include -I/usr/src/php-4.3.2/main 
-I/usr/src/php-4.3.2 -I/opt/pul/httpd-2.0.47/include 
-I/usr/src/php-4.3.2/Zend -I/usr/include/libxml2 -I/usr/include/freetype2 
-I/usr/include/imap -I/usr/kerberos/include -I/opt/pul/mysql/include 
-I/usr/include/pgsql -I/usr/include/pspell -I/usr/include/ucd-snmp 
-I/opt/sybase-11.9.2/include  -I/usr/src/php-4.3.2/TSRM  -g -O2  -prefer-pic 
-c /usr/src/php-4.3.2/sapi/apache2handler/sapi_apache2.c -o 
sapi/apache2handler/sapi_apache2.lo
In file included from /opt/pul/httpd-2.0.47/include/httpd.h:86,
                 from /opt/pul/httpd-2.0.47/include/util_filter.h:61,
                 from 
/usr/src/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/opt/pul/httpd-2.0.47/include/pcreposix.h:41: conflicting types for 
`REG_BADBR'
/usr/include/regex.h:307: previous declaration of `REG_BADBR'
/opt/pul/httpd-2.0.47/include/pcreposix.h:42: conflicting types for 
`REG_BADPAT'
/usr/include/regex.h:299: previous declaration of `REG_BADPAT'
/opt/pul/httpd-2.0.47/include/pcreposix.h:43: conflicting types for 
`REG_BADRPT'
/usr/include/regex.h:310: previous declaration of `REG_BADRPT'
/opt/pul/httpd-2.0.47/include/pcreposix.h:44: conflicting types for 
`REG_EBRACE'
/usr/include/regex.h:306: previous declaration of `REG_EBRACE'
/opt/pul/httpd-2.0.47/include/pcreposix.h:45: conflicting types for 
`REG_EBRACK'
/usr/include/regex.h:304: previous declaration of `REG_EBRACK'
/opt/pul/httpd-2.0.47/include/pcreposix.h:46: conflicting types for 
`REG_ECOLLATE'
/usr/include/regex.h:300: previous declaration of `REG_ECOLLATE'
/opt/pul/httpd-2.0.47/include/pcreposix.h:47: conflicting types for 
`REG_ECTYPE'
/usr/include/regex.h:301: previous declaration of `REG_ECTYPE'
/opt/pul/httpd-2.0.47/include/pcreposix.h:48: conflicting types for 
`REG_EESCAPE'
/usr/include/regex.h:302: previous declaration of `REG_EESCAPE'
/opt/pul/httpd-2.0.47/include/pcreposix.h:50: conflicting types for 
`REG_EPAREN'
/usr/include/regex.h:305: previous declaration of `REG_EPAREN'
/opt/pul/httpd-2.0.47/include/pcreposix.h:51: conflicting types for 
`REG_ERANGE'
/usr/include/regex.h:308: previous declaration of `REG_ERANGE'
/opt/pul/httpd-2.0.47/include/pcreposix.h:52: conflicting types for 
`REG_ESIZE'
/usr/include/regex.h:314: previous declaration of `REG_ESIZE'
/opt/pul/httpd-2.0.47/include/pcreposix.h:53: conflicting types for 
`REG_ESPACE'
/usr/include/regex.h:309: previous declaration of `REG_ESPACE'
/opt/pul/httpd-2.0.47/include/pcreposix.h:54: conflicting types for 
`REG_ESUBREG'
/usr/include/regex.h:303: previous declaration of `REG_ESUBREG'
/opt/pul/httpd-2.0.47/include/pcreposix.h:57: conflicting types for 
`REG_NOMATCH'
/usr/include/regex.h:295: previous declaration of `REG_NOMATCH'
/opt/pul/httpd-2.0.47/include/pcreposix.h:66: conflicting types for `regex_t'
/usr/include/regex.h:396: previous declaration of `regex_t'
/opt/pul/httpd-2.0.47/include/pcreposix.h:70: warning: redefinition of 
`regoff_t'
/usr/include/regex.h:399: warning: `regoff_t' previously declared here
/opt/pul/httpd-2.0.47/include/pcreposix.h:75: conflicting types for 
`regmatch_t'
/usr/include/regex.h:427: previous declaration of `regmatch_t'
/opt/pul/httpd-2.0.47/include/pcreposix.h:79: conflicting types for `regcomp'
/usr/include/regex.h:538: previous declaration of `regcomp'
/opt/pul/httpd-2.0.47/include/pcreposix.h:80: conflicting types for `regexec'
/usr/include/regex.h:542: previous declaration of `regexec'
/opt/pul/httpd-2.0.47/include/pcreposix.h:81: conflicting types for `regerror'
/usr/include/regex.h:547: previous declaration of `regerror'
/opt/pul/httpd-2.0.47/include/pcreposix.h:82: conflicting types for `regfree'
/usr/include/regex.h:550: previous declaration of `regfree'
make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1



What does it means???!

Any help appreciated!!


-- 
________________________
Dino Ciuffetti
Linux Network Administrator
------------------------------------------

--- End Message ---

Reply via email to