php4
after a portupgrade I have lost mysql support with php4. I have pkg_deinstalled did a make--with-mysql=/usr/local/bin/mysql and pkg_reinstall but no support. Then portupgrade -m --with-mysql=/usr/local/bin/mysql php4. Then pkg_delete did make --with-mysql=/usr/local/bin/mysql then make install still no support. Mysql is there and working, logins work from command line and data is there. But from apache php is working but with no mysql support, phpinfo shows no mysql module loaded. A whereis gave me the /usr/local/bin/mysql, What would be the proper way to add support with php4 already installed?? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4...
Looks like I'm missing /usr/local/bin/php, and lang/php4 is broken. I already have the mod_php4 port installed-- and working. FUDforums2 is looking for the php bnary, if I'm interpreting the installation message correctly. Any advice, now that the code freeze is on? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PHP4 v. php4-4.4.7_2 refuse to upgrade …
Hello, I am using FreeBSD xxx.fr 5.5-RELEASE-p9 FreeBSD 5.5-RELEASE-p9 #1: Thu Dec 14 11:39:18 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ GENERIC i386 When trying to upgrade from php php4-4.4.7_1 to php4-4.4.7_2 there is this strange error… Updating the pkgdb in /var/db/pkg ... - 209 packages found (-3 +1) (...). done] ---> Upgrading 'php4-4.4.7_1' to 'php4-4.4.7_2' (lang/php4) ---> Building '/usr/ports/lang/php4' ===> Cleaning for autoconf-2.61_2 ===> Cleaning for php4-4.4.7_2 ===> php4-4.4.7_2 has known vulnerabilities: => php -- multiple vulnerabilities. Reference: <http://www.FreeBSD.org/ports/portaudit/ 71d903fc-602d-11dc-898c-001921ab2fa4.html> => Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade. 24846.54 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php4-4.4.7_1 UPGRADE_PORT_VER=4.4.7_1 make ** Fix the problem and try again. I don't understand because my port tree is up to date !! Any idea ? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing php4
Hi all I have been trying to install php4 (On FreeBSD 5.2.1, cvsuped ports tree, php4-4.3.8_1, I have tried both the mod_php4 and lang/php4) and the full menu options seem to have disappeared. When I run make install I get a 3 line menu offering to allow me to install for apache2 instead of apache 1.3.x, to enable debugging and use IPv6. I have no options to configure the build process. If I allow the build to continue Apache grumbles that it can't find variable session( ), which would suggest PHP is not compiled with session support. What am I doing wrong? What has changed? Thanks for your help Drew -- In line with our policy, this message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. www.themarshalls.co.uk/policy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4
Mark wrote: after a portupgrade I have lost mysql support with php4. I have pkg_deinstalled did a make--with-mysql=/usr/local/bin/mysql and pkg_reinstall but no support. Then portupgrade -m --with-mysql=/usr/local/bin/mysql php4. Then pkg_delete did make --with-mysql=/usr/local/bin/mysql then make install still no support. Mysql is there and working, logins work from command line and data is there. But from apache php is working but with no mysql support, phpinfo shows no mysql module loaded. A whereis gave me the /usr/local/bin/mysql, What would be the proper way to add support with php4 already installed?? Mark : per ports/UPDATING: 20040719: AFFECTS: users of PHP AUTHOR: [EMAIL PROTECTED] The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP, PEAR, and shared extensions to allow more flexibility and add new features. Upgrading your current PHP installation will result in a 'base' PHP installation (no PEAR and no extensions). PEAR can be found in the new devel/php4-pear and devel/php5-pear ports, while the set of PHP extensions to install can be choosen via the meta-ports lang/php4-extensions and lang/php5-extensions, or installing singular extensions individually. If you have a previous php.ini configuration file, be sure to comment out the extension_dir parameter, since the correct path is statically compiled into the PHP binary. For an overview of the modules used with the old PHP binary, use the command "php -m". installing lang/php4-extensions should be helpful. hope this helps, ~j -- Jonathan T. Sage Theatrical Lighting / Set Designer Professional Web Design "He said he likes me, but he's not in-like with me."- Connie, King of the Hill [HTTP://www.JTSage.com] [HTTP://design.JTSage.com] [EMAIL PROTECTED] [See Headers for Contact Info] signature.asc Description: OpenPGP digital signature
Re: php4
On Thu, Aug 19, 2004 at 12:06:52PM -0400, Jonathan T. Sage wrote: > > > Mark wrote: > > >after a portupgrade I have lost mysql support with php4. > >I have pkg_deinstalled did a make--with-mysql=/usr/local/bin/mysql > >and pkg_reinstall but no support. Then portupgrade -m > >--with-mysql=/usr/local/bin/mysql php4. Then pkg_delete did make > >--with-mysql=/usr/local/bin/mysql then make install still no support. > >Mysql is there and working, logins work from command line and data is > >there. But from apache php is working but with no mysql support, phpinfo > >shows no mysql module loaded. > >A whereis gave me the /usr/local/bin/mysql, What would be the proper way > >to add support > >with php4 already installed?? > > Mark : > > per ports/UPDATING: > > 20040719: > AFFECTS: users of PHP > AUTHOR: [EMAIL PROTECTED] > > The old lang/php4 and lang/php5 ports have been splitted into 'base' > PHP, PEAR, and shared extensions to allow more flexibility and add new > features. Upgrading your current PHP installation will result in a > 'base' PHP installation (no PEAR and no extensions). PEAR can be found > in the new devel/php4-pear and devel/php5-pear ports, while the set of > PHP extensions to install can be choosen via the meta-ports > lang/php4-extensions and lang/php5-extensions, or installing singular > extensions individually. If you have a previous php.ini configuration > file, be sure to comment out the extension_dir parameter, since the > correct path is statically compiled into the PHP binary. For an overview > of the modules used with the old PHP binary, use the command "php -m". > > installing lang/php4-extensions should be helpful. > > hope this helps, Thanks noobie lession 08/19/2004 read UPDATING. =) > > ~j > > -- > Jonathan T. Sage > Theatrical Lighting / Set Designer > Professional Web Design > > "He said he likes me, but he's not in-like with me."- Connie, King of > the Hill > > [HTTP://www.JTSage.com] > [HTTP://design.JTSage.com] > [EMAIL PROTECTED] > [See Headers for Contact Info] -- == The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee. Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful. If you have received this communication in error, please notify the sender immediately. == ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4 + mhash
how do I tell the php4 port to include mhash? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4-extentions
===> Vulnerability check disabled, database not found ===> Found saved configuration for php4-extensions-1.0 ===> Extracting for php4-extensions-1.0 Where's the configuration saved? I need to reconfigure it.. -- Chris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4-extensions
Hello everybody, i have a brand new 5.3 installation on a machine that will act as a web server. I installed php4-cli ... good .. but when i try to install php4-extension (mysql, mssql, etc ...) an get an error. I tried to install php4-extension on another machine ... that is also 5.3 and i get the same result : ===> PHPizing for pecl-fileinfo-0.2 autoheader253: `config.h.in' is unchanged Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 ===> Configuring for pecl-fileinfo-0.2 configure: WARNING: you should use --build, --host, --target checking build system type... i386-portbld-freebsd5.3 checking host system type... i386-portbld-freebsd5.3 checking for i386-portbld-freebsd5.3-gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking whether cc understands -c and -o together... yes checking if compiler supports -R... yes checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM checking for PHP extension directory... /usr/local/lib/php/20020429 checking for re2c... exit 0; checking for gawk... no checking for mawk... no checking for nawk... nawk checking for fileinfo support... yes, shared checking for magic files in default path... not found configure: error: Please reinstall the libmagic distribution ===> Script "configure" failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the "/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-0.2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/sysutils/pecl-fileinfo. *** Error code 1 Stop in /usr/ports/lang/php4-extensions. I searched the google and i found something about libmagic and to reinstall it. But i cannot find such a package/port . Anyone bump into this ??? Thanks Cristi --- This message and its contents have been scanned and certified for transmission as being free from malicious code by <>. This message may contain confidential, privileged or other legally protected information. It is intended for the addressee(s) only. If you are not the addressee, or someone the addressee authorized to receive this message, you are prohibited from copying, distributing or otherwise using it. Please notify the sender and return it.Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Sunday 30 November 2003 12:01 am, Gary Kline wrote: > Looks like I'm missing /usr/local/bin/php, and lang/php4 > is broken. I already have the mod_php4 port installed-- > and working. FUDforums2 is looking for the php bnary, > if I'm interpreting the installation message correctly. > > Any advice, now that the code freeze is on? > > gary I just did complete installs of php/apache/mysql/postgresql from ports (that were pulled just this evening) about 2-3 hours ago. No problems installing them. Make sure you have the latest ports... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Sun, Nov 30, 2003 at 01:23:33AM -0500, Gerard Samuel wrote: > On Sunday 30 November 2003 12:01 am, Gary Kline wrote: > > Looks like I'm missing /usr/local/bin/php, and lang/php4 > > is broken. I already have the mod_php4 port installed-- > > and working. FUDforums2 is looking for the php bnary, > > if I'm interpreting the installation message correctly. > > > > Any advice, now that the code freeze is on? > > > > gary > > I just did complete installs of php/apache/mysql/postgresql from > ports (that were pulled just this evening) about 2-3 hours ago. > No problems installing them. > Make sure you have the latest ports... > I upgrade ports evry night so my ports tree is current. Another look at the php4 build clued me in. It was a one-line hack to the Makefile... . -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Sat, Nov 29, 2003 at 09:01:22PM -0800, Gary Kline wrote: > > Looks like I'm missing /usr/local/bin/php, and lang/php4 > is broken. I already have the mod_php4 port installed-- > and working. FUDforums2 is looking for the php bnary, > if I'm interpreting the installation message correctly. > > Any advice, now that the code freeze is on? Hmmm... % pkg_info -W /usr/local/bin/php /usr/local/bin/php was installed by package php4-4.3.4_2 % pkg_info -W /usr/local/libexec/apache/libphp4.so /usr/local/libexec/apache/libphp4.so was installed by package php4-4.3.4_2 I guess if you rip out www/mod_php4 and install lang/php4 instead, you'll get all of the bits you need. When you say 'lang/php4' is broken -- how so? I haven't had any trouble installing it from ports. It does have CONFLICTS settings so you can't install it simultaneously with any of the other php4 or php5 ports. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: php4...
On Sunday 30 November 2003 08:54, Gary Kline wrote: > Another look at the php4 build clued me in. It was a > one-line hack to the Makefile... . You shouldn't hack the Makefile, cause now you have both www/mod_php4 and lang/php4 installed and screwed up dependencies. You should uninstall www/mod_php4 (just force it). Then install lang/php4. The lang/php4 port will check for the existence of an apache installation and install the apache module (which is www/mod_php4) accordingly. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
On Sun, Nov 30, 2003 at 01:40:07PM +0100, Melvyn Sopacua wrote: > On Sunday 30 November 2003 08:54, Gary Kline wrote: > > > Another look at the php4 build clued me in. It was a > > one-line hack to the Makefile... . > > You shouldn't hack the Makefile, cause now you have both www/mod_php4 and > lang/php4 installed and screwed up dependencies. > > You should uninstall www/mod_php4 (just force it). Then install lang/php4. > > The lang/php4 port will check for the existence of an apache installation and > install the apache module (which is www/mod_php4) accordingly. Thanks for your help. Last May when I first started working with php another genteman said to forget lang/php4 and just install mod_php4. This worked for awhile. Now that I'm trying to merge php with mysql || postresql, things are more complcated. gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Sun, Nov 30, 2003 at 10:03:16AM +, Matthew Seaman wrote: > On Sat, Nov 29, 2003 at 09:01:22PM -0800, Gary Kline wrote: > > > > Looks like I'm missing /usr/local/bin/php, and lang/php4 > > is broken. I already have the mod_php4 port installed-- > > and working. FUDforums2 is looking for the php bnary, > > if I'm interpreting the installation message correctly. > > > > Any advice, now that the code freeze is on? > > Hmmm... > > % pkg_info -W /usr/local/bin/php > /usr/local/bin/php was installed by package php4-4.3.4_2 > % pkg_info -W /usr/local/libexec/apache/libphp4.so > /usr/local/libexec/apache/libphp4.so was installed by package php4-4.3.4_2 > > I guess if you rip out www/mod_php4 and install lang/php4 instead, > you'll get all of the bits you need. When you say 'lang/php4' is > broken -- how so? I haven't had any trouble installing it from ports. > It does have CONFLICTS settings so you can't install it simultaneously > with any of the other php4 or php5 ports. > Melvyn Sopacua's advice resolved this php4 snafu. lang/php4 comes first, mod_php4 falls into place cleanly. The problem now (with BBS software not in the ports tree) is that my mysql4 and postgresql7 are not visible ... . The fudforum2/install.php script displays:: FUDforum can utilize either MySQL or PosgreSQL database to store it's data, unfortunately, your PHP does not have support for either one. Please install or load the appropriate database extension and then re-run the install script. Similar things happen with phorum-3.4.4. I've set up database hooks in both databases, but because the screen goes unpredictably blank I'm evidently messing up with my db hooks. thanks, gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Sunday 30 November 2003 21:13, Gary Kline wrote: > On Sun, Nov 30, 2003 at 01:40:07PM +0100, Melvyn Sopacua wrote: > > On Sunday 30 November 2003 08:54, Gary Kline wrote: > > > Another look at the php4 build clued me in. It was a > > > one-line hack to the Makefile... . > > > > You shouldn't hack the Makefile, cause now you have both www/mod_php4 and > > lang/php4 installed and screwed up dependencies. > > > > You should uninstall www/mod_php4 (just force it). Then install > > lang/php4. > > > > The lang/php4 port will check for the existence of an apache installation > > and install the apache module (which is www/mod_php4) accordingly. > > Thanks for your help. Last May when I first started working > with php another genteman said to forget lang/php4 and > just install mod_php4. This worked for awhile. Now that > I'm trying to merge php with mysql || postresql, things are > more complcated. If somebody tells you to 'forget about something', the next question should be 'why?' :). www/mod_php4: ONLY the apache module. www/php4-cgi: ONLY the CGI module lang/mod_php4-cli: ONLY the Command Line Interface lang/php4: By default the CLI module and if 'apxs' is found it will install the apache module as well. Since you now need both the CLI as well as the apache module, you should uninstall www/mod_php4 and install lang/php4. As a side note: Having a php-cli available for cronjobs is *very* convenient, that's why I always go with that port even when I've got no immediate use for it. Last time I checked www/phpgroupware requires it for cleanups and sending out alerts. Additionally you can run the test suite: cd /usr/ports/lang/php4 && make test which will identify possible problems in your setup. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
On Sunday 30 November 2003 03:39 pm, Gary Kline wrote: >Melvyn Sopacua's advice resolved this php4 snafu. lang/php4 >comes first, mod_php4 falls into place cleanly. The problem >now (with BBS software not in the ports tree) is that my >mysql4 and postgresql7 are not visible ... . > >The fudforum2/install.php script displays:: > > >FUDforum can utilize either MySQL or PosgreSQL database to store it's >data, unfortunately, your PHP does not have support for either one. >Please install or load the appropriate database extension and then >re-run the install script. > > Similar things happen with phorum-3.4.4. > I've set up database hooks in both databases, but because > the screen goes unpredictably blank I'm evidently messing > up with my db hooks. When I ran make install in lang/php4, I was presented with a page, to select extentions. Of which mysql is on by default, and you can select postgresql if needed to. I currently have both running smoothly with php without any problems. Just remembered... The latest php port installs postgresql-client-7.3.4_1 I had to install postgresql-7.3.4_1 separately. But for mysql it should already be in there. Create yourself a phpinfo() page and see what what with your install... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Sun, Nov 30, 2003 at 12:39:07PM -0800, Gary Kline wrote: >The fudforum2/install.php script displays:: > > >FUDforum can utilize either MySQL or PosgreSQL database to store it's >data, unfortunately, your PHP does not have support for either one. >Please install or load the appropriate database extension and then >re-run the install script. > > Similar things happen with phorum-3.4.4. > I've set up database hooks in both databases, but because > the screen goes unpredictably blank I'm evidently messing > up with my db hooks. Errr -- did you compile php4 with mysql and/or pg support? What does return? You may also need the PEAR DB abstraction layer: try installing the databases/pear-DB port. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: php4...
On Sunday 30 November 2003 21:39, Gary Kline wrote: >FUDforum can utilize either MySQL or PosgreSQL database to store it's >data, unfortunately, your PHP does not have support for either one. >Please install or load the appropriate database extension and then >re-run the install script. From the Makefile: # There are many ways to select which extensions you want to enable, either # in interactive mode or in batch mode. # # By default, the enabled extensions are: CTYPE, MYSQL, OVERLOAD, PCRE, POSIX, # SESSION, TOKENIZER, XML and ZLIB. This behaviour can be changed overriding # the PHP4_OPTIONS variable (e.g. PHP4_OPTIONS="EXT1 EXT2 EXT3"). # # Another way is to use the WITH_ and WITHOUT_ knobs, for additional # and default extensions respectively (implies batch mode). # # The last way reads an "extension" file, located in ~/php4_options (the # location is overridable by the PHP4_OPTFILE variable). You may find an # example in scripts/php4_options (interactive mode only). If you make sure that no 'WITH_*' variables are set (check MAKE_ARGS in /usr/ local/etc/pkgtools.conf if you're using portupgrade and/or /etc/make.conf) then attached file, placed as /root/php4_options will get you a php installation, that will most probably forfill your needs. You will get a screen (if you don't, then there's still a WITH_* variable defined somewhere or the variable 'BATCH') which allows you to add/delete modules, the same way that /stand/sysinstall does it. Adjust as necessary. After you're done installing, the actual file (ie: with the changes you made) now resides in: /usr/ports/lang/php4/scripts/php4_options Copy that over to /root/php4_options and the next time you upgrade/install the dialog will contain your defaults and you can just select 'OK'. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === WITH_BCMATH=OFF WITH_BZIP2=ON WITH_CALENDAR=ON WITH_CDB=OFF WITH_CRACK=OFF WITH_CTYPE=ON WITH_CURL=ON WITH_DB4=OFF WITH_DBASE=OFF WITH_DBX=OFF WITH_DOMXML=ON WITH_DOMXSLT=ON WITH_EXIF=ON WITH_FILEPRO=OFF WITH_FRIBIDI=OFF WITH_FTP=ON WITH_GD=ON WITH_GDBM=OFF WITH_GETTEXT=ON WITH_GMP=OFF WITH_HYPERWAVE=OFF WITH_ICONV=ON WITH_IMAP=OFF WITH_INIFILE=ON WITH_INTERBASE=OFF WITH_MBSTRING=ON WITH_MCAL=OFF WITH_MCVE=OFF WITH_MCRYPT=ON WITH_MHASH=ON WITH_MIME=ON WITH_MING=ON WITH_MNOGOSEARCH=OFF WITH_MYSQL=ON WITH_NCURSES=ON WITH_OPENLDAP=ON WITH_OPENSSL=ON WITH_ORACLE=OFF WITH_OVERLOAD=ON WITH_PCNTL=ON WITH_PCRE=ON WITH_PDFLIB=ON WITH_POSIX=ON WITH_POSTGRESQL=OFF WITH_PSPELL=OFF WITH_READLINE=OFF WITH_RECODE=OFF WITH_SESSION=ON WITH_SHMOP=OFF WITH_SNMP=OFF WITH_SOCKETS=ON WITH_SYBASEDB=OFF WITH_SYBASECT=OFF WITH_SYSVSEM=OFF WITH_SYSVSHM=OFF WITH_TOKENIZER=ON WITH_UNIXODBC=OFF WITH_WDDX=OFF WITH_XML=ON WITH_XMLRPC=ON WITH_XSLT=OFF WITH_YAZ=OFF WITH_YP=OFF WITH_ZIP=ON WITH_ZLIB=ON pgp0.pgp Description: signature
Re: php4...
On Sunday 30 November 2003 21:53, Matthew Seaman wrote: > You may also need the PEAR DB abstraction layer: try installing the > databases/pear-DB port. That's FUD :) IE: FUDforum doesn't require PEAR::DB. http://fud.prohost.org/doc/d/html/installation.html#install.verify.config -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
On Sunday 30 November 2003 22:01, Melvyn Sopacua wrote: > Adjust as necessary. After you're done installing, the actual file (ie: > with the changes you made) now resides in: > /usr/ports/lang/php4/scripts/php4_options > > Copy that over to /root/php4_options and the next time you upgrade/install > the dialog will contain your defaults and you can just select 'OK'. While I just hacked together a possible solution for this problem, I noticed I made an error here. The scripts/php4_options file is just a default and is not modified. The modifications are written to work/Makefile.inc and have a different form than the options file. Basically - you need to remember yourself which modifications you made and modify /root/php4_options yourself. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
On Sun, Nov 30, 2003 at 10:53:43PM +0100, Melvyn Sopacua wrote: > On Sunday 30 November 2003 22:01, Melvyn Sopacua wrote: > > > Adjust as necessary. After you're done installing, the actual file (ie: > > with the changes you made) now resides in: > > /usr/ports/lang/php4/scripts/php4_options > > > > Copy that over to /root/php4_options and the next time you upgrade/install > > the dialog will contain your defaults and you can just select 'OK'. > > While I just hacked together a possible solution for this problem, I noticed I > made an error here. > > The scripts/php4_options file is just a default and is not modified. The > modifications are written to work/Makefile.inc and have a different form than > the options file. > > Basically - you need to remember yourself which modifications you made and > modify /root/php4_options yourself. > Yipes! No wonder no FUD port has been done! I have a one-line php test file in /usr/local/www/data/hello.php; *with* mod_php4, several pages of system data shows up, but with only php4, I have the option to Download or Cancell. This is using lynx. With mod_php4 and pointing mozilla at localhost/~kline/FUDforum2/install.php a frame pops up and asks what I want to do with the file. If I "download", the installation file winds up in ~kline. If I point php at it from the CLI:: pp 17:23 [2344] php install.php FUDforum can utilize either MySQL or PosgreSQL database to store it's data, unfortunately, your PHP does not have support for either one. Please install or load the appropriate database extension and then re-run the install script. So, looks like I'm still going in circles. Got to be something simple... maybe!! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Sunday 30 November 2003 08:29 pm, Gary Kline wrote: > Yipes! No wonder no FUD port has been done! > > I have a one-line php test file in /usr/local/www/data/hello.php; > *with* mod_php4, several pages of system data shows up, but > with only php4, I have the option to Download or Cancell. > This is using lynx. > > With mod_php4 and pointing mozilla at > localhost/~kline/FUDforum2/install.php a frame pops up and asks > what I want to do with the file. If I "download", the installation > file winds up in ~kline. Im guessing its Apache. You should have these entries in /usr/local/etc/apache/httpd.conf and if not, enter them and restart apache -> LoadModule php4_modulelibexec/apache/libphp4.so AddModule mod_php4.c DirectoryIndex index.php index.php3 index.html index.htm DirectoryIndex index.php3 index.html DirectoryIndex index.php index.html DirectoryIndex index.html AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .php3s AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Monday 01 December 2003 02:29, Gary Kline wrote: > Yipes! No wonder no FUD port has been done! You mean this? (I'm still trying to improve this, but need a hack on bsd.php.mk to make it more user-friendly). Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ fudforum.sh. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
[ inlined since it was stripped ] On Monday 01 December 2003 02:29, Gary Kline wrote: > Yipes! No wonder no FUD port has been done! You mean this? (I'm still trying to improve this, but need a hack on bsd.php.mk to make it more user-friendly). Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ fudforum.sh. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # pkg-descr # pkg-message # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: FUDForum X# Date created:30 Nov 2003 X# Whom:Melvyn Sopacua X# X# $Id$ X# $FreeBSD$ X# X XPORTNAME= fudforum XPORTVERSION= 2.6.0.r8 XCATEGORIES=www XMASTER_SITES= http://fud.prohost.org/download/ X# http://fud.prohost.org/download/FUDforum_zl_2-6-0RC8.tar.bz2 XDISTNAME= FUDforum_zl_${PORTVERSION:S/.r/RC/:S/./-/g} X XMAINTAINER=[EMAIL PROTECTED] XCOMMENT= A robust, fully customizable and extremely scalable forums package X XWRKSRC=${WRKDIR}/FUDforum2 XNO_BUILD= yes XUSE_BZIP2= yes X XFUDDIR?= www/data-dist/${PORTNAME} XPLIST_SUB+=FUDDIR=${FUDDIR} XDB_TYPE?= mysql4 X X.if ${DB_TYPE} == "mysql4" XLIB_DEPENDS+= mysqlclient.12:${PORTSDIR}/databases/mysql40-client X.else X.if ${DB_TYPE} == "mysql3" XLIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client X.else X.if ${DB_TYPE} == "pgsql" XLIB_DEPENDS+= pq:${PORTSDIR}/databases/postgresql-client X.endif X.endif X.endif XWANT_PHP_CLI= yes XWANT_PHP_WEB= yes X XFUDDOCS= COPYING CREDITS README X X.include X.include "${.CURDIR}/../../lang/php4/bsd.php.mk" X Xpre-extract: X @${ECHO_MSG} "You can select the Database to use by defining DB_TYPE" X @${ECHO_MSG} "Default: mysql4" X @${ECHO_MSG} "" X @${ECHO_MSG} "You can select the installation directory by setting" X @${ECHO_MSG} "FUDDIR relative to ${PREFIX}" X @${ECHO_MSG} "Default: www/data-dist/${PORTNAME}" X @${ECHO_MSG} "" X Xdo-install: X @${MKDIR} ${PREFIX}/${FUDDIR} X ${CP} ${WRKSRC}/*.php ${PREFIX}/${FUDDIR} X.if !defined(NOPORTDOCS) X @${ECHO_MSG} "Installing Documentation into ${DOCSDIR}" X @${ECHO_MSG} "" X @${MKDIR} ${DOCSDIR} X.for f in ${FUDDOCS} X @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}/ X.endfor X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (FUDforum_zl_2-6-0RC8.tar.bz2) = e5543f56b961c840c2de9abdc59ef714 END-of-distinfo echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XFUDforum is a highly customizable forum package, with a large feature set. The Xeasy to use administration control panel allows the administrator to easily Xconfigure and control the many features available. The forum also includes an Xinteractive help package, which helps to familiarize users with the full Xpotential of FUDforum. X XWWW: http://fud.prohost.org/ END-of-pkg-descr echo x - pkg-message sed 's/^X//' >pkg-message << 'END-of-pkg-message' X* X* Installation Instructions * X* X X1) This step applies ONLY to users who's PHP has a memory limit. X X Make sure that the directory the install script is in is either writable by X the webserver or that a "fudforum_archive" file exists and is writable by X the webserver. The latter applies only to users on servers WITHOUT X safe_mode. X X2) Using your web browser run the install.php script. In a default install, X run: X http://localhost/fudforum/install.php X X3) The install wizard will then take you through 5 steps at the end of which X you will have a working FUDforum installed on your server. X X* X* Uninstall Instructions * X* X XRun the uninstall.php script PRIOR to pkg_delete/pkg_deinstall to remove the Xdirectories and files created by the install.php script. X END-of-pkg-message echo x - pkg-plist sed &
Re: php4...
On Sun, Nov 30, 2003 at 09:12:03PM -0500, Gerard Samuel wrote: > On Sunday 30 November 2003 08:29 pm, Gary Kline wrote: > > Yipes! No wonder no FUD port has been done! > > > > I have a one-line php test file in /usr/local/www/data/hello.php; > > *with* mod_php4, several pages of system data shows up, but > > with only php4, I have the option to Download or Cancell. > > This is using lynx. > > > > With mod_php4 and pointing mozilla at > > localhost/~kline/FUDforum2/install.php a frame pops up and asks > > what I want to do with the file. If I "download", the installation > > file winds up in ~kline. > > Im guessing its Apache. > You should have these entries in /usr/local/etc/apache/httpd.conf and if not, > enter them and restart apache -> > > LoadModule php4_modulelibexec/apache/libphp4.so > > AddModule mod_php4.c > > > [[ ... ]] > > I thought I had these and I do; I dropped these in last May... -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Mon, Dec 01, 2003 at 03:39:37AM +0100, Melvyn Sopacua wrote: > On Monday 01 December 2003 02:29, Gary Kline wrote: > > > Yipes! No wonder no FUD port has been done! > > You mean this? > > (I'm still trying to improve this, but need a hack on bsd.php.mk to make it > more user-friendly). > > Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ > fudforum.sh. > > -- > Melvyn > "fudforum.sh"?? Hm, looks like I grabbed the wrong .bz2 tarball. Can you point me at the right URL and which files to download? I have FUD 2.0.6RC7. Figured that should be stable enough... thanks much. gary PS: tar - tyvf yields:: pp 19:45 [2354] tar -tyvf FUDforum_zl_2-6-0RC7.tar.bz2 drwxr-xr-x forum/hosting 0 Nov 21 08:57 2003 FUDforum2/ -rw-r--r-- forum/hosting 18395 Jun 17 16:00 2002 FUDforum2/COPYING -rw-r--r-- forum/hosting 2360 Jun 5 16:07 2003 FUDforum2/CREDITS -rw-r--r-- forum/hosting 1736 Jul 30 18:26 2003 FUDforum2/README -rw-r--r-- forum/hosting 5428 Oct 9 07:34 2003 FUDforum2/uninstall.php -rw-r--r-- forum/hosting 1378855 Nov 21 08:57 2003 FUDforum2/install.php -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Monday 01 December 2003 04:50, Gary Kline wrote: > On Mon, Dec 01, 2003 at 03:39:37AM +0100, Melvyn Sopacua wrote: > > On Monday 01 December 2003 02:29, Gary Kline wrote: > > > Yipes! No wonder no FUD port has been done! > > > > You mean this? > > > > (I'm still trying to improve this, but need a hack on bsd.php.mk to make > > it more user-friendly). > > > > Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ > > fudforum.sh. > > > > -- > > Melvyn > > "fudforum.sh"?? Hm, looks like I grabbed the wrong .bz2 No - the mailinglist software stripped the attachment. It was a shar archive (see my message 5 minutes later), which is commonly used to distribute new ports or proposals for that. What I did after I proposed this software to you, is create a port for it, and find out for myself what issues would arise if a port would be created. It's a pretty straight-forward port actually which doesn't need much magic. The only annoying thing is that there's no way currently for a port to determine which php extensions have actually been compiled into php, other then guessing "if the mysql library is there, then probably the php build has the mysql extension as well", which is not necessarily the case. -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29 00:15:33 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 === pgp0.pgp Description: signature
Re: php4...
On Mon, Dec 01, 2003 at 05:06:38AM +0100, Melvyn Sopacua wrote: > On Monday 01 December 2003 04:50, Gary Kline wrote: > > On Mon, Dec 01, 2003 at 03:39:37AM +0100, Melvyn Sopacua wrote: > > > On Monday 01 December 2003 02:29, Gary Kline wrote: > > > > Yipes! No wonder no FUD port has been done! > > > > > > You mean this? > > > > > > (I'm still trying to improve this, but need a hack on bsd.php.mk to make > > > it more user-friendly). > > > > > > Oh - just create /usr/ports/www/fudforum, cd into it and sh /path/to/ > > > fudforum.sh. > > > > > > -- > > > Melvyn > > > > "fudforum.sh"?? Hm, looks like I grabbed the wrong .bz2 > > No - the mailinglist software stripped the attachment. It was a shar archive > (see my message 5 minutes later), which is commonly used to distribute new > ports or proposals for that. What I did after I proposed this software to > you, is create a port for it, and find out for myself what issues would arise > if a port would be created. It's a pretty straight-forward port actually > which doesn't need much magic. > > The only annoying thing is that there's no way currently for a port to > determine which php extensions have actually been compiled into php, other > then guessing "if the mysql library is there, then probably the php build has > the mysql extension as well", which is not necessarily the case. > From the "3-D" dos-style window that appears during php4 and mod_php4, both have mysql as defalt extensions. (postgresql7 is not a default, so I added it.) I'd like to have at least a few opensrc BBS/message board suites available for FBSD. phpbb and phorum are two I've tried. After a week of mis-tries (last May) I finally got phpbb-2.0.4 working. phpbb died inexplicably when I upgraded a week ago. The trouble with phorum is that my browser display goes white after only the first two or three installation steps. Can you send me a tarball of your port off-list? gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
# [EMAIL PROTECTED] / 2003-11-30 21:48:49 +0100: > On Sunday 30 November 2003 21:13, Gary Kline wrote: > > On Sun, Nov 30, 2003 at 01:40:07PM +0100, Melvyn Sopacua wrote: > > > On Sunday 30 November 2003 08:54, Gary Kline wrote: > > > > Another look at the php4 build clued me in. It was a > > > > one-line hack to the Makefile... . > > > > > > You shouldn't hack the Makefile, cause now you have both www/mod_php4 and > > > lang/php4 installed and screwed up dependencies. > > > > > > You should uninstall www/mod_php4 (just force it). Then install > > > lang/php4. > > > > > > The lang/php4 port will check for the existence of an apache installation > > > and install the apache module (which is www/mod_php4) accordingly. > > > > Thanks for your help. Last May when I first started working > > with php another genteman said to forget lang/php4 and > > just install mod_php4. This worked for awhile. Now that > > I'm trying to merge php with mysql || postresql, things are > > more complcated. > > If somebody tells you to 'forget about something', the next question should be > 'why?' :). because installing www/mod_php4 alongside lang/php4-cli allows you to have different features enabled in the two? -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4...
On Mon, Dec 01, 2003 at 03:16:09PM +0100, Roman Neuhauser wrote: > > > > > > Thanks for your help. Last May when I first started working > > > with php another genteman said to forget lang/php4 and > > > just install mod_php4. This worked for awhile. Now that > > > I'm trying to merge php with mysql || postresql, things are > > > more complcated. > > > > If somebody tells you to 'forget about something', the next question should be > > 'why?' :). > > because installing www/mod_php4 alongside lang/php4-cli allows you > to have different features enabled in the two? > I admit up-front to not understanding the exact differences between php4 and mod_php4. But without the latter, my browser wants to dl *.php files. If there are tutorials on these I would be much obliged for pointers to them!! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
install PHP4
Hi guys I want to install PHP4 from the ports tree, but when I try to do it I get a menu that doesn't have te option I need , I want to add tds support to my php installation,. How can I add that option to this menu? or how can I install it ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: php4
Well this should really be on -questions, I'll forward it there. This is a huge config file but iff I am reading it correctly then what the problem probably is; is SSL. Mod_php4 only gets loaded if you define SSL. It may be that ssl is not defined. So try it by moving the LoadModule php4_modulelibexec/apache/libphp4.so line to outside of the tags. Then restart apache and see if that does it. If not take a look and see if mod_mime is getting loaded properly. You may also want to check the extension of you test php file. At the moment it will only pick up files with a .php extension and not ones with a .php3 or .php4 extension. If none of these work, post back to -questions and somebody there who is far smarter than me shall help you. Original Message- From: Bangle Bot [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 9:57 AM To: [EMAIL PROTECTED] Subject: php4 H, I installed php4 from the ports collecthing worked great, but when I looked at a php page in my browser only the source came out and didn't start the php program. Is it a problem if i didn't compile php3? Of course I restarted apache after the install... Please help. Here is my httpd.conf file: ## ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See http://www.apache.org/docs/> for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # After this file is processed, the server will look for and process # /usr/local/conf/srm.conf and then /usr/local/conf/access.conf # unless you have overridden these with ResourceConfig and/or # AccessConfig directives here. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" # with ServerRoot set to "/usr/local/apache" will be interpreted by the # server as "/usr/local/apache/logs/foo.log". # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. Inetd mode is only supported on # Unix platforms. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at http://www.apache.org/docs/mod/core.html#lockfile>); # you will save yourself a lot of trouble. # ServerRoot "/usr/local" # # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. # #LockFile /var/run/httpd.lock # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. But if yours does (you'll know because # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # ScoreBoardFile /var/run/httpd.scoreboard # # In the standard configuration, the server will process httpd.conf (this # file, specified by the -f command line option), srm.conf, and acces
php4 extensions
Hi all, IU ran the php4-extensions a while back, but now a client is asking for curl to be installed. When I run php4-extensions, it says that it (php4-extensions) is already installed. How to I reconfigure it to load the GUI so I can install curl? Als0, I presume after that php4 will have to be re maked and installed to include the curl libraries? I am using php as a dynamic mod in Apache (2.1) if that makes and difference. -Thanks, Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PHP4 + odbc
Hi, I installed php4-odbc-4.4.2_2 and apache-2.0.55_4 via ports on FreeBSD 5.4-STABLE. The relevant part of the phpinfo() follows: odbc ODBC Supportenabled Active Persistent Links 0 Active Links0 ODBC libraryno value ODBC_INCLUDEno value ODBC_LFLAGS no value ODBC_LIBS no value Is it correct? Because I cannot connect to the database. I get 'Zero Sized Reply' into the browser. On the Linux machine with php5 I get odbc ODBC Supportenabled Active Persistent Links 0 Active Links0 ODBC libraryunixODBC ODBC_INCLUDE-I/usr/include ODBC_LFLAGS -L/usr/lib ODBC_LIBS -lodbc I installed the php4-odbc-4.4.2_2 via: cd /usr/ports/databases/php4-odbc ; make ; make install and edited /usr/local/etc/odbc.ini and /usr/local/etc/odbcinst.ini Am I missing something? What I am doing wrong? Thank you very much for any hints. Regards, lk PS: I googled and didn't find anything relevant... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4-gd
Hello, I have on some web servers php4-gd port installed and I am totally confused. Portaudit says Affected package: php4-gd-4.4.9 Type of problem: gd -- '_gdGetColors' remote buffer overflow vulnerability. Reference: <http://portaudit.FreeBSD.org/4e8344a3-ca52-11de-8ee8-00215c6a37bb.html> On this site is info about: 5.2.11 and 5.3.0 On Securityfocus is info also about 4.4.9 but on cve.mitre.org is not. Any idea where is the true? Are my servers with php4-gd are secure or not? Regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
php4 + php5
Using a single Apache 1.3.x install, is there a way to install both mod_php4 + mod_php5 together? I can't just upgrade to php5: not every webboard and such accepts php5 yet. On some dirs (or per vhost) I like the Apache server to use php5, though. Thanks, - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PHP4 v. php4-4.4.7_2 refuse to upgrade …
On Wednesday 03 October 2007, bsd said: > Hello, > > > I am using > > FreeBSD xxx.fr 5.5-RELEASE-p9 FreeBSD 5.5-RELEASE-p9 #1: Thu Dec 14 > 11:39:18 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ > GENERIC i386 > > > When trying to upgrade from php php4-4.4.7_1 to php4-4.4.7_2 there > is this strange error… > > > Updating the pkgdb in /var/db/pkg ... - 209 > packages found (-3 +1) (...). done] > ---> Upgrading 'php4-4.4.7_1' to 'php4-4.4.7_2' (lang/php4) > ---> Building '/usr/ports/lang/php4' > ===> Cleaning for autoconf-2.61_2 > ===> Cleaning for php4-4.4.7_2 > ===> php4-4.4.7_2 has known vulnerabilities: > => php -- multiple vulnerabilities. > Reference: <http://www.FreeBSD.org/ports/portaudit/ > 71d903fc-602d-11dc-898c-001921ab2fa4.html> > => Please update your ports tree and try again. > *** Error code 1 > > Stop in /usr/ports/lang/php4. > *** Error code 1 > > Stop in /usr/ports/lang/php4. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade. 24846.54 env UPGRADE_TOOL=portupgrade > UPGRADE_PORT=php4-4.4.7_1 UPGRADE_PORT_VER=4.4.7_1 make > ** Fix the problem and try again. > > > I don't understand because my port tree is up to date !! > > Any idea ? Yes it means that the port you're trying to update to has security issues. If you're feeling lucky you can do: portupgrade -m DISABLE_VULNERABILITIES=yes php But it's not a good idea. If you build it anyway and get hacked, don't say you weren't warned ;-) Beech -- --- Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://www.freebsd.org X - NO Word docs in e-mail | Latest Release: / \ - http://www.FreeBSD.org/releases/6.2R/announce.html --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP4 v. php4-4.4.7_2 refuse to upgrade …
On Thursday 04 October 2007 22:44:55 Kevin Kinsey wrote: > I'd advise moving to PHP5 now. It doesn't hurt much. That's a loaded statement. "It didn't hurt much for me" would be more to the point. I'm also advising to move to PHP 5, but don't just install it and wait for your customers/vistors to call with their problems. There's a few extensions that have been abandoned, if you use one of those, you're in for a surprise - also some functions behave slightly different. I'd do some solid research first or better, copy your apps to a test machine running php 5, test everything, then let your peers test everything and then let a spider crawl through it. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP4 v. php4-4.4.7_2 refuse to up grade …
Beech Rintoul wrote: On Wednesday 03 October 2007, bsd said: Hello, I am using FreeBSD xxx.fr 5.5-RELEASE-p9 FreeBSD 5.5-RELEASE-p9 #1: Thu Dec 14 11:39:18 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ GENERIC i386 When trying to upgrade from php php4-4.4.7_1 to php4-4.4.7_2 there is this strange error… Updating the pkgdb in /var/db/pkg ... - 209 packages found (-3 +1) (...). done] ---> Upgrading 'php4-4.4.7_1' to 'php4-4.4.7_2' (lang/php4) ---> Building '/usr/ports/lang/php4' ===> Cleaning for autoconf-2.61_2 ===> Cleaning for php4-4.4.7_2 ===> php4-4.4.7_2 has known vulnerabilities: => php -- multiple vulnerabilities. Reference: <http://www.FreeBSD.org/ports/portaudit/ 71d903fc-602d-11dc-898c-001921ab2fa4.html> => Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade. 24846.54 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php4-4.4.7_1 UPGRADE_PORT_VER=4.4.7_1 make ** Fix the problem and try again. I don't understand because my port tree is up to date !! Any idea ? Yes it means that the port you're trying to update to has security issues. If you're feeling lucky you can do: portupgrade -m DISABLE_VULNERABILITIES=yes php But it's not a good idea. If you build it anyway and get hacked, don't say you weren't warned ;-) PHP4 is EOL; the fact that 4.4.7-2 has vulnerabilities is only surprising because it's still listed as the latest "historical" PHP release on php.net, and they have promised on the front page to continue to support PHP4 until the end of the year. One can't judge without further research, but perhaps the development team is dragging their feet on purpose for some reason, or they've maybe handed PHP4 off to a couple of junior guys who are pulling their hair out on it? All conjecture. I'd advise moving to PHP5 now. It doesn't hurt much. Main thing I remember is that short_tags=off and I had to replace quite a few of those Kevin Kinsey -- English literature's performing flea. -- Sean O'Casey on P. G. Wodehouse ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing php4
Drew Marshall wrote: Hi all I have been trying to install php4 (On FreeBSD 5.2.1, cvsuped ports tree, php4-4.3.8_1, I have tried both the mod_php4 and lang/php4) and the full menu options seem to have disappeared. When I run make install I get a 3 line menu offering to allow me to install for apache2 instead of apache 1.3.x, to enable debugging and use IPv6. I have no options to configure the build process. If I allow the build to continue Apache grumbles that it can't find variable session( ), which would suggest PHP is not compiled with session support. What am I doing wrong? What has changed? Major revision to the port, for reasons that I don't find very obvious. However, you need lang/php4-extensions or the mod_php equivalent. Peter. Thanks for your help Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing php4
On Sat, Jul 24, 2004 at 10:35:10AM +0100, Peter Risdon wrote: > Drew Marshall wrote: > >I have been trying to install php4 (On FreeBSD 5.2.1, cvsuped ports > >tree, php4-4.3.8_1, I have tried both the mod_php4 and lang/php4) and > >the full menu options seem to have disappeared. When I run make install > >I get a 3 line menu offering to allow me to install for apache2 instead > >of apache 1.3.x, to enable debugging and use IPv6. I have no options to > >configure the build process. If I allow the build to continue Apache > >grumbles that it can't find variable session( ), which would suggest PHP > >is not compiled with session support. What am I doing wrong? What has > >changed? > > Major revision to the port, for reasons that I don't find very obvious. > > However, you need lang/php4-extensions or the mod_php equivalent. Actually, php4-extensions works with any of the 'main' PHP ports -- lang/php4, lang/php4-cli, www/php4-cgi or www/mod_php4. The fact that there are 4 different variations on a plain 'php4' port in the tree is the reason why all of the module support was moved out into a separate extensions port. While this move to specifying all of the PHP modules as loadable extensions makes a great deal of sense from one point of view -- ports that use PHP can now explicitly list all of the extensions they require to operate, rather than having to have their own private PHP slave ports -- the implementation has run into a number of problems. For php4 there are some extensions where the same functionality is not available when used as a loadable module as when compiled in. The security/php4-openssl extension is a case in point: unless OpenSSL support is compiled-in, the fsockopen() function won't let you open 'tls://' or 'ssl://' style URLs. (As a practical result, that means that eg. Squirrelmail can't communicate with a secure IMAP server on port 993. The only alternative in that case is to communicate to an unencrypted IMAP server on port 143, which quite probably involves sending passwords over the net in plaintext.) Beyond that, not all of the PHP consuming ports have yet been updated to depend on the appropriate PHP extensions, so installing those ports de novo doesn't immediately get you a workable system. A common symptom of this is a run-time error where one of the perl compatible regular expression (pcre_*()) functions doesn't work. The answer pretty much is just to install the required extension modules by hand, and tweak the value of the 'extension_dir' directive in /usr/local/etc/php.ini Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpDMYixTvITk.pgp Description: PGP signature
Re: Installing php4
Matthew Seaman wrote: Actually, php4-extensions works with any of the 'main' PHP ports -- lang/php4, lang/php4-cli, www/php4-cgi or www/mod_php4. The fact that there are 4 different variations on a plain 'php4' port in the tree is the reason why all of the module support was moved out into a separate extensions port. While this move to specifying all of the PHP modules as loadable extensions makes a great deal of sense from one point of view -- ports that use PHP can now explicitly list all of the extensions they require to operate, rather than having to have their own private PHP slave ports -- the implementation has run into a number of problems. For php4 there are some extensions where the same functionality is not available when used as a loadable module as when compiled in. The security/php4-openssl extension is a case in point: unless OpenSSL support is compiled-in, the fsockopen() function won't let you open 'tls://' or 'ssl://' style URLs. (As a practical result, that means that eg. Squirrelmail can't communicate with a secure IMAP server on port 993. The only alternative in that case is to communicate to an unencrypted IMAP server on port 143, which quite probably involves sending passwords over the net in plaintext.) Beyond that, not all of the PHP consuming ports have yet been updated to depend on the appropriate PHP extensions, so installing those ports de novo doesn't immediately get you a workable system. A common symptom of this is a run-time error where one of the perl compatible regular expression (pcre_*()) functions doesn't work. The answer pretty much is just to install the required extension modules by hand, and tweak the value of the 'extension_dir' directive in /usr/local/etc/php.ini I understand the logic but I would have thought a line somewhere in Makefile or the README just to give poor stupid people like me a clue as to where to start looking. Ons further question that has come from my compilation of the php4-extension is that once you have made your selection the first time these options seem to be saved somewhere (The build process states found previous configuration or similar) where is this? I missed an option in my hurry this morning and now can't get back to the menu options (No matter how many make cleans, pkg_deletes etc I do) to re-set or add the options. Many thanks for being so helpful Drew -- In line with our policy, this message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. www.themarshalls.co.uk/policy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing php4
Matthew Seaman wrote: Actually, php4-extensions works with any of the 'main' PHP ports -- lang/php4, lang/php4-cli, www/php4-cgi or www/mod_php4. The fact that there are 4 different variations on a plain 'php4' port in the tree is the reason why all of the module support was moved out into a separate extensions port. While this move to specifying all of the PHP modules as loadable extensions makes a great deal of sense from one point of view -- ports that use PHP can now explicitly list all of the extensions they require to operate, rather than having to have their own private PHP slave ports -- the implementation has run into a number of problems. For php4 there are some extensions where the same functionality is not available when used as a loadable module as when compiled in. The security/php4-openssl extension is a case in point: unless OpenSSL support is compiled-in, the fsockopen() function won't let you open 'tls://' or 'ssl://' style URLs. (As a practical result, that means that eg. Squirrelmail can't communicate with a secure IMAP server on port 993. The only alternative in that case is to communicate to an unencrypted IMAP server on port 143, which quite probably involves sending passwords over the net in plaintext.) Beyond that, not all of the PHP consuming ports have yet been updated to depend on the appropriate PHP extensions, so installing those ports de novo doesn't immediately get you a workable system. A common symptom of this is a run-time error where one of the perl compatible regular expression (pcre_*()) functions doesn't work. The answer pretty much is just to install the required extension modules by hand, and tweak the value of the 'extension_dir' directive in /usr/local/etc/php.ini I understand the logic but I would have thought a line somewhere in Makefile or the README just to give poor stupid people like me a clue as to where to start looking. Ons further question that has come from my compilation of the php4-extension is that once you have made your selection the first time these options seem to be saved somewhere (The build process states found previous configuration or similar) where is this? I missed an option in my hurry this morning and now can't get back to the menu options (No matter how many make cleans, pkg_deletes etc I do) to re-set or add the options. Many thanks for being so helpful Drew -- In line with our policy, this message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. www.themarshalls.co.uk/policy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing php4
On Saturday 24 July 2004 21.58, Drew Marshall wrote: > Matthew Seaman wrote: > > > >Actually, php4-extensions works with any of the 'main' PHP ports -- > >lang/php4, lang/php4-cli, www/php4-cgi or www/mod_php4. The fact that > >there are 4 different variations on a plain 'php4' port in the tree is > >the reason why all of the module support was moved out into a separate > >extensions port. > > > >While this move to specifying all of the PHP modules as loadable > >extensions makes a great deal of sense from one point of view -- ports > >that use PHP can now explicitly list all of the extensions they > >require to operate, rather than having to have their own private PHP > >slave ports -- the implementation has run into a number of problems. > > > >For php4 there are some extensions where the same functionality is not > >available when used as a loadable module as when compiled in. The > >security/php4-openssl extension is a case in point: unless OpenSSL > >support is compiled-in, the fsockopen() function won't let you open > >'tls://' or 'ssl://' style URLs. (As a practical result, that means > >that eg. Squirrelmail can't communicate with a secure IMAP server on > >port 993. The only alternative in that case is to communicate to an > >unencrypted IMAP server on port 143, which quite probably involves > >sending passwords over the net in plaintext.) > > > >Beyond that, not all of the PHP consuming ports have yet been updated > >to depend on the appropriate PHP extensions, so installing those ports > >de novo doesn't immediately get you a workable system. A common > >symptom of this is a run-time error where one of the perl compatible > >regular expression (pcre_*()) functions doesn't work. The answer > >pretty much is just to install the required extension modules by hand, > >and tweak the value of the 'extension_dir' directive in > >/usr/local/etc/php.ini > > I understand the logic but I would have thought a line somewhere in > Makefile or the README just to give poor stupid people like me a clue as > to where to start looking. Ons further question that has come from my > compilation of the php4-extension is that once you have made your > selection the first time these options seem to be saved somewhere (The > build process states found previous configuration or similar) where is > this? I missed an option in my hurry this morning and now can't get back > to the menu options (No matter how many make cleans, pkg_deletes etc I > do) to re-set or add the options. > > Many thanks for being so helpful > > Drew --- Hi. I had a hard time after a upgrade too. Had to comment out 'extension_dir' directive in /usr/local/etc/php.ini just to get it to work at all. ( Running a PhpNuke site :-) What I understand, from the mailinglist, the 'extension_dir' are allready hardcoded in the php-source. So if you override it in php.ini, you have to give it the correct location. I also had to deinstall the allready installed packages from my previous attempt. ( I made a bad choice ) pkg_delete -r php4\* You might try looking for the options in /var/db/ports/php4-extensions/options Hope this helped. /Hasse. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing php4
- Original Message - From: "Drew Marshall" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, July 24, 2004 3:16 PM Subject: Re: Installing php4 > Matthew Seaman wrote: > > > >Actually, php4-extensions works with any of the 'main' PHP ports -- > >lang/php4, lang/php4-cli, www/php4-cgi or www/mod_php4. The fact that > >there are 4 different variations on a plain 'php4' port in the tree is > >the reason why all of the module support was moved out into a separate > >extensions port. > > > >While this move to specifying all of the PHP modules as loadable > >extensions makes a great deal of sense from one point of view -- ports > >that use PHP can now explicitly list all of the extensions they > >require to operate, rather than having to have their own private PHP > >slave ports -- the implementation has run into a number of problems. > > > >For php4 there are some extensions where the same functionality is not > >available when used as a loadable module as when compiled in. The > >security/php4-openssl extension is a case in point: unless OpenSSL > >support is compiled-in, the fsockopen() function won't let you open > >'tls://' or 'ssl://' style URLs. (As a practical result, that means > >that eg. Squirrelmail can't communicate with a secure IMAP server on > >port 993. The only alternative in that case is to communicate to an > >unencrypted IMAP server on port 143, which quite probably involves > >sending passwords over the net in plaintext.) > > > >Beyond that, not all of the PHP consuming ports have yet been updated > >to depend on the appropriate PHP extensions, so installing those ports > >de novo doesn't immediately get you a workable system. A common > >symptom of this is a run-time error where one of the perl compatible > >regular expression (pcre_*()) functions doesn't work. The answer > >pretty much is just to install the required extension modules by hand, > >and tweak the value of the 'extension_dir' directive in > >/usr/local/etc/php.ini > > > > > > > I understand the logic but I would have thought a line somewhere in > Makefile or the README just to give poor stupid people like me a clue as > to where to start looking. Ons further question that has come from my > compilation of the php4-extension is that once you have made your > selection the first time these options seem to be saved somewhere (The > build process states found previous configuration or similar) where is > this? I missed an option in my hurry this morning and now can't get back > to the menu options (No matter how many make cleans, pkg_deletes etc I > do) to re-set or add the options. > > Many thanks for being so helpful > > Drew > Look at /var/db/ports/* and then delete any option files that pertain to php4. That will allow the menu to come up again on a fresh make. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing php4
antenneX wrote: - Original Message - From: "Drew Marshall" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, July 24, 2004 3:16 PM Subject: Re: Installing php4 Matthew Seaman wrote: Actually, php4-extensions works with any of the 'main' PHP ports -- lang/php4, lang/php4-cli, www/php4-cgi or www/mod_php4. The fact that there are 4 different variations on a plain 'php4' port in the tree is the reason why all of the module support was moved out into a separate extensions port. While this move to specifying all of the PHP modules as loadable extensions makes a great deal of sense from one point of view -- ports that use PHP can now explicitly list all of the extensions they require to operate, rather than having to have their own private PHP slave ports -- the implementation has run into a number of problems. For php4 there are some extensions where the same functionality is not available when used as a loadable module as when compiled in. The security/php4-openssl extension is a case in point: unless OpenSSL support is compiled-in, the fsockopen() function won't let you open 'tls://' or 'ssl://' style URLs. (As a practical result, that means that eg. Squirrelmail can't communicate with a secure IMAP server on port 993. The only alternative in that case is to communicate to an unencrypted IMAP server on port 143, which quite probably involves sending passwords over the net in plaintext.) Beyond that, not all of the PHP consuming ports have yet been updated to depend on the appropriate PHP extensions, so installing those ports de novo doesn't immediately get you a workable system. A common symptom of this is a run-time error where one of the perl compatible regular expression (pcre_*()) functions doesn't work. The answer pretty much is just to install the required extension modules by hand, and tweak the value of the 'extension_dir' directive in /usr/local/etc/php.ini I understand the logic but I would have thought a line somewhere in Makefile or the README just to give poor stupid people like me a clue as to where to start looking. Ons further question that has come from my compilation of the php4-extension is that once you have made your selection the first time these options seem to be saved somewhere (The build process states found previous configuration or similar) where is this? I missed an option in my hurry this morning and now can't get back to the menu options (No matter how many make cleans, pkg_deletes etc I do) to re-set or add the options. Many thanks for being so helpful Drew Look at /var/db/ports/* and then delete any option files that pertain to php4. That will allow the menu to come up again on a fresh make. Smart. That works, as does "make config" that Grant posted. Very happy bunny :-) Thanks all!! Drew -- In line with our policy, this message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. www.themarshalls.co.uk/policy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing php4
On Sat, Jul 24, 2004 at 08:58:15PM +0100, Drew Marshall wrote: > I understand the logic but I would have thought a line somewhere in > Makefile or the README just to give poor stupid people like me a clue as > to where to start looking. Ons further question that has come from my > compilation of the php4-extension is that once you have made your > selection the first time these options seem to be saved somewhere (The > build process states found previous configuration or similar) where is > this? I missed an option in my hurry this morning and now can't get back > to the menu options (No matter how many make cleans, pkg_deletes etc I > do) to re-set or add the options. the lang/php?-extensions ports just use the standard OPTIONS mechanism that a large number of other ports use. To modify a previously setup configuration, just do: # make reconfig The configuration data is stored as a file /var/db/ports/{foo}/options where {foo} is the LATEST_LINK name for the port -- ie the same name as the package installed by the port, but with any version numbers split off. It can be different though. In order to return any particular port to the pristene never configured state, simply delete the appropriate {foo} directory from /var/db/ports. you can do that by: # make rmconfig In order to prevent the options dialog ever coming up (eg. when you've supplied your own settings via portupgrade's MAKE_ARGS array), add BATCH=yes either in the environment or to the make argument list (the MAKE_ARGS array is probably the handiest way of doing that). All of these things are discussed in the ports(7) man page. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpHQ4wkx0WMx.pgp Description: PGP signature
Re: Installing php4
On Sun, July 25, 2004 0:29, Matthew Seaman said: > On Sat, Jul 24, 2004 at 08:58:15PM +0100, Drew Marshall wrote: > >> I understand the logic but I would have thought a line somewhere in >> Makefile or the README just to give poor stupid people like me a clue as >> to where to start looking. Ons further question that has come from my >> compilation of the php4-extension is that once you have made your >> selection the first time these options seem to be saved somewhere (The >> build process states found previous configuration or similar) where is >> this? I missed an option in my hurry this morning and now can't get back >> to the menu options (No matter how many make cleans, pkg_deletes etc I >> do) to re-set or add the options. > > the lang/php?-extensions ports just use the standard OPTIONS mechanism > that a large number of other ports use. > > To modify a previously setup configuration, just do: > > # make reconfig > > The configuration data is stored as a file /var/db/ports/{foo}/options > where {foo} is the LATEST_LINK name for the port -- ie the same name > as the package installed by the port, but with any version numbers > split off. It can be different though. > > In order to return any particular port to the pristene never > configured state, simply delete the appropriate {foo} directory from > /var/db/ports. you can do that by: > > # make rmconfig > > In order to prevent the options dialog ever coming up (eg. when you've > supplied your own settings via portupgrade's MAKE_ARGS array), add > BATCH=yes either in the environment or to the make argument list (the > MAKE_ARGS array is probably the handiest way of doing that). All of > these things are discussed in the ports(7) man page. > > Cheers, > > Matthew Thank you so much for your help, that's one of the things I love about Open Source, you never stop learning! Kind regards Drew -- In line with our policy, this message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. www.themarshalls.co.uk/policy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PHP4 port broken?
So what's going on with the php4 port? It used to present a menu of choices for the compilation options, but does not anymore on the 4.3.8_2 version I have now. I'm trying to get curl and gettext support compiled in, but having no luck, even if I try hacking the makefile CONFIGURE_ARGS= section to include --with-gettexti and --with-curl and removing the --disable-all. I'm still not getting the php_gettext.so that I used to have. FreeBSD 4.10, Apache2. LARTs appreciated and gratefully received with thanks, --Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 + mhash
Try this: cd /usr/ports/security/php4-mhash && make install and don't forget to make sure you have something like extension_dir = "/usr/local/lib/php/20020429/" in your /usr/local/etc/php.ini (must point to the directory where your mhash.so is located) Regards, Alex. fbsd_user wrote: how do I tell the php4 port to include mhash? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
reconfigure php4-extensions
Hi, When I installed php4 from a port, I also installed php4-extensions. It gave me an ncurses menu to choose from possible extensions. Now I want to install some extensions that I didn't choose the first time round, but I can't get the menu to reappear. I have tried: make clean && make make deinstall && make reinstall make configure All of which complete normally, but don't present the menu for me to change the options. What should I do to add a new extension? Many thanks, Rich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-extentions
Hi, Try 'make config' in php-extesions port's directory. regards, Cezar - Original Message - From: "Chris Knipe" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 09, 2005 1:50 AM Subject: php4-extentions > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for php4-extensions-1.0 > ===> Extracting for php4-extensions-1.0 > > Where's the configuration saved? I need to reconfigure it.. > > -- > Chris. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-extentions
TY. - Original Message - From: "Cezar Fistik" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 09, 2005 2:29 PM Subject: Re: php4-extentions Hi, Try 'make config' in php-extesions port's directory. regards, Cezar - Original Message - From: "Chris Knipe" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 09, 2005 1:50 AM Subject: php4-extentions ===> Vulnerability check disabled, database not found ===> Found saved configuration for php4-extensions-1.0 ===> Extracting for php4-extensions-1.0 Where's the configuration saved? I need to reconfigure it.. -- Chris. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-extensions
On Wed, Nov 24, 2004 at 09:12:48AM +0200, Cristi Tauber wrote: > I searched the google and i found something about libmagic > and to reinstall it. But i cannot find such a package/port . Anyone bump IIRC libmagic is included in /usr/ports/sysutils/file . cu, Uwe ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-extensions
It works Thanks a lot Uwe .. Cristi Uwe Laverenz wrote: > On Wed, Nov 24, 2004 at 09:12:48AM +0200, Cristi Tauber wrote: > > > I searched the google and i found something about libmagic > > and to reinstall it. But i cannot find such a package/port . Anyone bump > > IIRC libmagic is included in /usr/ports/sysutils/file . > > cu, > Uwe > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > --- > This message and its contents have been scanned and certified for > transmission as being free from malicious code by <>. This > message may contain confidential, privileged or other legally protected > information. It is intended for the addressee(s) only. If you are not the > addressee, or someone the addressee authorized to receive this message, you > are prohibited from copying, distributing or otherwise using it. Please > notify the sender and return it.Thank you. > > --- This message and its contents have been scanned and certified for transmission as being free from malicious code by <>. This message may contain confidential, privileged or other legally protected information. It is intended for the addressee(s) only. If you are not the addressee, or someone the addressee authorized to receive this message, you are prohibited from copying, distributing or otherwise using it. Please notify the sender and return it.Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4 installation problem
Hi, I have problems installing php4. I have done cd /usr/ports/www/mod_php4 make install Then, it shows "You cannot define WITH_IMAP *and* WITH_RECODE! Error code 1 Please help me resolve this. Thanks so much Vivian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4-4.3.7-1
When I was running under php4-4.3.6-1 everything worked. Today I upgraded to php4-4.3.7-1 and I get this error. I have no T_LNUMBER field at all. Sim49.php has not changed. Line 98 is the way it's always been. Can somebody translate this error message into something I can use as pointer of what to look at in debugging this problem? Parse error: parse error, unexpected T_LNUMBER in /usr/local/www/data/sim49.php on line 98 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4-xml port
Greetings, I'm having a bit of trouble getting the php4-xml port upgraded/ installed. Using the php4-extensions meta port, with xml support turned on, once it makes it to the php4-xml port install, it fails when looking for an expat item: -- cc -shared xml.lo -Wl,--rpath -Wl,/usr/local/lib/.libs -Wl,--rpath - Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/.libs/ libexpat.so -Wl,-soname -Wl,xml.so -o ./.libs/xml.so cc: /usr/local/lib/.libs/libexpat.so: No such file or directory *** Error code 1 Stop in /usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml. *** Error code 1 Stop in /usr/ports/textproc/php4-xml. *** Error code 1 Stop in /usr/ports/lang/php4-extensions. -- libexpat.so is in /usr/local/lib, but the .libs on that path looks bizarre. Any thoughts? Cheers, James ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Small HTTPD + PHP4
Hey, I was wondering if anyone has tried out some small httpd's, the one i'm interested in at the moment is lighttpd, it seems pretty good for basic HTML and images. The problem i have is that i cant get PHP4 to work with it, i've set up my config like this for php. -- fastcgi.server = ( ".php" => ( "localhost" => ( "socket" => "/tmp/php-fastcgi.socket", "bin-path" => "/usr/local/bin/php" ) ) ) -- I'm not sure if that has wrapped quite right, but it does show the details. The one thing i have noticed is when playing with lighttpd on my debian box i had the bin-path set to /usr/bin/php-cgi but with freebsd i cant find php-cgi on my box nor can i find anything about php-cgi on freebsd. I dont know if this is the right choice for me, but all i really want is a small simple and fast httpd for running a php forum and thats about it.. nothing else. I currently have apache1.33+ssl installed as well as php4 with the most common extensions. (ftp, mysql, openssl and a few others) What i would really like is to have is a small httpd to run just the forum and apache to do anything else, i dont know if that is possible if not, i dont mind moving from apache if the alternative has php that works ;) So if anyone has any recommendations other than lighttpd, or have some nice guides to getting php4 on some small http's including lighttpd please point me to them :) Thanks in advance From Grant. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4 with gd?
I must be totally dense, but after trying a number of things, searching the mailing lists, searching google, reading the freebsd ports doc, searching the php web - I still can not get php4 to build with gdlib support using the ports collection. We already had a working mod_php4 built and installed, and just want to add gdlib support. None of the following (as well as other incantations) work in either the www/mod_php4 port nor the lang/php4 port: make deinstall; make reinstall make deinstall; make clean; make install make deinstall; make WITH_GD=YES reinstall make deinstall; make clean; make WITH_GD=YES install Can someone please give me a clue? I thought I remembered that there was a text gui asking what options we want, but it doesn't appear anymore. There seems to be a big gap between simply installing a port with its defaults and finding out what other options might be available via the WITH_* and WITHOUT_* options. Isn't this documented with each port somewhere? Thanks! Ray ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4-* n00b queries...
(oops--I sent this to ports@ should have been here...sorry 'bout that!) Ok.. I'm getting used to the new modular php#-* packages. I would like to streamline this even further by including the proper entries in pkgtools.conf for portupgrade. So, for instance.. when it's upgrading, say databases/php4-dba, I'd like to have it just take the defaults of cdb, inifile and flatfile. Do I put this in the MAKE_ARGS section of pkgtools.conf? ~ 'databases/php4-dba' => 'CDB=1 INIFILE=1 FLATFILE=1', I just want to check this against the ports-gurus on here. :) Thanks, in advance, everyone! Best, Glenn -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." ~ ~Benjamin Franklin, Historical Review of Pennsylvania, 1759 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4 imp problem
I ahe configured imp+mysql+apache+ssl on my Ultra 60 running FreeBSD 5.2.1/sparc64 the problem is that when I list my inbox and I click on one message the apache child process doign the imp stuff dies: [Wed Mar 3 21:51:15 2004] [notice] child pid 18104 exit signal Segmentation fault (11) I ahve no clue about this error.. I am more than sure that the configuratoin is okay because the same configuration works on i386. anyone has any hints ? thanks Rick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problems with php4
I just did a cvsup for the ports and tried to make php4. It crashes on zm_startup_imap during the install, I've attached the output, if anyone has any ideas, on what happened and how to fix it, that'd be great. -- -Jason Porter "Real programmers are secure enough to write readable code, which they then self-righteously refuse to explain." Script started on Fri Jul 12 14:55:14 2002 LIGHTGUARD# make install ===> Building for php4-4.2.1 Making all in Zend Making all in main Making all in ext Making all in zlib Making all in bcmath Making all in libbcmath Making all in src Making all in bz2 Making all in ctype Making all in domxml Making all in ftp Making all in gd Making all in gettext Making all in iconv Making all in imap Making all in mcal Making all in mcrypt Making all in mysql Making all in openssl Making all in pcre Making all in pcrelib Making all in pdf Making all in posix Making all in pspell Making all in readline Making all in session Making all in snmp Making all in sockets Making all in standard Making all in xml Making all in xslt Making all in sapi Making all in cgi Making all in TSRM Making all in . /bin/sh /usr/ports/lang/php4/work/php-4.2.1/libtool --silent --mode=link cc -I. -I/usr/ports/lang/php4/work/php-4.2.1/ -I/usr/ports/lang/php4/work/php-4.2.1/main -I/usr/ports/lang/php4/work/php-4.2.1 -I/usr/ports/lang/php4/work/php-4.2.1/Zend -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/freetype2/freetype -I/usr/local/include/gd -I/usr/local/include/c-client -I/usr/local/include/mcal -I/usr/local/include/mysql -I/usr/local/include/pspell -I/usr/local/include/ucd-snmp -I/usr/ports/lang/php4/work/php-4.2.1/TSRM -O -pipe -march=pentiumpro -I/usr/local/include -o php -export-dynamic stub.lo libphp4.la ./.libs/libphp4.a(php_imap.o): In function `zm_startup_imap': php_imap.o(.text+0x373): undefined reference to `ssl_onceonlyinit' *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.2.1. *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.2.1. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. LIGHTGUARD# exit exit Script done on Fri Jul 12 14:55:21 2002
php4 apache 2
I installed apache2 and php4 from ports, when i try to start apache iget this Syntax error on line 193 of /usr/local/etc/apache2/httpd.conf: Cannot load /usr/local/libexec/apache2/libphp4.so into server: /usr/local/libexec/apache2/libphp4.so: Undefined symbol "ssl_onceonlyinit" bash-2.05a# vi /usr/local/etc/apache2/httpd.conf Line 193 is this LoadModule php4_module libexec/apache2/libphp4.so php4 compiled without errors. --- Jeff MacDonald Interchange Technologies [EMAIL PROTECTED] --- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
PHP4 install problems
Hi all I am trying to install mod_php4 on my FreeBSD 4.7 server (with Apache 2.0.43). When I install php with firebird I get a error in the firebird installation process, so I try without firebird. Now I get: Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... configure: error: Use --with-apxs2 with Apache 2.x! ===> Script "configure" failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the "/usr/ports/www/mod_php4/work/php-4.2.3/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/www/mod_php4. *** Error code 1 I have added --with-apxs2 to Makefile and also Makefile.inc, but it doesn't help (I have also tried make clean and then add --wthi-apxs2 before make install). Hope someone can help. br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: install PHP4
If you are referring to FreeTDS support so that you can connect to a MSSQL database, use the Sybase-CT option in that menu. John Straiton [EMAIL PROTECTED] Clickcom, Inc 704-365-9970x101 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Alvaro Rosales R. > Sent: Monday, June 16, 2003 12:46 PM > To: [EMAIL PROTECTED] > Subject: install PHP4 > > > Hi guys I want to install PHP4 from the ports tree, but when > I try to do it I get a > menu that doesn't have te option I need , I want to add tds > support to my php > installation,. How can I add that option to this menu? or how > can I install it ? ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/free> bsd-questions > > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: install PHP4
# [EMAIL PROTECTED] / 2003-06-16 11:45:48 -0500: > Hi guys I want to install PHP4 from the ports tree, but when I try to > do it I get a menu that doesn't have te option I need , I want to add > tds support to my php installation,. How can I add that option to this > menu? or how can I install it ? I take it you mean FreeTDS. Choose one of the Sybase options. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 extensions
Grant Peel wrote: Hi all, IU ran the php4-extensions a while back, but now a client is asking for curl to be installed. When I run php4-extensions, it says that it (php4-extensions) is already installed. How to I reconfigure it to load the GUI so I can install curl? Als0, I presume after that php4 will have to be re maked and installed to include the curl libraries? I am using php as a dynamic mod in Apache (2.1) if that makes and difference. -Thanks, Grant I'm thinking most of your assumptions above are correct. I'd try something like this (as root): $cd /usr/ports/lang/php4-extensions $make config $make FORCE_PACKAGE_REGISTER="YES" install clean This should allow you to add curl to your configuration (in 'make config') and then rebuild and force installation of the extensions. Try a brief PHP CLI test afterwards ... I don't know whether or not there's a chance that you may get duplicate entries in php.ini and/or extensions.ini as a result of this ... I had a recent (very minor) issue on a devel machine as a result of some operation (but I can't recall if it was a reconfig/reinstall or a plain portupgrade or something) where I received some messages of the ilk "'foo.so' already loaded in module Unknown on line 0" caused by duplicate entiries in extensions.ini ... but I'm not sure what caused this to happen. HTH, Kevin Kinsey -- Fortune favors the lucky. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PHP4 install question
Greetings, I have a Freebsd 6-release machine. I have installed /usr/ports/lang/php4 the usual way. make make install. The problem I am having is that the application I am trying to run barfs with an error: Fatal error: Call to undefined function: preg_replace() in /usr/local/www/data-dist/webmail/functions/global.php on line 85. After some research, I found that I guess I need pcre in PHP4. phpinfo() does not show --with-pcre-regex . So, how do I do this ? thanks, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4 still broken
Guys, The date update on php4 was 30jan07, if memory serves. All php4 ports are gone; I have updated libtool to libtool15, still, there is this linkage trouble. Can someone try to try upgrading the ports tree and making lang/php4? See if you get bitten here. It toward the start of the build, just after the build is thru configuring. I've checked regex/regcomp.lo and don't see anything wrong, but obviously, I'm missing something. tia, gary cc -I/usr/ports/lang/php4/work/php-4.4.4/sapi/cgi/libfcgi/include -Isapi/cgi/ -I /usr/ports/lang/php4/work/php-4.4.4/sapi/cgi/ -DPHP_ATOM_INC -I/usr/ports/lang/p hp4/work/php-4.4.4/include -I/usr/ports/lang/php4/work/php-4.4.4/main -I/usr/por ts/lang/php4/work/php-4.4.4 -I/usr/ports/lang/php4/work/php-4.4.4/TSRM -I/usr/po rts/lang/php4/work/php-4.4.4/Zend-pipe -g -Wall -c /usr/ports/lang/php4/wor k/php-4.4.4/sapi/cgi/getopt.c -o sapi/cgi/getopt.o && echo > sapi/cgi/getopt.lo cc -Imain/ -I/usr/ports/lang/php4/work/php-4.4.4/main/ -DPHP_ATOM_INC -I/usr/po rts/lang/php4/work/php-4.4.4/include -I/usr/ports/lang/php4/work/php-4.4.4/main -I/usr/ports/lang/php4/work/php-4.4.4 -I/usr/ports/lang/php4/work/php-4.4.4/TSRM -I/usr/ports/lang/php4/work/php-4.4.4/Zend-pipe -g -Wall -c main/internal_ functions.c -o main/internal_functions.o && echo > main/internal_functions.lo /bin/sh /usr/local/bin/libtool --preserve-dup-deps --mode=link cc -export-dynami c -pipe -g -Wall regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/r egfree.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functi ons.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/ standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standar d/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standa rd/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/ standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.l o ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/lin k.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/ metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinf o.lo ext/standard/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo e xt/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/s canf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/s tandard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/vers ioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levensht ein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/stand ard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fop en_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unser ializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/s nprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wra ppers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rf c1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesor t.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo main/suhosin_patch.lo Zend/zend_lan guage_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Ze nd/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/ze nd_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Ze nd/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_ extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_ builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Ze nd/zend_multibyte.lo Zend/zend_strtod.lo Zend/zend_canary.lo Zend/zend_execute.l o sapi/cgi/libfcgi/fcgi_stdio.lo sapi/cgi/libfcgi/fcgiapp.lo sapi/cgi/libfcgi/os _unix.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo main/internal_functions.lo -lcr ypt -lcrypt -lm -lcrypt -lcrypt -o sapi/cgi/php libtool: link: `regex/regcomp.lo' is not a valid libtool object *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.4.4. *** Error code 1 -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4 port upgrade
Hello, Is there any known issues or things to watch out for when doing the latest php4 upgrade? The notes in the UPDATING file indicated a change in the status of the .cli binary. If one has mod_php4 and the php4-extensions already installed is the upgrade a smooth one? Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrade of PHP4
Hi, I noticed that PHP4 port has been having some vulnerabilities for some time now. Will there be a correction relased any soon? Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-gd
Arek Czereszewski wrote: Hello, I have on some web servers php4-gd port installed and I am totally confused. Portaudit says Affected package: php4-gd-4.4.9 Type of problem: gd -- '_gdGetColors' remote buffer overflow vulnerability. Reference: <http://portaudit.FreeBSD.org/4e8344a3-ca52-11de-8ee8-00215c6a37bb.html> On this site is info about: 5.2.11 and 5.3.0 On Securityfocus is info also about 4.4.9 but on cve.mitre.org is not. Any idea where is the true? Are my servers with php4-gd are secure or not? This is a bug in the underlying gd library rather than in PHP itself. There are fixes to two related ports: if you've updated graphics/gd to the latest version (gd-2.0.35_2,1), and built the latest port revision of the php5-gd module (which is php5-gd-5.2.11_2) then those should have been secured. However, the PHP4 version of the gd module is still at version php4-gd-4.4.9, and doesn't seem to have been patched -- there is no patch for CVE-2009-3546 in the php4 sources -- so it seems you are still vulnerable when using PHP4. This is to be expected: the PHP project is deprecating PHP4 and putting all their effort in to developing PHP5 instead. Patches may be forthcoming eventually, but who knows when? Basically, if you're running PHP4 on a public site then you should be making plans to upgrade to PHP5 ASAP. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: php4-gd
W dniu 2009-11-10 07:59, Matthew Seaman pisze: Arek Czereszewski wrote: Hello, I have on some web servers php4-gd port installed and I am totally confused. Portaudit says Affected package: php4-gd-4.4.9 Type of problem: gd -- '_gdGetColors' remote buffer overflow vulnerability. Reference: <http://portaudit.FreeBSD.org/4e8344a3-ca52-11de-8ee8-00215c6a37bb.html> On this site is info about: 5.2.11 and 5.3.0 On Securityfocus is info also about 4.4.9 but on cve.mitre.org is not. Any idea where is the true? Are my servers with php4-gd are secure or not? This is a bug in the underlying gd library rather than in PHP itself. There are fixes to two related ports: if you've updated graphics/gd to the latest version (gd-2.0.35_2,1), and built the latest port revision of the php5-gd module (which is php5-gd-5.2.11_2) then those should have been secured. However, the PHP4 version of the gd module is still at version php4-gd-4.4.9, and doesn't seem to have been patched -- there is no patch for CVE-2009-3546 in the php4 sources -- so it seems you are still vulnerable when using PHP4. This is to be expected: the PHP project is deprecating PHP4 and putting all their effort in to developing PHP5 instead. Patches may be forthcoming eventually, but who knows when? Basically, if you're running PHP4 on a public site then you should be making plans to upgrade to PHP5 ASAP. Cheers, Matthew Hi, So I need to upgrade php4 to php5. Thank you for information. Regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: php4-gd
On Tue, Nov 10, 2009 at 06:59:16AM +, Matthew Seaman wrote: > Arek Czereszewski wrote: > > I have on some web servers php4-gd port installed > > and I am totally confused. > > Portaudit says > > > > Affected package: php4-gd-4.4.9 > Basically, if you're running PHP4 on a public site then you should be making > plans to upgrade to PHP5 ASAP. more like: you should have upgraded to PHP5 two years ago. PHP4 is dead, baby. it's dead... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: php4-gd
On Sat, Nov 14, 2009 at 11:39:34PM +0100, Roman Neuhauser typed: > > more like: you should have upgraded to PHP5 two years ago. PHP4 is dead, > baby. it's dead... Like COBOL and FORTRAN are dead? ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: php4-gd
On Sat, 21 Nov 2009 13:23:39 +0100 Ruben de Groot replied: >Like COBOL and FORTRAN are dead? Maybe not "DEAD", but definitely comatose. -- Jerry ges...@yahoo.com |=== |=== |=== |=== | A friend of mine won't get a divorce, because he hates lawyers more than he hates his wife. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: php4-gd
On Sat, 21 Nov 2009 13:23:39 +0100, Ruben de Groot wrote: > On Sat, Nov 14, 2009 at 11:39:34PM +0100, Roman Neuhauser typed: > > more like: you should have upgraded to PHP5 two years ago. PHP4 is dead, > > baby. it's dead... > > Like COBOL and FORTRAN are dead? > > ;) More as... dead like the mainframe. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: php4-gd
On Sat, Nov 21, 2009 at 01:23:39PM +0100, Ruben de Groot wrote: > On Sat, Nov 14, 2009 at 11:39:34PM +0100, Roman Neuhauser typed: > > > > more like: you should have upgraded to PHP5 two years ago. PHP4 is dead, > > baby. it's dead... > > Like COBOL and FORTRAN are dead? ;) no, these languages are still alive (though not very hip). PHP4 has been abandoned by its sole vendor (the PHP project). there's no PHP4-2008, won't be. http://en.wikipedia.org/wiki/Fortran#Fortran_2008 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: php4 + php5
Mark wrote: Using a single Apache 1.3.x install, is there a way to install both mod_php4 + mod_php5 together? I can't just upgrade to php5: not every webboard and such accepts php5 yet. On some dirs (or per vhost) I like the Apache server to use php5, though. No. At least, not within the current ports system. Quite apart from anything else, the php4 and php5 ports conflict -- they fight over installing files to certain locations. I'm also not certain that loading both mod_php4 and mod_php5 into the same instance of Apache is viable. The standard answer to this sort of problem is to use multiple instances of apache. There's support in the rc scripts to do that[*] -- you'll have to work out a mechanism (proxying, running different instances on different IP numbers or ports, etc.) to get the web traffic into the correct apache instance. However, the conflicts between php4 and php5 make this unfeasible, and probably the solution here is to use separately jailed instances of apache. Cheers, Matthew [*] Well, there certainly is for apache22 -- I assume that the same applies to the other apache versions in the ports. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
RE: php4 + php5
-Original Message- From: Matthew Seaman [mailto:m.sea...@infracaninophile.co.uk] Sent: donderdag 7 mei 2009 8:29 To: Mark Cc: freebsd-questions@freebsd.org Subject: Re: php4 + php5 Mark wrote: > > Using a single Apache 1.3.x install, is there a way to install > > both mod_php4 + mod_php5 together? I can't just upgrade to php5: > > not every webboard and such accepts php5 yet. On some dirs (or per > > vhost) I like the Apache server to use php5, though. > No. At least, not within the current ports system. Quite apart from > anything else, the php4 and php5 ports conflict -- they fight over > installing files to certain locations. I'm also not certain that > loading both mod_php4 and mod_php5 into the same instance of Apache > is viable. Thanks. I figured as much. So I just upgraded to PHP5 already. :) Only thing is, I can't get GD to compile properly (which I really need). Compile keeps failing on the libxcb port. Seems it wants to install all sorts of X11 stuff (which I don't use). Can I not just build gd.so with all the X11 baggage? Thanks, - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: php4 + php5
Add WITHOUT_X11=yes in /etc/make.conf file before running make command. Amitabh On Fri, May 8, 2009 at 12:42 AM, Mark wrote: > -Original Message- > From: Matthew Seaman [mailto:m.sea...@infracaninophile.co.uk] > Sent: donderdag 7 mei 2009 8:29 > To: Mark > Cc: freebsd-questions@freebsd.org > Subject: Re: php4 + php5 > > Mark wrote: > > > > Using a single Apache 1.3.x install, is there a way to install > > > both mod_php4 + mod_php5 together? I can't just upgrade to php5: > > > not every webboard and such accepts php5 yet. On some dirs (or per > > > vhost) I like the Apache server to use php5, though. > > > No. At least, not within the current ports system. Quite apart from > > anything else, the php4 and php5 ports conflict -- they fight over > > installing files to certain locations. I'm also not certain that > > loading both mod_php4 and mod_php5 into the same instance of Apache > > is viable. > > Thanks. I figured as much. So I just upgraded to PHP5 already. :) Only > thing is, I can't get GD to compile properly (which I really need). > Compile keeps failing on the libxcb port. Seems it wants to install all > sorts of X11 stuff (which I don't use). Can I not just build gd.so with > all the X11 baggage? > > Thanks, > > - Mark > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
php4 and static ssl
Since the new php4 changes happened in ports, I have a problem using fsockopen() in my code. I'm getting: Warning: fsockopen(): no SSL support in this build A quick check with phpinfo() shows that ssl support is enabled in my build via the extension. From what I've read, openssl needs to be statically linked to php for there to be ssl support in fsockopen(). Can anyone give me a clue as to how to do this with the new way that php is now broken up in to php-extensions and such? Thanks a million for any help. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
error compiling php4-domxml
Hi :) I'm trying to compile php4-domxml without success. Here is the output from make install, anybody has an idea on how to fix this ? Thanks in advance. $ pwd /usr/ports/textproc/php4-domxml $ make ===> Vulnerability check disabled ===> Found saved configuration for php4-domxml-4.3.8_1 ===> Extracting for php4-domxml-4.3.8_1 >> Checksum OK for php-4.3.8.tar.bz2. ===> Patching for php4-domxml-4.3.8_1 ===> php4-domxml-4.3.8_1 depends on executable: phpize - found ===> php4-domxml-4.3.8_1 depends on file: /usr/local/bin/automake - found ===> php4-domxml-4.3.8_1 depends on file: /usr/local/bin/autoconf - found ===> php4-domxml-4.3.8_1 depends on file: /usr/local/bin/libtool13 - found ===> php4-domxml-4.3.8_1 depends on executable: pkg-config - found ===> php4-domxml-4.3.8_1 depends on shared library: xml2.5 - found ===> PHPizing for php4-domxml-4.3.8_1 autoheader: `config.h.in' is created Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 ===> Configuring for php4-domxml-4.3.8_1 configure: WARNING: you should use --build, --host, --target checking build system type... i386-portbld-freebsd5.2.1 checking host system type... i386-portbld-freebsd5.2.1 checking for i386-portbld-freebsd5.2.1-gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking whether cc understands -c and -o together... yes checking if compiler supports -R... yes checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM checking for PHP extension directory... /usr/local/lib/php/20020429 checking for re2c... exit 0; checking for gawk... no checking for mawk... no checking for nawk... nawk checking for DOM support... yes, shared checking for the location of libz... /usr checking how to run the C preprocessor... cc -E checking for libxml version... >= 2.4.14 checking for DOM XSLT support... no checking for DOM EXSLT support... no checking for i386-portbld-freebsd5.2.1-ranlib... no checking for ranlib... ranlib checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes loading cache /dev/null within ltconfig checking for object suffix... o checking for executable suffix... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions ... no checking if cc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... freebsd5.2.1 ld.so checking if libtool supports shared libraries... yes *** Warning: the command libtool uses to detect shared libraries, *** /usr/bin/file, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** [EMAIL PROTECTED] checking whether to build shared libraries... yes checking whether to build static libraries... no checking for objdir... .libs creating libtool updating cache /dev/null configure: creating ./config.status config.status: creating config.h ===> Building for php4-domxml-4.3.8_1 /bin/sh /usr/local/bin/libtool13 --mode=compile cc -I. -I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml -DPHP_ATOM_INC -I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml/include -I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml/main -I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include/libxml2 -DHAVE_CONFIG_H -O -pipe -march=pentium4 -prefer-pic -c /usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml/php_domxml.c -o php_domxml.lo mkdir .libs cc -I. -I/usr/ports/textproc/php4-domxml/work/php-4.3.8/ext/domxml -DPHP_ATOM_INC -I/usr/ports/textproc/php4-domxml/wor
Re: PHP4 port broken?
--On Monday, August 09, 2004 04:50:08 PM -0500 Chris Boyd <[EMAIL PROTECTED]> wrote: So what's going on with the php4 port? It used to present a menu of choices for the compilation options, but does not anymore on the 4.3.8_2 version I have now. I'm trying to get curl and gettext support compiled in, but having no luck, even if I try hacking the makefile CONFIGURE_ARGS= section to include --with-gettexti and --with-curl and removing the --disable-all. I'm still not getting the php_gettext.so that I used to have. The extensions have been separated out from the base install. Look in /usr/ports/lang/php4-extensions/ You can now add extensions any time without having to recompile the base php4. Also see /usr/ports/UPDATING Caught me by surprise as well. :-) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP4 port broken?
Chris Boyd <[EMAIL PROTECTED]> wrote: > So what's going on with the php4 port? > > It used to present a menu of choices for the compilation options, but > does not anymore on the 4.3.8_2 version I have now. I'm trying to get > curl and gettext support compiled in, but having no luck, even if I try > hacking the makefile CONFIGURE_ARGS= section to include --with-gettexti > and --with-curl and removing the --disable-all. I'm still not getting > the php_gettext.so that I used to have. > > FreeBSD 4.10, Apache2. > > LARTs appreciated and gratefully received with thanks, The PHP port has been divvied up into a number of ports, so other ports can specify only what parts of PHP they need. For example, after you install php4, you can then install lang/php4-gettext to add gettext support to it. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP4 port broken?
On Aug 9, 2004, at 5:00 PM, Bill Moran wrote: The PHP port has been divvied up into a number of ports, so other ports can specify only what parts of PHP they need. For example, after you install php4, you can then install lang/php4-gettext to add gettext support to it. OK, thanks to Bill, Paul, and Dan. Looks like everything is going along well. Would have been nice if they had modified the old makefile to put up a note that said something like "We're moving stuff around. If you want to build extensions, go to /usr/ports/lang/php4-extensions." --Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP4 port broken?
On Mon, 9 Aug 2004, Chris Boyd wrote: On Aug 9, 2004, at 5:00 PM, Bill Moran wrote: The PHP port has been divvied up into a number of ports, so other ports can specify only what parts of PHP they need. For example, after you install php4, you can then install lang/php4-gettext to add gettext support to it. OK, thanks to Bill, Paul, and Dan. Looks like everything is going along well. Would have been nice if they had modified the old makefile to put up a note that said something like "We're moving stuff around. If you want to build extensions, go to /usr/ports/lang/php4-extensions." Have a look at /usr/ports/UPDATING and /usr/src/UPDATING after cvsup. You will find notes about these things there. Regards, Uli. --Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: reconfigure php4-extensions
In the immortal words of Richard Bradley <[EMAIL PROTECTED]>... > What should I do to add a new extension? Try make config -- Tim Aslat <[EMAIL PROTECTED]> Spyderweb Consulting http://www.spyderweb.com.au Phone: +61 0401088479 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: reconfigure php4-extensions
Richard Bradley wrote: Now I want to install some extensions that I didn't choose the first time round, but I can't get the menu to reappear. I have tried: make clean && make make deinstall && make reinstall make configure you might want to try : make distclean that did the trick for me afair ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: reconfigure php4-extensions
On Thursday 03 February 2005 01:45, albi wrote: > Richard Bradley wrote: > > Now I want to install some extensions that I didn't choose the first time > > round, but I can't get the menu to reappear. > > > > I have tried: > > > > make clean && make > > make deinstall && make reinstall > > make configure > > you might want to try : make distclean > that did the trick for me afair Thanks very much. I'm not sure what did the trick in the end, but some combined effect of the following commands sorted it out: make config (brought up the menu!) make (returned as if everything was already compiled) make distclean (did some work) make(returned as if everything was already compiled) make install (compiled the new extension, then asked for a deinstall) make deinstall make reinstall Where is this documented (i.e. is there any way I could have found this out for myself)? Rich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4-cli or mod_php4
Hello list, i want to install apache+php+mysql. If i install mod_php i cannot install php4-extension (mysql, etc ...). If i try to install php4-cli and extensions apache doesn't know how to handle .php files . What's the they to go to make apache work with mysql and php ? fBSD is 5.3. Thanks, Cristi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php4 install has conflicts
FreeBSD-4.9 what is the cleanest way to get PHP4 installed here? There are a lot of programs that have dependancies on mod_php4. how do I update all those dependancies to the latest version of mod_php4? and then how do I cleanly remove all those older versions of mod_php4? --- snip --- # make install clean ===> Installing for php4-4.3.9_1 ===> php4-4.3.9_1 conflicts with installed package(s): mod_php4-4.3.5_7,1 mod_php4-4.3.6_1,1 mod_php4-4.3.8_2,1 mod_php4-4.3.9_1,1 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/lang/php4. --- snip --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4 installation problem
Vivian wrote: > Hi, > > I have problems installing php4. I have done > cd /usr/ports/www/mod_php4 > make install > > Then, it shows "You cannot define WITH_IMAP *and* WITH_RECODE! Error > code 1 > > Please help me resolve this. This means exactly what it says. When the install starts, you're invited to choose different options. Some are incompatible with each other. Do it again and choose either IMAP or RECODE, but not both. PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-4.3.7-1
Hi JJB, Can somebody translate this error message into something I can use as pointer of what to look at in debugging this problem? I think this is really a php issue, not a FreeBSD issue. 4th off of Google ("T_LNUMBER php"), does that help? http://codewalkers.com/archives/phpcoding/6886.html Have you looked at the php-4.3.7 CHANGELOG? Good luck... Nico ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-xml port
On 6/10/2005 09:34, james g. seems to have typed: > cc: /usr/local/lib/.libs/libexpat.so: No such file or directory > *** Error code 1 [snip] > libexpat.so is in /usr/local/lib, but the .libs on that path looks > bizarre. Any thoughts? ln -s /usr/local/lib /usr/local/lib/.libs cd /usr/ports/lang/php4-extensions make clean make install ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-xml port.
>> cc: /usr/local/lib/.libs/libexpat.so: No such file or directory >> *** Error code 1 > > [snip] > >> libexpat.so is in /usr/local/lib, but the .libs on that path looks >> bizarre. Any thoughts? > ln -s /usr/local/lib /usr/local/lib/.libs > cd /usr/ports/lang/php4-extensions > make clean > make install Or see a not yet commited patch at: Problem Report ports/82020 http://www.freebsd.org/cgi/query-pr.cgi?q=82020 -- -jpeg. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-xml port
On Fri, Jun 10, 2005 at 09:57:28AM -0800, Peter A. Giessel wrote: > On 6/10/2005 09:34, james g. seems to have typed: > > cc: /usr/local/lib/.libs/libexpat.so: No such file or directory > > *** Error code 1 > > [snip] > > > libexpat.so is in /usr/local/lib, but the .libs on that path looks > > bizarre. Any thoughts? > > ln -s /usr/local/lib /usr/local/lib/.libs Blerk! The correct solution to this problem has been discussed on ports@ recently and should be committed soon. Kris pgp9CGQQtoz8C.pgp Description: PGP signature
Re: php4-xml port
Thanks for all the quick responses! The symlink got the port to install for now, until the patch lands. I had done a quick search of the ports list before posting, but should have been searching for expat information rather than the php4-xml port. Thanks again! -J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"