DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th May 2012
casual casual is offline
New User
 
Join Date: May 2012
Posts: 1
Thanked 0 Times in 0 Posts
Default phpshield openbsd 5.1

hi there
I installed openbsd + mysql + php5.3 and phpmyadmin and all works so I went to install phpmotion.

Code:
pkg_add php-bz2-5.3.10.tgz php-curl-5.3.10.tgz php-dba-5.3.10.tgz
pkg_add php-dbase-5.2.17p5.tgz php-fastcgi-5.3.10.tgz
pkg_add php-gd-5.3.10.tgz php-gmp-5.3.10.tgz
pkg_add php-imap-5.3.10.tgz php-ldap-5.3.10.tgz php-mapscript-6.0.1p7.tgz
pkg_add php-mbstring php5-mcrypt php5-mhash
pkg_add php-mssql-5.3.10.tgz
pkg_add php-ncurses-5.2.17p5.tgz php-odbc-5.3.10.tgz php-pdo_dblib-5.3.10.tgz
pkg_add php-pdo_mysql-5.3.10.tgz php-pdo_pgsql-5.3.10.tgz
pkg_add php-pdo_sqlite-5.3.10.tgz php-pgsql-5.3.10.tgz
pkg_add php-pspell-5.3.10.tgz php-shmop-5.3.10.tgz php-snmp-5.3.10.tgz
pkg_add php-soap-5.3.10.tgz php-sqlite-5.3.10.tgz
pkg_add php-sybase_ct-5.3.10.tgz php-tidy-5.3.10.tgz php-xmlrpc-5.3.10.tgz
pkg_add php-xsl-5.3.10.tgz

ln -s /var/www/conf/modules.sample/php-5.2.conf \
        /var/www/conf/modules/php.conf

ln -fs /etc/php-5.2.sample/dbase.ini \
        /etc/php-5.2/dbase.ini

ln -fs /etc/php-5.3.sample/imap.ini \
        /etc/php-5.3/imap.ini

ln -fs /etc/php-5.3.sample/ldap.ini \
        /etc/php-5.3/ldap.ini

 ln -sf /usr/local/bin/python2.7 /usr/local/bin/python
 ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3
 ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config
 ln -sf /usr/local/bin/pydoc2.7  /usr/local/bin/pydoc

ln -fs /etc/php-5.3.sample/mssql.ini \
        /etc/php-5.3/mssql.ini

ln -fs /etc/php-5.2.sample/ncurses.ini \
        /etc/php-5.2/ncurses.ini

ln -fs /etc/php-5.3.sample/bz2.ini \
        /etc/php-5.3/bz2.ini


ln -fs /etc/php-5.3.sample/imap.ini \
        /etc/php-5.3/imap.ini

ln -fs /etc/php-5.3.sample/ldap.ini \
        /etc/php-5.3/ldap.ini

 ln -sf /usr/local/bin/python2.7 /usr/local/bin/python
 ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3
 ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config
 ln -sf /usr/local/bin/pydoc2.7  /usr/local/bin/pydoc

ln -fs /etc/php-5.3.sample/mssql.ini \
        /etc/php-5.3/mssql.ini

ln -fs /etc/php-5.2.sample/ncurses.ini \
        /etc/php-5.2/ncurses.ini

ln -fs /etc/php-5.3.sample/bz2.ini \
        /etc/php-5.3/bz2.ini

ln -fs /etc/php-5.3.sample/curl.ini \
        /etc/php-5.3/curl.ini

ln -fs /etc/php-5.3.sample/dba.ini \
        /etc/php-5.3/dba.ini

ln -fs /etc/php-5.3.sample/odbc.ini /etc/php-5.3/odbc.ini

ln -fs /etc/php-5.3.sample/odbc.ini \
        /etc/php-5.3/odbc.ini

ln -fs /etc/php-5.3.sample/pdo_dblib.ini \
        /etc/php-5.3/pdo_dblib.ini

ln -fs /etc/php-5.3.sample/pdo_mysql.ini \
        /etc/php-5.3/pdo_mysql.ini

ln -fs /etc/php-5.3.sample/pdo_pgsql.ini \
        /etc/php-5.3/pdo_pgsql.ini


ln -fs /etc/php-5.3.sample/pspell.ini \
        /etc/php-5.3/pspell.ini

ln -fs /etc/php-5.3.sample/shmop.ini \
        /etc/php-5.3/shmop.ini

ln -fs /etc/php-5.3.sample/snmp.ini \
        /etc/php-5.3/snmp.ini

ln -fs /etc/php-5.3.sample/sqlite.ini \
        /etc/php-5.3/sqlite.ini

ln -fs /etc/php-5.3.sample/tidy.ini \
        /etc/php-5.3/tidy.ini

ln -fs /etc/php-5.3.sample/xmlrpc.ini \
        /etc/php-5.3/xmlrpc.ini
pkg_add ffmpeg
my php.ini extension section looks like this

Code:
; On windows:
; extension_dir = "ext"
extension_dir = "/usr/local/lib/php-5.3/modules"

; Whether or not to enable the dl() function.  The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
; http://php.net/enable-dl
enable_dl = On
extension=ixed.5.3.ope
and ixed.5.3.ope is really in the direction,maybe try a (chmod 444 ixed*) ?
Code:
-r--r--r--  1 root  bin      25024 Feb  7 17:09 bz2.so
-r--r--r--  1 root  bin      73307 Feb  7 17:09 curl.so
-r--r--r--  1 root  bin      54104 Feb  7 17:09 dba.so
-r--r--r--  1 root  bin     338310 Feb  7 17:09 gd.so
-r--r--r--  1 root  bin      46949 Feb  7 17:09 gmp.so
-r--r--r--  1 root  bin      97105 Feb  7 17:09 imap.so
-rw-r--r--  1 root  bin      68172 Apr 20  2010 ixed.4.3.ope
-rw-r--r--  1 root  bin      69596 Apr 20  2010 ixed.4.3ts.ope
-rw-r--r--  1 root  bin      68172 Apr 20  2010 ixed.4.4.ope
-rw-r--r--  1 root  bin      69596 Apr 20  2010 ixed.4.4ts.ope
-rw-r--r--  1 root  bin      72524 Apr 20  2010 ixed.5.0.0.ope
-rw-r--r--  1 root  bin      73320 Apr 20  2010 ixed.5.0.0ts.ope
-rw-r--r--  1 root  bin      72524 Apr 20  2010 ixed.5.0.1.ope
-rw-r--r--  1 root  bin      73320 Apr 20  2010 ixed.5.0.1ts.ope
-rw-r--r--  1 root  bin      72524 Apr 20  2010 ixed.5.0.2.ope
-rw-r--r--  1 root  bin      73320 Apr 20  2010 ixed.5.0.2ts.ope
-rw-r--r--  1 root  bin      72524 Apr 20  2010 ixed.5.0.ope
-rw-r--r--  1 root  bin      73320 Apr 20  2010 ixed.5.0ts.ope
-rw-r--r--  1 root  bin      72524 Apr 20  2010 ixed.5.1.ope
-rw-r--r--  1 root  bin      76616 Apr 20  2010 ixed.5.1ts.ope
-rw-r--r--  1 root  bin      73068 Apr 20  2010 ixed.5.2.ope
-rw-r--r--  1 root  bin      76620 Apr 20  2010 ixed.5.2ts.ope
-rw-r--r--  1 root  wheel    72652 May 27 00:38 ixed.5.3
-rw-r--r--  1 root  bin      72652 Aug 24  2010 ixed.5.3.ope
-rw-r--r--  1 root  bin      76588 Aug 24  2010 ixed.5.3ts.ope
-rw-r--r--  1 root  wheel   660953 Sep 13  2010 ixed4.ope.x86-32.zip
-r--r--r--  1 root  bin      51059 Feb  7 17:09 ldap.so
-r--r--r--  1 root  bin    2231852 Feb  8 04:53 mapscript.so
-r--r--r--  1 root  bin      45800 Feb  7 17:09 mcrypt.so
-r--r--r--  1 root  bin      48301 Feb  7 17:09 mssql.so
-r--r--r--  1 root  bin      61466 Feb  7 17:09 mysql.so
-r--r--r--  1 root  bin     131488 Feb  7 17:09 mysqli.so
-r--r--r--  1 root  bin      66142 Feb  7 17:09 odbc.so
-r--r--r--  1 root  bin      18206 Feb  7 17:09 pdo_dblib.so
-r--r--r--  1 root  bin      34666 Feb  7 17:09 pdo_mysql.so
-r--r--r--  1 root  bin      39485 Feb  7 17:09 pdo_pgsql.so
-r--r--r--  1 root  bin      29000 Feb  7 17:09 pdo_sqlite.so
-r--r--r--  1 root  bin     120866 Feb  7 17:09 pgsql.so
-r--r--r--  1 root  bin      21845 Feb  7 17:09 pspell.so
-r--r--r--  1 root  bin      13200 Feb  7 17:09 shmop.so
-r--r--r--  1 root  bin      32875 Feb  7 17:09 snmp.so
-r--r--r--  1 root  bin     344081 Feb  7 17:09 soap.so
-r--r--r--  1 root  bin      80433 Feb  7 17:09 sqlite.so
-r--r--r--  1 root  bin      53338 Feb  7 17:09 tidy.so
-r--r--r--  1 root  bin      81909 Feb  7 17:09 xmlrpc.so
-r--r--r--  1 root  bin      37019 Feb  7 17:09 xsl.so

so a "php-5.3 -i | grep extension_dir" gives this

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php-5.3/modules/ixed.5.3.ope' - Cannot load specified object in Unknown on line 0
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/local/share/snmp/mibs
Cannot find module (OPENBSD-PF-MIB): At line 71 in /usr/share/snmp/mibs/OPENBSD-SNMPD-CONF.txt
Did not find 'pfMIBObjects' in module #-1 (/usr/share/snmp/mibs/OPENBSD-SNMPD-CONF.txt)
extension_dir => /usr/local/lib/php-5.3/modules => /usr/local/lib/php-5.3/modules
PHP Warning:  Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in Unknown on line 0
sqlite3.extension_dir => no value => no value
php-5.3:/usr/local/lib/php-5.3/modules/tidy.so: undefined symbol 'tidyReleaseDate'
lazy binding failed!
Segmentation fault (core dumped)
i tried also to start apache out of the chroot with *httpd -u" but didnt solve the problem

I think about move back to php 5.2.* and then try again but I dont know

any ideas?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick