How to enable $PATH_INFO??
| From: | Noel da Costa | Date: | Fri, 23 Apr 2004 08:49:39 +0000 |
| Subject: | How to enable $PATH_INFO?? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-13323@lists.php.net to get a copy of this message | ||
Hi,
I recently developed a site using a $PATH_INFO based navigation system.
Sadly, the test server config did not match the live server config! It
doesn't work on the live server at all, I get the error "404 Object not
found" when using a URL like: index.php/accounts/1/42
I am guessing that this has something to do with --enable-discard path, but
I'm really not sure... help appreciated.
Noel
Apache v2.0, PHP v4.2.2...
PHP config included below...
=============================
./configure' '--host=i386-redhat-linux' '--build=i386-redhat-linux'
'--target=i386-redhat-linux-gnu' '--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-yp' '--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,/usr' '--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-apxs2=/usr/sbin/apxs'