You are here: Re: How to configure MySql support? « PHP Programming Language « IT news, forums, messages
Re: How to configure MySql support?

Posted by deko on 06/09/07 15:10

> dpkg -l | grep apache
>
> See which version of Apache you are using. Apache 1.3 and Apache 2.x are
> both fairly common -- Debian provides packages of each. (Most distros do.)

myserver [/root] # dpkg -l | grep php
ii libapache2-mod-php5 5.2.0-8+etch4
ii php5 5.2.0-8+etch4
ii php5-common 5.2.0-8+etch4
ii php5-gd 5.2.0-8+etch4
ii php5-mcrypt 5.2.0-8+etch4
ii php5-mysql 5.2.0-8+etch4
ii phpmyadmin 2.9.1.1-3
myserver [root] # dpkg -l | grep apache
rc apache-common 1.3.34-4.1 *<<=== what does 'rc' mean? *
ii apache2-doc 2.2.3-4
ii apache2-mpm-prefork 2.2.3-4
ii apache2-utils 2.2.3-4
ii apache2.2-common 2.2.3-4
ii libapache2-mod-perl2 2.0.2-2.4
ii libapache2-mod-php5 5.2.0-8+etch4
ii libapache2-mod-python 3.2.10-4
myserver [/root] # apache2ctl -t -D DUMP_MODULES
Loaded Modules:
core_module (static)
log_config_module (static)
logio_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
mime_module (shared)
python_module (shared)
negotiation_module (shared)
perl_module (shared)
php5_module (shared)
setenvif_module (shared)
status_module (shared)
Syntax OK
myserver [/root] # mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.0.32-Debian_7etch1-log Debian etch distribution

===================================================

The problems now are:

-- blank page when accessing phpinfo.php
I tried adding 'AddType application/x-httpd-php .php' to my apache2.conf file
(and restarting apache), but no luck.
Do I have to recompile apache?

--Error when trying to access phpMyAdmin:
Error: 'The configuration file now needs a secret passphrase (blowfish_secret).'
I tried modifying config.inc.php by uncommenting this line:
$cfg['Servers'][$i]['auth_type'] = 'cookie';
but no luck.

Don't I need some mysql apache module loaded?
How do I tell apache2 to load a module?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация