[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with phpbb and mysql vi dselect



Angelo Bertolli wrote:

>Bill Warren wrote:
>  
>
>>
>>-----Original Message-----
>>From: Angelo Bertolli [mailto:angelo@freeshell.org]
>>Sent: Mon 12/18/2006 10:20 PM
>>To: Bill Warren
>>Cc: debian-user@lists.debian.org
>>Subject: Re: Problems with phpbb and mysql vi dselect
>>
>>Bill Warren wrote:
>>    
>>
>>>Hello,
>>>
>>>I have dselected phpbb2 and mysql. The database is done and works.
>>>When I go to http://mywebsite.com/phpbb the web page I get:
>>>
>>>The database module for the database you are using, MySQL, is not
>>>available. Please (re)install the php4-mysql package or if it's
>>>already installed, add extension=mysql.so to the relevant
>>>/etc/php4//php.ini and restart the webserver if appropriate.
>>>
>>>I went to /etc/php4/apache/php.ini and removed the uncommented the
>>>section where it talks about Dynamic Extensions and
>>>extension=mysql.so. Then I restarted apache. Apache restarts with the
>>>following error:
>>>
>>>Starting web server: apache-perlPHP Warning: Unknown(): Invalid
>>>library (maybe not a PHP library) 'mysql.so' in Unknown on line 0
>>>
>>>In /etc/php4/apache/php.ini it has a place for the directory and it is
>>>correct. So, I don't know why it does not like it.
>>>
>>>Any ideas?
>>>
>>>      
>>>
>>Well it said to make sure you had php4-mysql installed... do you have it
>>installed?
>>
>>dpkg -l | fgrep mysql
>>
>>
>>--
>>To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>>with a subject of "unsubscribe". Trouble? Contact
>>listmaster@lists.debian.org
>>
>>
>>Yep, when I run that command I get:
>>
>>marge:/# dpkg -l | fgrep mysql
>>ii  libdbd-mysql-p 2.9006-1       A Perl5 database interface to the
>>MySQL data
>>ii  libmysqlclient 4.0.24-10sarge mysql database client library
>>ii  mysql-client   4.0.24-10sarge mysql database client binaries
>>ii  mysql-common   4.0.24-10sarge mysql database common files (e.g.
>>/etc/mysql
>>rc  mysql-common-4 4.1.11a-4sarge mysql database common files (e.g.
>>/etc/mysql
>>ii  mysql-server   4.0.24-10sarge mysql database server binaries
>>rc  mysql-server-4 4.1.11a-4sarge mysql database server binaries
>>ii  php4-mysql     4.3.10-18      MySQL module for php4
>>
>>    
>>
>Hrmmm, sorry I'm out of ideas then... I don't have any experience with
>apache-perl and haven't used apache 1 for quite a while now.  I wonder
>why it says line 0.  That seems to be a clue as to what it's doing.
>
>Angelo
>
>
>  
>

Line 0 of /etc/php4/apache/php.ini is  "engine = On"  If I comment out
the line that it says I need, it starts with no problem.

Bill



Reply to: