thanks T, I followed your steps to the tee and still no go. I do have a php.ini in /usr/local/etc however and it appears to be picking up my include_path.
I just got done installing Horde/IMP and I hate to tell you but php.ini doesen't even exist. From the looks of it the ports people got together and worked out an alternative way of specifying variables for php instead of using php.ini. Probably to avoid the problems that you mentioned of ports overwriting php files. so what is this alternative way? i have to include some other paths... ken; On Tuesday, February 01, 2005, at 03:35PM, Thomas Foster <[EMAIL PROTECTED]> wrote: > ><<Original Attached>>
Well, the only items you really need in ht= tpd.conf are: ############################################# LoadModule php4_module libexec/apache2/libphp4.so DirectoryIndex index.php index.html index.htm ############################################# If you are using apache2 that is.. for apa= che1.3 i believe it is libexec/apache13 or libexec/apache It would help to make sure you have define= d mime types as well.. ############################################# application/x-httpd-php &= nbsp; php application/x-httpd-php-source phps ############################################# Be sure and restart apache and clear your = browser cache before trying to load the page/site again.. let me know your results T ----- Original Message ----- Fro= m: [1]Ke= n Hawkins To: [2]Thomas Foster Sent: Tuesday, February 01, 2005 3= :09 PM Subject: Re: apache13_modssl + mod= _php4 + php4-extenstions + mysql323-*+myphpadmin = ... T, thank you for all the info! it has been a learni= ng experience. my php.conf file shows: PHP_VER=4 PHP_VERSION=4.3.10 PHP_EXT_DIR=200204= 29 PHP_PORT=${PORTSDIR}/lang/php4 PHP_SAPI=full which jives with the pkg_info; [web1:lib/php/20020429] root# pkg_info | = grep php php4-4.3.10_2 PHP Scripting Language (Apache Module and CLI) php4-bz2-4.3.10_2 The bz2 shared extension for php php4-ctype-4.3.10_2 The ctype shared extension for php php4-dba-4.3.10_2 The dba shared extension for php php4-domxml-4.3.10_2 The domxml shared extension for php php4-gd-4.3.10_2 The gd shared extension for php php4-mysql-4.3= .10_2 The mysql shared extension for php php4-openssl-4.3.10_2 The openssl s= hared extension for php php4-overload-4.3.10_2 The overload shared extension= for php php4-pcre-4.3.10_2 The pcre shared extension for php php4-pear-4.3.10_2 PEAR framework for PHP php4-posix-4.3.10= _2 The posix shared extension for php php4-session-4.3.10_2 The session s= hared extension for php php4-tokenizer-4.3.10_2 The tokenizer shared extensi= on for php php4-xml-4.3.10_2 The xml shared extension for php php4-zlib-4.3.10_2 The zlib shared extension for php phpMyAdmin-2.6.1 A set of PHP-scripts to manage MySQL over the web and it is in the directory; [web1:lib/php/20020429] root#= ls bz2.so dba.so gd.so mysql.so overload.so pdf.so session.so xml.so ctype.so domxml.so imagick.so openssl.so pcre.so posix.s= o tokenizer.so zlib.so so it would appear that the file is there and= the config is correct as far php is concerned. anything i need to do other th an the LoadModule **php** stuff in the httpd.conf file? thanks again = for all your help! ken; On Feb 1, 2005, at 5:23 PM, Thomas Fos= ter wrote: Is your pcre extension still: php4-pcre-4.3.9 ? If so, try= forcing a pkg_delete of all your PHP4 extensions, and rebuild .. make distclean make config make install double check your php.c= onf for PHP_EXT_DIR= make sure that lib directory exists under /usr/local/lib/php pcre.so should be in that directory.. if for = any reason you need to manually remove the older version.. Hope this= helps T ----- Original Message ----- From: "Ken Hawki= ns" <[EMAIL PROTECTED]> To: "Thomas Foster" <[EMAIL PROTECTED]> Sent: Tuesday, February 01, 2005 2:12 PM Subject: Re: apache13_modssl + mod_php4 + php4-extenstions + mysql323-*+myphpadmin = ... thanks, I did that and PCRE is selected and is installed. the battle continues.... ken; On Feb = 1, 2005, at 4:59 PM, Thomas Foster wrote: try "make config" from /usr/ports/lang/php4-extensions Is PCRE already defined? try selecting the libs you need from here... and in= stall them Hope this helps T ----- Original Message ----= - From: "Ken Hawkins" <[EMAIL PROTECTED]> To: "Ken Hawki= ns" <[EMAIL PROTECTED]> Cc: <freebsd-questions@freebsd.org> Sent: Tuesday, February 01= , 2005 1:00 PM Subject: Re: apache13_modssl + mod_php4 + php4-extenstions + mysql323-*+myphpadmin = ... On Feb 1, 2005, at 3:42 PM, Ken Hawkins wrote: On Feb 1, 2005, at 3:29 PM, Andras Kende wrote: -----Original Message----- From: [EMAIL PROTECTED] [mailto:owner-freebsd-= [EMAIL PROTECTED] On Behalf Of Ken Hawkins Sent: Tuesday, February 01, 2005 = 2:16 PM To: freebsd-questions@freebsd.org Subject: apache13_modssl + mod_php4 + php4-extenstions + mysql323-* +myphpadmin = ... [Tue Feb 1 11:58:29 = 2005] [error] PHP Fatal error: Call to undefined function: preg_match() in /usr/local/www/phpMyAdmin/libraries/defines.lib.php on = line 36 I have re-installed the above mentioned ports a= nd everything is up and running however from phpmyadmin I am= getting the above mentioned error when trying to use phpmy= admin from a webpage. I have seen the various supposed fixes= and have tried a few. I do not get the =20 after the error a= nd have tried ripping out everything. installing php4-pear then apache13-modssl, mysql323-server / client and myphpadmin y= et i still get this! can someone please give me the definit= ive fix for this? is there one? sorry to sound frustrated,= loosing a day tracking this down is no fun ken; ______________________________________= _________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-que= stions To unsubscribe, send any mail to "[EMAIL PROTECTED]" He= llo, Looks like PHP missing the PCRE (Perl Compatible Regular Expressions) Support <?php phpinfo(); ?> S= hould have like: PCRE (Perl Compatible Regular Expressions)= Support | enabled PCRE Library Version | 4.5 01-December-2003 I have this: PWD= /usr/ports/devel/php4-pcre and _ENV["PWD"] /usr/ports/devel/php4-pcre but that is it. i have as wel= l installed php4-pcre to now avail ... any other? ken; Its also here: /usr/ports/devel/php4-pcre/ Best regards, Andras Kende http://www.kende.com ________________= _______________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-que= stions To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ [EMAIL PROTECTED] ebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-quest= ions To unsubscribe, send any mail to "[EMAIL PROTECTED]" not sure if this has something to do with it but when i tried to forc= e an install of php4-pcre i got: pkg_add: can't open dependency= file '/var/db/pkg/apache-1.3.33/+REQUIRED_BY'! dependency registrat= ion is incomplete pkg_add: warning: package 'php4-pcre-4.3.9' requ= ires 'php4-4.3.9', but 'php4-4.3.10_2' is installed this does n= ot seem to be a problem however, [web1:ports/devel/php4-pcre]= root# pkg_info | grep php php4-4.3.10_2 PHP Scripting Language= (Apache Module and CLI) php4-bz2-4.3.10_2 The bz2 shared exten= sion for php php4-gd-4.3.10_2 The gd shared extension for php php4-mysql-4.3.10_2 The mysql shared extension for php php4-openssl-4.3.10_2 The openssl shared extension for php php4-pcre-4.3.10_2 The pcre shared extension for php php4-pcre-4.3.9 The pcre shared extension for php php4-pear-4.3.10_2 PEAR framework for PHP php4-xml-4.3.= 10_2 The xml shared extension for php php4-zlib-4.3.10_2 The zlib s= hared extension for php phpMyAdmin-2.6.1 A set of PHP-scripts to man= age MySQL over the web show 2 pacakges! php4-pcre-4.3.1= 0_2 The pcre shared extension for php php4-pcre-4.3.9 The pcre sha= red extension for php is this correct? i have the webserver up= on http://web1.prosoundweb.com/test/ if someone wants to s= ee the phpinfo and can spot a blatant error... thanks, ken; __________________________= _____________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questio= ns To unsubscribe, send any mail to "[EMAIL PROTECTED]" <= BR> <= /HTML> References 1. 3D"mailto:[EMAIL PROTECTED]" 2. 3D"mailto:[EMAIL PROTECTED]"
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"