Torna indietro   Hardware Upgrade Forum > Software > Linux, Unix, OS alternativi

ASUS NUC 15 Pro e NUC 15 Pro+, mini PC che fondono completezza e duttilità
ASUS NUC 15 Pro e NUC 15 Pro+, mini PC che fondono completezza e duttilità
NUC 15 Pro e NUC 15 Pro+ sono i due nuovi mini-PC di casa ASUS pensati per uffici e piccole medie imprese. Compatti, potenti e pieni di porte per la massima flessibilità, le due proposte rispondono in pieno alle esigenze attuali e future grazie a una CPU con grafica integrata, accompagnata da una NPU per la gestione di alcuni compiti AI in locale.
Cybersecurity: email, utenti e agenti IA, la nuova visione di Proofpoint
Cybersecurity: email, utenti e agenti IA, la nuova visione di Proofpoint
Dal palco di Proofpoint Protect 2025 emerge la strategia per estendere la protezione dagli utenti agli agenti IA con il lancio di Satori Agents, nuove soluzioni di governance dei dati e partnership rafforzate che ridisegnano il panorama della cybersecurity
Hisense A85N: il ritorno all’OLED è convincente e alla portata di tutti
Hisense A85N: il ritorno all’OLED è convincente e alla portata di tutti
Dopo alcuni anni di assenza dai cataloghi dei suoi televisori, Hisense riporta sul mercato una proposta OLED che punta tutto sul rapporto qualità prezzo. Hisense 55A85N è un televisore completo e versatile che riesce a convincere anche senza raggiungere le vette di televisori di altra fascia (e altro prezzo)
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 02-02-2005, 15:29   #1
Zeno Cosini
Senior Member
 
L'Avatar di Zeno Cosini
 
Iscritto dal: Jan 2004
Città: Giussano (MI)
Messaggi: 1019
Apache => non funziona il php

Ciao ragazzi, ho un piccolo problemino...
Ho installato Gentoox sulla mia Xbox, funziona tutto correttamente, ho installato Mysql, Apache e mod_php.
Apache funziona solo che non capisco perchè non mi interpreta il codice in PHP...
Come ho specificato sopra ho installato la modphp quindi non riesco a capire perchè non vada...

Se vi posto i file di configurazione qualcuno potrebbe darmi una mano?

grazie in anticipo!!!

-edit-

Il problema risulta ai miei occhi ancora più strano...

questo codice lo interpreta
Codice PHP:
<?php
phpinfo
();
?>
mentre se punto il browser sul file index.php di phpmyadmin mi visualizza solo codice e nulla di grafico...
__________________

Vendo: P4 3,2 ghz | P4 2,66 ghz | iBook G4 12"

Ultima modifica di Zeno Cosini : 02-02-2005 alle 15:39.
Zeno Cosini è offline   Rispondi citando il messaggio o parte di esso
Old 02-02-2005, 16:14   #2
nico159
Senior Member
 
Iscritto dal: Aug 2003
Città: Barletta (BA)
Messaggi: 939
Nel file httpd.conf ci stanno queste righe?
----
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
----
__________________
In a world without fences, who needs Gates?
Power by: Fedora 8 - Mac OS X 10.4.11
nico159 è offline   Rispondi citando il messaggio o parte di esso
Old 02-02-2005, 16:27   #3
rollopack
Senior Member
 
L'Avatar di rollopack
 
Iscritto dal: Dec 1999
Città: Valle d'Aosta
Messaggi: 495
Ma la cartella di phpmyadmin é in una directory di apache (/var/www) o é posizionata altrove?
rollopack è offline   Rispondi citando il messaggio o parte di esso
Old 02-02-2005, 16:34   #4
nico159
Senior Member
 
Iscritto dal: Aug 2003
Città: Barletta (BA)
Messaggi: 939
Quote:
Originariamente inviato da rollopack
Ma la cartella di phpmyadmin é in una directory di apache (/var/www) o é posizionata altrove?
Credo che sia in /var/www oppure non vedo come abbia fatto a richiamarla
__________________
In a world without fences, who needs Gates?
Power by: Fedora 8 - Mac OS X 10.4.11
nico159 è offline   Rispondi citando il messaggio o parte di esso
Old 02-02-2005, 20:40   #5
Zeno Cosini
Senior Member
 
L'Avatar di Zeno Cosini
 
Iscritto dal: Jan 2004
Città: Giussano (MI)
Messaggi: 1019
esatto nico... è in /var/www/localhost/htdocs
cmq poco dopo aver postato misteriosamente ha iniziato a leggere il php, magari era rimasto in cache la vecchia pagina e non visualizzava la nuova interpretando il php...
cmq visto che siete stati così gentili ad intervenire ora ho una ltro problema:
sono sicuro che il database MySql ed il php funzionino, questo perchè per fare una prova ho installato un forum phpBB e funziona a meraviglia.
Ho installato phpmyadmin ma non ne vuole sapere si funzionare, inizialmente era a causa di un errore che ho scovato che mi promptava una maschera per il login, mentre ora il problema è un altro ma non riesco proprio a capire di cosa si tratti, google non mi è stato amico e in un'ora di ricerche nn ho risolto nulla...
ecco il file config.inc.php:
Codice PHP:
?php
/* $Id: config.inc.php,v 2.47 2004/11/03 13:45:25 garvinhicking Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:

/**
 * phpMyAdmin Configuration File
 *
 * All directives are explained in Documentation.html
 */


/**
 * Sets the php error reporting - Please do not change this line!
 */
if (!isset($old_error_reporting)) {
    
error_reporting(E_ALL);
    @
ini_set('display_errors''1');
}
}


/**
 * Your phpMyAdmin url
 *
 * Complete the variable below with the full url ie
 *    [url]http://www.your_web.net/path_to_your_phpMyAdmin_directory/[/url]
 *
 * It must contain characters that are valid for a URL, and the path is
 * case sensitive on some Web servers, for example Unix-based servers.
 *
 * In most cases you can leave this variable empty, as the correct value
 * will be detected automatically. However, we recommend that you do
 * test to see that the auto-detection code works in your system. A good
 * test is to browse a table, then edit a row and save it.  There will be
 * an error message if phpMyAdmin cannot auto-detect the correct value.
 *
 * If the auto-detection code does work properly, you can set to TRUE the
 *
 * If the auto-detection code does work properly, you can set to TRUE the
 * $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
 */
$cfg['PmaAbsoluteUri'] = 'http://Xbox/phpmyadmin/';


/**
 * Disable the default warning about $cfg['PmaAbsoluteUri'] not being set
 * You should use this if and ONLY if the PmaAbsoluteUri auto-detection
 * works perfectly.
 */
$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;

/**
 * Disable the default warning that is displayed on the DB Details Structure pa$
 * any of the required Tables for the relationfeatures could not be found
 */
$cfg['PmaNoRelation_DisableWarning']  = FALSE;
 */
$cfg['PmaNoRelation_DisableWarning']  = FALSE;

/**
 * The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
 * at least one server configuration uses 'cookie' auth_type, enter here a
 * passphrase that will be used by blowfish.
 */
$cfg['blowfish_secret'] = '';

/**
 * Server(s) configuration
 */
$i 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1].  Do not use $cfg['$
// You can disable a server config entry by setting host to ''.
$i++;
$cfg['Servers'][$i]['host']          = 'Xbox'// MySQL hostname or IP address
$cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank$
$cfg['Servers'][$i]['socket']        = '';          // Path to the socket - lea$
$cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to MySQL $
$cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension $
$cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol $
                                                    // (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser']   = '';       // MySQL control user settings
                                                    // (this user must have rea$
$cfg['Servers'][$i]['controlpass']   = '';
                                                    
// access to the "mysql/use$
                                                    // and "mysql/db" tables).
                                                    // The controluser is also
                                                    // used for all relational
                                                    // features (pmadb)
$cfg['Servers'][$i]['auth_type']     = 'config';      // Authentication method $
$cfg['Servers'][$i]['user']          = 'root';      // MySQL user
$cfg['Servers'][$i]['password']      = 'gentoox';          // MySQL password (o$
                                                    // with 'config' auth_type)
$cfg['Servers'][$i]['only_db']       = '';          // If set to a db-name, only
                                                    // this db is displayed in $
                                                    // It may also be an array $
$cfg['Servers'][$i]['verbose']       = '';          // Verbose name for this ho$

$cfg['Servers'][$i]['pmadb']         = 'pmadb';     // Database used for Relati$
                                                    // (see scripts/create_tabl$
                                                    //   - leave blank for no s$
                                                    //     DEFAULT: 'phpmyadmin'
$cfg['Servers'][$i]['bookmarktable'] = 'PMA_bookmark';
                                                    
// Bookmark table
                                                    //   - leave blank for no b$
                                                    //     DEFAULT: 'pma_bookma$
$cfg['Servers'][$i]['relation']      = 'PMA_relation';
                                                    
// table to describe the re$
                                                    //   - leave blank for no r$
                                                    //     DEFAULT: 'pma_relati$
                                                    //   - leave blank for no r$
                                                    //     DEFAULT: 'pma_relati$
$cfg['Servers'][$i]['table_info']    = 'PMA_table_info';
                                                    
// table to describe the di$
                                                    //   - leave blank for no d$
                                                    //     DEFAULT: 'pma_table_$
$cfg['Servers'][$i]['table_coords']  = 'PMA_table_coords';
                                                    
// table to describe the ta$
                                                    //   - leave blank for no P$
                                                    //     DEFAULT: 'pma_table_$
$cfg['Servers'][$i]['pdf_pages']     = 'PMA_pdf_pages';
                                                    
// table to describe pages $
                                                    //   - leave blank if you d$
                                                    //     DEFAULT: 'pma_pdf_pa$
$cfg['Servers'][$i]['column_info']   = 'PMA_column_info';
                                                    
// table to store column in$
                                                    //   - leave blank for no c$
                                                    //     DEFAULT: 'pma_column$
$cfg['Servers'][$i]['history']       = 'PMA_history';
                                                    
//     DEFAULT: 'pma_column$
$cfg['Servers'][$i]['history']       = 'PMA_history';
                                                    
// table to store SQL histo$
                                                    //   - leave blank for no S$
                                                    //     DEFAULT: 'pma_histor$
$cfg['Servers'][$i]['verbose_check'] = TRUE;        // set to FALSE if you know$
                                                    // are up to date. This pre$
                                                    // checks and thereby incre$
$cfg['Servers'][$i]['AllowRoot']     = TRUE;        // whether to allow root lo$
$cfg['Servers'][$i]['AllowDeny']['order']           // Host authentication orde$
                                     
'';
$cfg['Servers'][$i]['AllowDeny']['rules']           // Host authentication rule$
                                     
= array();


$i++;
$cfg['Servers'][$i]['host']            = '';
$cfg['Servers'][$i]['port']            = '';
$cfg['Servers'][$i]['socket']          = '';
$cfg['Servers'][$i]['connect_type']    = 'tcp';
$cfg['Servers'][$i]['extension']       = 'mysql';
$cfg['Servers'][$i]['compress']        = FALSE;
$cfg['Servers'][$i]['controluser']     = '';
$cfg['Servers'][$i]['controlpass']     = '';
$cfg['Servers'][$i]['auth_type']       = 'config';
$cfg['Servers'][$i]['user']            = 'root';
$cfg['Servers'][$i]['password']        = '';
$cfg['Servers'][$i]['only_db']         = '';
$cfg['Servers'][$i]['verbose']         = '';
$cfg['Servers'][$i]['pmadb']           = ''// 'phpmyadmin' - see scripts/create_tables.sql
$cfg['Servers'][$i]['bookmarktable']   = ''// 'pma_bookmark'
$cfg['Servers'][$i]['relation']        = ''// 'pma_relation'
$cfg['Servers'][$i]['table_info']      = ''// 'pma_table_info'
$cfg['Servers'][$i]['table_coords']    = ''// 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages']       = ''// 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info']     = ''// 'pma_column_info'
$cfg['Servers'][$i]['history']         = ''// 'pma_history'
$cfg['Servers'][$i]['verbose_check']   = TRUE;
$cfg['Servers'][$i]['AllowRoot']       = TRUE;
$cfg['Servers'][$i]['AllowDeny']['order']
$cfg['Servers'][$i]['AllowRoot']       = TRUE;
$cfg['Servers'][$i]['AllowDeny']['order']
                                       = 
'';
$cfg['Servers'][$i]['AllowDeny']['rules']
                                       = array();

$i++;
$cfg['Servers'][$i]['host']            = '';
$cfg['Servers'][$i]['port']            = '';
$cfg['Servers'][$i]['socket']          = '';
$cfg['Servers'][$i]['connect_type']    = 'tcp';
$cfg['Servers'][$i]['extension']       = 'mysql';
$cfg['Servers'][$i]['compress']        = FALSE;
$cfg['Servers'][$i]['controluser']     = '';
$cfg['Servers'][$i]['controlpass']     = '';
$cfg['Servers'][$i]['auth_type']       = 'config';
$cfg['Servers'][$i]['user']            = 'root';
$cfg['Servers'][$i]['password']        = '';
$cfg['Servers'][$i]['only_db']         = '';
$cfg['Servers'][$i]['verbose']         = '';
$cfg['Servers'][$i]['pmadb']           = ''// 'phpmyadmin' - see scripts/create_tables.sql
$cfg['Servers'][$i]['bookmarktable']   = ''// 'pma_bookmark'
$cfg['Servers'][$i]['relation']        = ''// 'pma_relation'
$cfg['Servers'][$i]['table_info']      = ''// 'pma_table_info'
$cfg['Servers'][$i]['table_coords']    = ''// 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages']       = ''// 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info']     = ''// 'pma_column_info'
$cfg['Servers'][$i]['history']         = ''// 'pma_history'
$cfg['Servers'][$i]['verbose_check']   = TRUE;
$cfg['Servers'][$i]['AllowRoot']       = TRUE;

$cfg['Servers'][$i]['AllowDeny']['order']
                                       = 
'';
$cfg['Servers'][$i]['AllowDeny']['rules']
                                       = array();

// If you have more than one server configured, you can set $cfg['ServerDefault']
// to any one of them to autoconnect to that server when phpMyAdmin is started,
// or set it to 0 to be given a list of servers without logging in
// If you have only one server configured, $cfg['ServerDefault'] *MUST* be
// or set it to 0 to be given a list of servers without logging in
// If you have only one server configured, $cfg['ServerDefault'] *MUST* be
// set to that server.
$cfg['ServerDefault'] = 1;              // Default server (0 = no default server)
$cfg['Server']        = '';
unset(
$cfg['Servers'][0]);


/**
 * Other core phpMyAdmin settings
 */
$cfg['OBGzip']                  = 'auto'// use GZIP output buffering if possible (TRUE|FALSE|'auto')
$cfg['PersistentConnections']   = FALSE;  // use persistent connections to MySQL database
$cfg['ExecTimeLimit']           = 300;    // maximum execution time in seconds (0 for no limit)
$cfg['SkipLockedTables']        = FALSE;  // mark used tables, make possible to show
                                          // locked tables (since MySQL 3.23.30)
$cfg['ShowSQL']                 = TRUE;   // show SQL queries as run
$cfg['AllowUserDropDatabase']   = FALSE;  // show a 'Drop database' link to normal users
$cfg['Confirm']                 = TRUE;   // confirm 'DROP TABLE' & 'DROP DATABASE'
$cfg['LoginCookieRecall']       = TRUE;   // recall previous login in cookie auth. mode or not
$cfg['LoginCookieValidity']     = 1800;   // validity of cookie login (in seconds)
$cfg['UseDbSearch']             = TRUE;   // whether to enable the "database search" feature
                                          // or not
$cfg['IgnoreMultiSubmitErrors'] = FALSE;  // if set to true, PMA continues computing multiple-statement queries
                                          // even if one of the queries failed
$cfg['VerboseMultiSubmit']      = TRUE;   // if set to true, PMA will show the affected rows of EACH statement on
                                          // multiple-statement queries. See the read_dump.php file for hardcoded
                                          // defaults on how many queries a statement may contain!
$cfg['AllowArbitraryServer']    = FALSE;  // allow login to any user entered server in cookie based auth

// Left frame setup
$cfg['LeftFrameLight']        = TRUE;    // use a select-based menu and display only the
                                         // current tables in the left frame.
$cfg['LeftFrameTableSeparator']= '__';   // Which string will be used to generate table prefixes
                                         // to split/nest tables into multiple categories
$cfg['LeftFrameTableLevel']   = '1';     // How many sublevels should be displayed when splitting
                                         // up tables by the above Separator
$cfg['ShowTooltip']           = TRUE;    // display table comment as tooltip in left frame
$cfg['ShowTooltipAliasDB']    = FALSE;   // if ShowToolTip is enabled, this defines that table/db comments
$cfg['ShowTooltipAliasTB']    = FALSE;   // are shown (in the left menu and db_details_structure) instead of




[...]eccetera eccetera 
__________________

Vendo: P4 3,2 ghz | P4 2,66 ghz | iBook G4 12"

Ultima modifica di Zeno Cosini : 02-02-2005 alle 20:44.
Zeno Cosini è offline   Rispondi citando il messaggio o parte di esso
Old 02-02-2005, 21:25   #6
Zeno Cosini
Senior Member
 
L'Avatar di Zeno Cosini
 
Iscritto dal: Jan 2004
Città: Giussano (MI)
Messaggi: 1019
Ho risolto. come sempre era una stupidaggine...
come host al posto di Xbox dovevo mettere localhost...
grazie a tutti cmq!
__________________

Vendo: P4 3,2 ghz | P4 2,66 ghz | iBook G4 12"
Zeno Cosini è offline   Rispondi citando il messaggio o parte di esso
 Rispondi


ASUS NUC 15 Pro e NUC 15 Pro+, mini PC che fondono completezza e duttilità ASUS NUC 15 Pro e NUC 15 Pro+, mini PC che fondo...
Cybersecurity: email, utenti e agenti IA, la nuova visione di Proofpoint Cybersecurity: email, utenti e agenti IA, la nuo...
Hisense A85N: il ritorno all’OLED è convincente e alla portata di tutti Hisense A85N: il ritorno all’OLED è convi...
Acer TravelMate P6 14 AI: il Copilot+ PC sotto il chilo per il professionista in movimento Acer TravelMate P6 14 AI: il Copilot+ PC sotto i...
Recensione Borderlands 4, tra divertimento e problemi tecnici Recensione Borderlands 4, tra divertimento e pro...
Imgur blocca gli utenti del Regno Unito:...
ROG Xbox Ally già in consegna: qu...
Ubisoft annuncia Vantage Studios: Assass...
Il solare diventa la prima fonte di elet...
Google Home si rinnova completamente: ar...
Dense Geometry Format (DGF): novit&agrav...
Gemini for Home arriva a ottobre sui dis...
Amazon Smart Air Quality Monitor: a soli...
Mazzata Raspberry Pi, i prezzi aumentano...
Amazon Seconda Mano - Warehouse: extra s...
Una giornata smart tra lago e montagna: ...
Google lancia le nuove Nest Cam con vide...
Sembra Temu ma non è: Amazon sfid...
Svizzera, tassazione dei veicoli elettri...
Una stampante a getto di inchiostro 'lib...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 17:04.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Served by www3v