Pingu
Computer MySQL PostgreSQL Books Publications
Spielereien Kanu Business TopoDB POI Klettersteigen History TransPool Thermal Baden Brokenstuben Goldwaschen
Blog Contact
Shinguz
Google
/ch/open

Mein PHP Notizen

Define user functions

include('./inc/getDbConnection.inc');
$arr = get_defined_functions();
print_r($arr['user']);

PHP modules

$ phpquery -h
Illegal option -h
WARNING: Unknown parameter specified
usage: phpquery [ -d ] [ -q ] -v version_name -s sapi_name [ -m module_name ] [ -M ] [ -S ] [ -V ]

$ phpquery -V
8.2

$ phpquery -v 8.2 -S
apache2
cli

$ phpquery -v 8.2 -s apache2 -M | grep mysql
mysqlnd
mysqli
pdo_mysql

$ phpenmod -v ALL -s cli fromdual_cli
$ phpenmod -v ALL -s apache2 fromdual_apache2

$ phpquery -v 8.2 -s apache2 -m fromdual_apache2
fromdual_apache2 (Enabled for apache2 by local administrator)

$ phpquery -v 8.2 -s cli -m fromdual_cli
fromdual_cli (Enabled for cli by local administrator)