Find the answer to your Linux question:
Results 1 to 3 of 3
Cutting straight to the chase... Installed php 5 (dev-lang/php), configured apache to use php (-D PHP5), setup mysql (and is working properly). Code: <?php phpinfo(); ?> Returns the proper info. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640

    Issues with phpbb & php


    Cutting straight to the chase...

    Installed php 5 (dev-lang/php), configured apache to use php (-D PHP5), setup mysql (and is working properly).

    Code:
    <?php
     phpinfo();
    ?>
    Returns the proper info.

    Yet, I emerged phpBB & tried to install it via the install scipt in /var/www/localhost/htdocs/phpBB/install/install.php

    But it returns this error:
    Code:
    Fatal error: Call to undefined function preg_match() in /var/www/localhost/htdocs/phpBB/install/install.php on line 206
    Research shows that I needed to use the "pcre" flag. I tried that with no success.

    I then added the "session" & "mysql", then removed "recode". I had to remove recode as it was conflicting with the "mysql" flag.

    That made no difference.
    What do I do? I seem to have exhausted almost all options.

    Thanks guys,
    ~weed
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  2. #2
    Just Joined!
    Join Date
    Feb 2007
    Posts
    1
    Perhaps you do'nt have this PB but I had the same (preg_match ... not found) and after recompil php with pcre and restart apache I didn't have this PB anymore.

    Do you try to restart apache after recompiling php ?

    David

  3. #3
    Linux Newbie
    Join Date
    Dec 2006
    Posts
    105
    I think there must be some variable to be changed to activate PHP in it...
    Unix, Linux tips...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •