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 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]"
Re: Trouble with PHP4-extensions
On 7/23/05, Jack Raats <[EMAIL PROTECTED]> wrote: I had installed Apache, PHP4.40 and imap on a FreeBSD 5.4-STABLE server. It worked OK. I had to recompile IMAP and after this apache refuses to start. I have to recompile the php4-imap part of php. How to do this? Deinstall php4 completely and then reinstall it or Can i use the extensions to recompile only a part? Met vriendelijke groeten Jack Raats Just delete only php4-imap with pkg_delete, then mkdir to /usr/ports/lang/php4-extensions and make config. Make only imap part selected and make FORCE_PKG_REGISTER=YES install. Cheers, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble with PHP4-extensions
On 7/23/05, Jack Raats <[EMAIL PROTECTED]> wrote: > I had installed Apache, PHP4.40 and imap on a FreeBSD 5.4-STABLE server. It > worked OK. I had to recompile IMAP and after this apache refuses to start. I > have to recompile the php4-imap part of php. > > How to do this? > Deinstall php4 completely and then reinstall it > or > Can i use the extensions to recompile only a part? > > Met vriendelijke groeten > Jack Raats Why don't you use sysutils/portmanager or sysutils/portupgrade in the ports directory. These utilities do a good job at solving such problems and you might have other php4-extensions that need updating. -- Regards. Abu Khaled ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trouble with PHP4-extensions
I had installed Apache, PHP4.40 and imap on a FreeBSD 5.4-STABLE server. It worked OK. I had to recompile IMAP and after this apache refuses to start. I have to recompile the php4-imap part of php. How to do this? Deinstall php4 completely and then reinstall it or Can i use the extensions to recompile only a part? Met vriendelijke groeten Jack Raats ___ 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]"
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
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]"
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: Properly installing PHP4 extensions under Apache 1.3.x
Hi again, Alright, I just found the missing step: I used to have an existing php.ini file in which the extension_dir directive was not disabled. Commenting that directive does the trick. :) So the correct procedure should then be: 1) Update the ports tree using CVSup 2) Build the /usr/ports/lang/php4 port (= 4.3.10 -> make install) 3) Build the /usr/ports/lang/php4-extensions port 4) Build several extensions I need (GD, MySQL, session), again, I did do a make install 5) Comment out the extension_dir directive in php.ini 6) Restart Apache Cheers! Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Properly installing PHP4 extensions under Apache 1.3.x
Hi, A while ago the topic was raised about how to properly install PHP 4.3.8+ versions with their required extensions, under Apache 1.3.x. I'm doing so just now, but I seem to be missing one step, as the extensions do not seem to get picked up. Here's what I did: 1) Update the ports tree using CVSup 2) Build the /usr/ports/lang/php4 port (= 4.3.10 -> make install) 3) Build the /usr/ports/lang/php4-extensions port 4) Build several extensions I need (GD, MySQL, session), again, I did do a make install 5) Restart Apache Double checking the installation shows: pkg_info | grep php php4-4.3.10 PHP Scripting Language (Apache Module and CLI) php4-gd-4.3.10 The gd shared extension for php php4-mysql-4.3.10 The mysql shared extension for php php4-session-4.3.10 The session shared extension for php O.k., so that goes alright. Yet, I do not see any of these extensions getting picked up, and I wonder on the one hand what I am missing exactly, and on the other hand what the easiest (or best) way is to fix this. Can anyone tell me something more about the following: 1) How do I get these extensions to be picked up (using the configure tool in the php4 ports? adding entries to Apache's httpd.conf file? something else?) 2) Is this really the easiest way to go? It seems to be somewhat cumbersome to have to install all extensions this way. When building the php4-extensions port I was prompted for which extensions I wanted to install. I was hoping some form of "master Makefile" would result from that, allowing me to install the previously selected extensions all in one go, rather than having to install each one of them manually. Thanks a lot in advance, and cheers! Olafo ___ 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
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]"
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]"
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-extensions broken dependency
On Tue, Nov 16, 2004 at 04:01:38PM +0100, Benjamin Thelen wrote: > Matthew Seaman wrote: > >On Tue, Nov 09, 2004 at 09:06:46AM -0500, dave wrote: > >> I've installed apache2 and mod_php4 and configured the extensions_dir > >>setting in php.ini. I then went to install lang/php4-extensions, but one > >>of > >>the extensions i selected is mcve, marked as broken. When i try to get > >>around this the install detects my previous configuration choices. A make > >>clean;make distclean does not solve this. Suggestions welcome. > >See ports(7): > > > > > ># make rmconfig > > > >or > > > ># make configure > I've stumbled across your answer regarding the manpage ports(7). I'm > running 4.10-RELEASE-p3. The target showconfig (didn't want to delete > my config) is working, but not docoumented in the manpage. I suppose > rmconfig would run as well and isn't documented, too. How is this? I > found these targets documented in the online manpage of 5.3-RELEASE > and Ports. Hmmm... Well the ports(7) man page for 4.10-STABLE certainly covers rmconfig and showconfig. I'd have thought it would have been in there for 4.10-RELEASE as well. 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 pgpSCnGi6jZ6f.pgp Description: PGP signature
Re: php4-extensions broken dependency
Matthew Seaman wrote: On Tue, Nov 09, 2004 at 09:06:46AM -0500, dave wrote: I've installed apache2 and mod_php4 and configured the extensions_dir setting in php.ini. I then went to install lang/php4-extensions, but one of the extensions i selected is mcve, marked as broken. When i try to get around this the install detects my previous configuration choices. A make clean;make distclean does not solve this. Suggestions welcome. See ports(7): # make rmconfig or # make configure Cheers, Matthew I've stumbled across your answer regarding the manpage ports(7). I'm running 4.10-RELEASE-p3. The target showconfig (didn't want to delete my config) is working, but not docoumented in the manpage. I suppose rmconfig would run as well and isn't documented, too. How is this? I found these targets documented in the online manpage of 5.3-RELEASE and Ports. Thanks, Ben ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: php4-extensions broken dependency
On Tue, Nov 09, 2004 at 09:06:46AM -0500, dave wrote: > I've installed apache2 and mod_php4 and configured the extensions_dir > setting in php.ini. I then went to install lang/php4-extensions, but one of > the extensions i selected is mcve, marked as broken. When i try to get > around this the install detects my previous configuration choices. A make > clean;make distclean does not solve this. Suggestions welcome. See ports(7): # make rmconfig or # make configure 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 pgpxxeodyUm9z.pgp Description: PGP signature
php4-extensions broken dependency
Hello, I've installed apache2 and mod_php4 and configured the extensions_dir setting in php.ini. I then went to install lang/php4-extensions, but one of the extensions i selected is mcve, marked as broken. When i try to get around this the install detects my previous configuration choices. A make clean;make distclean does not solve this. Suggestions welcome. Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to get php4 extensions to "show up"?
--On Wednesday, August 18, 2004 08:46:58 AM -0700 Mike <[EMAIL PROTECTED]> wrote: Greetings, I'm running 4.10. And I just and ran portupgrade and got php-4.3.8. I read the UPDATING file and noticed that the php4 extensions are now installed separately [/usr/ports/lang/php4-extensions]. Did you comment out the extensions_dir parameter in php.ini? Note: I'm running Apache-1.3.31 So I installed (make install && make clean) the php4 extensions using the curses based screen. Aside from MySQL support (a default) I choose bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support. The install and registration seemed to work without any errors. And all possible php extensions are listed in /usr/local/etc/php/extensions.ini OK. Sounds good. However, When I check php (phpinfo.php) with "http://192.168.1.40/~test1/phpinfo.php";, I get this from the "Configure Command" portion of the resulting php output: [Configure Command] './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' '--disable-cli' '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd4.10' Question: Where are the extensions I selected for installation??? I'm trying to install a CMS (MamboServer) and the CMS install routine reports that php DOES NOT have MySQL, zlib, or xml support. I've had previous success installing this CMS using an older version of php4 that did not have the extensions installation seperate. What am I missing? What I mentioned above? Make sure you've commented out the extensions_dir parameter in php.ini. 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: How to get php4 extensions to "show up"?
Matthew Seaman wrote: On Wed, Aug 18, 2004 at 08:46:58AM -0700, Mike wrote: I'm running 4.10. And I just and ran portupgrade and got php-4.3.8. I read the UPDATING file and noticed that the php4 extensions are now installed separately [/usr/ports/lang/php4-extensions]. Note: I'm running Apache-1.3.31 So I installed (make install && make clean) the php4 extensions using the curses based screen. Aside from MySQL support (a default) I choose bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support. The install and registration seemed to work without any errors. And all possible php extensions are listed in /usr/local/etc/php/extensions.ini However, When I check php (phpinfo.php) with "http://192.168.1.40/~test1/phpinfo.php";, I get this from the "Configure Command" portion of the resulting php output: [Configure Command] './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' '--disable-cli' '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd4.10' Question: Where are the extensions I selected for installation??? I'm trying to install a CMS (MamboServer) and the CMS install routine reports that php DOES NOT have MySQL, zlib, or xml support. I've had previous success installing this CMS using an older version of php4 that did not have the extensions installation seperate. What am I missing? Check your /usr/local/etc/php.ini file and make sure that the 'extension_dir' property is commented out: ; Directory in which the loadable extensions (modules) reside. ; extension_dir = "./" If you're running using mod_php4, make sure to restart apache so that changes to php.ini are picked up. That will let PHP use the correct, compiled in value (which should be /usr/local/lib/php/20020429 for PHP4, or /usr/local/lib/php/20040412 for PHP5) All of your extensions should be visible in that directory as dynamically loadable .so shared objects. Cheers, Matthew Matthew, BINGO! That did it. Thank you. I THOUGHT I had read the UPDATING file pertaining to PHP but I missed the sentence on commenting out the "extension_dir" [sigh]. Michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to get php4 extensions to "show up"?
Odhiambo Washington wrote: * Mike <[EMAIL PROTECTED]> [20040818 18:47]: wrote: Greetings, I'm running 4.10. And I just and ran portupgrade and got php-4.3.8. I read the UPDATING file and noticed that the php4 extensions are now installed separately [/usr/ports/lang/php4-extensions]. Note: I'm running Apache-1.3.31 So I installed (make install && make clean) the php4 extensions using the curses based screen. Aside from MySQL support (a default) I choose bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support. The install and registration seemed to work without any errors. And all possible php extensions are listed in /usr/local/etc/php/extensions.ini However, When I check php (phpinfo.php) with "http://192.168.1.40/~test1/phpinfo.php";, I get this from the "Configure Command" portion of the resulting php output: [Configure Command] './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' '--disable-cli' '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd4.10' Question: Where are the extensions I selected for installation??? I'm trying to install a CMS (MamboServer) and the CMS install routine reports that php DOES NOT have MySQL, zlib, or xml support. I've had previous success installing this CMS using an older version of php4 that did not have the extensions installation seperate. What am I missing? In my /usr/local/etc/php.ini, I added include_path = ".:/usr/local/lib/php:/usr/local/lib/php/20020429" Try that and test again! Hmm.. I tried adding the "include_path ..." AND I tried modifying the "extension_dir" (Dan's idea). But no go. The extension are still not showing up. Any further ideas? Michael -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]> Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -- Woody Allen, "Without Feathers" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to get php4 extensions to "show up"?
On Wed, Aug 18, 2004 at 08:46:58AM -0700, Mike wrote: > I'm running 4.10. And I just and ran portupgrade and got php-4.3.8. I > read the UPDATING file and noticed that the php4 extensions are now > installed separately [/usr/ports/lang/php4-extensions]. > > Note: I'm running Apache-1.3.31 > > So I installed (make install && make clean) the php4 extensions using > the curses based screen. Aside from MySQL support (a default) I choose > bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support. > > The install and registration seemed to work without any errors. And all > possible php extensions are listed in /usr/local/etc/php/extensions.ini > > However, > > When I check php (phpinfo.php) with > "http://192.168.1.40/~test1/phpinfo.php";, I get this from the "Configure > Command" portion of the resulting php output: > > [Configure Command] > './configure' '--enable-versioning' '--enable-memory-limit' > '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' > '--disable-all' '--with-regex=php' '--disable-cli' > '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' > 'i386-portbld-freebsd4.10' > > Question: Where are the extensions I selected for installation??? > > I'm trying to install a CMS (MamboServer) and the CMS install routine > reports that php DOES NOT have MySQL, zlib, or xml support. > > I've had previous success installing this CMS using an older version of > php4 that did not have the extensions installation seperate. > > What am I missing? Check your /usr/local/etc/php.ini file and make sure that the 'extension_dir' property is commented out: ; Directory in which the loadable extensions (modules) reside. ; extension_dir = "./" If you're running using mod_php4, make sure to restart apache so that changes to php.ini are picked up. That will let PHP use the correct, compiled in value (which should be /usr/local/lib/php/20020429 for PHP4, or /usr/local/lib/php/20040412 for PHP5) All of your extensions should be visible in that directory as dynamically loadable .so shared objects. 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 pgpYDTirkAoFk.pgp Description: PGP signature
How to get php4 extensions to "show up"?
Greetings, I'm running 4.10. And I just and ran portupgrade and got php-4.3.8. I read the UPDATING file and noticed that the php4 extensions are now installed separately [/usr/ports/lang/php4-extensions]. Note: I'm running Apache-1.3.31 So I installed (make install && make clean) the php4 extensions using the curses based screen. Aside from MySQL support (a default) I choose bz2, gettext, IMAP, calendar, ftp, zlib, xml, and imagick support. The install and registration seemed to work without any errors. And all possible php extensions are listed in /usr/local/etc/php/extensions.ini However, When I check php (phpinfo.php) with "http://192.168.1.40/~test1/phpinfo.php";, I get this from the "Configure Command" portion of the resulting php output: [Configure Command] './configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--with-regex=php' '--disable-cli' '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd4.10' Question: Where are the extensions I selected for installation??? I'm trying to install a CMS (MamboServer) and the CMS install routine reports that php DOES NOT have MySQL, zlib, or xml support. I've had previous success installing this CMS using an older version of php4 that did not have the extensions installation seperate. What am I missing? Regards, Michael Chinn ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"