apache13_modssl + mod_php4 + php4-extenstions + mysql323-* +myphpadmin = ...

Ken Hawkins rosewoodblues at mac.com
Tue Feb 1 13:00:44 PST 2005



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: owner-freebsd-questions at freebsd.org
>> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Ken Hawkins
>> Sent: Tuesday, February 01, 2005 2:16 PM
>> To: freebsd-questions at 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 and everything is up and
>> running however from phpmyadmin I am getting the above mentioned error
>> when trying to use phpmyadmin from a webpage.
>>
>> I have seen the various supposed fixes and have tried a few. I do not
>> get the =20 after the error and have tried ripping out everything.
>> installing php4-pear then apache13-modssl, mysql323-server / client 
>> and
>> myphpadmin yet i still get this!
>>
>> can someone please give me the definitive fix for this? is there one?
>>
>> sorry to sound frustrated, loosing a day tracking this down is no fun
>>
>> ken;
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>>
>>
>> Hello,
>>
>> Looks like PHP missing the PCRE (Perl Compatible Regular Expressions)
>> Support
>>
>> <?php phpinfo(); ?>
>> Should 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 well 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
>

not sure if this has something to do with it but when i tried to force 
an install of php4-pcre i got:

pkg_add: can't open dependency file 
'/var/db/pkg/apache-1.3.33/+REQUIRED_BY'!
dependency registration is incomplete
pkg_add: warning: package 'php4-pcre-4.3.9' requires 'php4-4.3.9', but 
'php4-4.3.10_2' is installed

this does not 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 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 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 shared extension for php
phpMyAdmin-2.6.1    A set of PHP-scripts to manage MySQL over the web

show 2 pacakges!

php4-pcre-4.3.10_2  The pcre shared extension for php
php4-pcre-4.3.9     The pcre shared extension for php

is this correct? i have the webserver up on

http://web1.prosoundweb.com/test/ if someone wants to see the phpinfo 
and can spot a blatant error...

thanks,
ken;



More information about the freebsd-questions mailing list