Jump to content
php.lv forumi

Recommended Posts

Posted

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.

Posted

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?

Posted (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 by vitalja

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...