vitalja Posted October 26, 2014 Report Share Posted October 26, 2014 Labdien, lietoju symfony. Uz sava locālā Apache viss darbojas, bez nekādas vainas, bet uzliekot kodu uz hostinga izmet " Fatal error: Class 'PDO' not found in public_html/main/vendor/doctrine/dbal/lib/Doctrine/DBAL/DriverManager.php on line 155" Esmu atradis ka varētu to izlabot http://stackoverflow.com/questions/7126227/pdo-and-pdo-mysql-loaded-but-class-not-found?rq=1 uzstādot pareizu extension_dir, bet man diemžel nav piekļuves php.ini failam. Lūdzu dodiet idejas, kā izlabot. Quote Link to comment Share on other sites More sharing options...
jurchiks Posted October 26, 2014 Report Share Posted October 26, 2014 php.ini extension=php_pdo.dll (vai .so) jābūt atkomentētam (bez ; pirms "extension"). Tas ir vienīgais variants. Un kas tas vispār par debīlu hostu, kuram nav pieejams PHP PDO? Diez kas vēl tur nav pieejams? Quote Link to comment Share on other sites More sharing options...
vitalja Posted October 26, 2014 Author Report Share Posted October 26, 2014 SSH arī nav pieejams, nez iespējams vel kas nav. Izvēlējos lētu hostu, vispār "kā izvēlēties hostingu", varētu būt labs temats. Quote Link to comment Share on other sites More sharing options...
vitalja Posted October 26, 2014 Author Report Share Posted October 26, 2014 (edited) Hostinga operātori deva atbildi, un tas palīdzēja. Cpanli var nomainīt PHP versiju un aktivizēt nepieciešamos modeļus. Tik vienkārš risinājums, bet patērēja daudz stundu. Edited October 26, 2014 by vitalja Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.