1. sayfa
" short_open_tag: on "
<?php ## URL $Config['URL'] =[ 'Default' => [ 'Require.www' => false, // www.example.com 'SSL.enabled' => true, // https:// 'Server' => 'localhost', 'Lang' => 'en_US' // GLOBAL. ], 'Other' => [ //'example.com' => ['Require.www' => false, 'SSL.enabled' => false, 'Lang' => 'es_ES', 'MySQL' => ['host' => '127.0.0.1','user' => 'root','pass' => '','dbname' => 'cmsdb']] ], 'devPrivateServer' => 'darkorbit.localhost' // servidor privado de desarrollo} ]; ## SQL Server Data $Config['MySQL'] = [ 'host' => '127.0.0.1', 'user' => 'root', 'pass' => '', 'dbname' => 'do' ]; ?>
$Config['URL'] = array( 'Default' => array( 'Require.www' => false, // www.example.com 'SSL.enabled' => true, // https:// 'Server' => '***', // public server 'Lang' => 'en_US' // GLOBAL. ) , 'Other' => '' //'example.com' => ['Require.www' => false, 'SSL.enabled' => false, 'Lang' => 'es_ES', 'MySQL' => ['host' => '127.0.0.1','user' => 'root','pass' => '','dbname' => 'cmsdb']] , 'devPrivateServer' => 'localhost' // private developer server ); $Config['MySQL'] = array( 'host' => '127.0.0.1', 'user' => '***', 'pass' => '***', 'dbname' => 'do' );
"
Parse error: syntax error, unexpected '[' in C:\xampp\KERNEL-DOCMS\Server.Config.php on line 3
"
XAMMP'dan php.ini'deki yaptım fakat hayla sorun çözülmedi
sorunun nasıl çözüleceğini yorum atarsanız sevinirim dosyadaki tüm bilgileri yazıyorum