Yii Framework Forum: Php Warnings In Yiic - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Php Warnings In Yiic Rate Topic: -----

#1 User is offline   nekdolan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 23-March 12

Posted 06 October 2012 - 05:13 AM

Yii used to work on this server, but I reinstalled manually everything and might have messed up php or apache in the process.

Ubuntu 8. with apache 2

When I try to create a web app I get the following errors:

Quote

root@vps236:/var/www# /var/yii/framework/yiic webapp work
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/gd.so' - /usr/lib/php5/20060613/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/ldap.so' - /usr/lib/php5/20060613/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/mhash.so' - /usr/lib/php5/20060613/mhash.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/mssql.so' - /usr/lib/php5/20060613/mssql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/odbc.so' - /usr/lib/php5/20060613/odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/pdo_dblib.so' - /usr/lib/php5/20060613/pdo_dblib.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/pdo_odbc.so' - /usr/lib/php5/20060613/pdo_odbc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/pdo_pgsql.so' - /usr/lib/php5/20060613/pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/pgsql.so' - /usr/lib/php5/20060613/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/recode.so' - /usr/lib/php5/20060613/recode.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/snmp.so' - /usr/lib/php5/20060613/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/xmlrpc.so' - /usr/lib/php5/20060613/xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/xsl.so' - /usr/lib/php5/20060613/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
Create a Web application under '/var/www/work'? (yes|no) [no]:

Will these cause problems?
0

#2 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 06 October 2012 - 05:28 AM

Your PHP config seems to contain outdated / wrong paths to certain modules. Check the files in /etc/php.d

Is this really Ubuntu 8?
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#3 User is offline   nekdolan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 23-March 12

Posted 06 October 2012 - 08:23 AM

View PostDa:Sourcerer, on 06 October 2012 - 05:28 AM, said:

Your PHP config seems to contain outdated / wrong paths to certain modules. Check the files in /etc/php.d

Is this really Ubuntu 8?

8.04.4 LTS

I don't have a php.d, but I have this with these:
root@vps236:/etc/php5/conf.d# ls
gd.ini mhash.ini mysql.ini odbc.ini pdo_dblib.ini pdo_odbc.ini pgsql.ini snmp.ini xsl.ini
ldap.ini mssql.ini mysqli.ini pdo.ini pdo_mysql.ini pdo_pgsql.ini recode.ini xmlrpc.ini
0

#4 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 06 October 2012 - 10:02 AM

Have you just copied over your old config? Chances are that these modules have not been installed properly. As far as I can see, none of them should keep Yii from running.
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#5 User is offline   nekdolan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 23-March 12

Posted 06 October 2012 - 10:54 AM

It should have been brand new. Well, if yii don't need them than it should work out somehow.

thanks
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users