BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old October 5th, 2003, 04:48 PM
marcbey marcbey is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: hfgh
Posts: 2 marcbey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to marcbey Send a message via AIM to marcbey Send a message via Yahoo to marcbey
PHP4.x CLI on OpenBsd 3.3

Hey There.
I try to use to command line interface on a from source compiled php 4.3.4RC1 on i368 openbsd 3.3 stable without success.
when i do php -v on the php executable the shell only returns with strg c, but when i do pear -v on the pear executable i get the php version nummer.

Maybe someone can give me a hint!


my configure:
./configure --prefix=/var/www/php4 --with-apxs --disable-cgi --with-config-file-path=/var/www/php4 --with-pear=/var/www/pear --enable-calendar --with-tiff-dir=/usr/local/include --with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/local/include --with-dom=/usr/local/include/libxml --with-zlib-dir=/usr/include --with-dom-xslt=/usr/local/include/libxslt --enable-ftp --with-ttf=/usr/local/include/freetype --with-gettext=/usr/local/bin/gettext --with-mcrypt=/usr/local/bin/mcrypt --with-mysql --enable-sockets --enable-wddx --enable-shmop --with-mhash=/usr/local/include

Grettings,

Marc Beyerlin

Reply With Quote
  #2  
Old October 8th, 2003, 10:37 PM
pkplex pkplex is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: New Zealand
Posts: 28 pkplex User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to pkplex
Erm... why not use the php4 out of ports?

cd /usr/ports/www/php4/ && make install?

Reply With Quote
  #3  
Old October 8th, 2003, 11:52 PM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 8 m 45 sec
Reputation Power: 27
Just had a look in the 3.2 ports list and the version listed there is 4.2.3... nowhere near current. The FreeBSD ports system is the best maintained and has the 4.3.4RC1 port in it (I am using it now )

When you build PHP the CLI should be made by default. I assume the location of files on FreeBSD wouldnt be that different to OpenBSD. Is the PHP binary in /usr/local/bin/?

Reply With Quote
  #4  
Old October 9th, 2003, 01:28 AM
pkplex pkplex is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: New Zealand
Posts: 28 pkplex User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to pkplex
Yes well try using the 3.3 ports tree instead of 3.2, mmm kay?

Reply With Quote
  #5  
Old October 9th, 2003, 02:30 AM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 8 m 45 sec
Reputation Power: 27
Quote:
Originally posted by pkplex
Yes well try using the 3.3 ports tree instead of 3.2, mmm kay?


Okay troll, why don't you visit the OpenBSD website and find that.

http://www.openbsd.org/ports.html#Get

Code:
Getting Packages
A large collection of pre-compiled packages is available for most common architectures.

    * On the CD-Rom (that you can order here),
    * On the ftp mirror sites.
    * Browsed and retrieved from the web package lists:
          o Packages for OpenBSD 3.2
          o Packages for OpenBSD 3.1
          o Packages for OpenBSD 3.0
          o Packages for OpenBSD 2.9
          o Packages for OpenBSD 2.8
          o Packages for OpenBSD 2.7 


Hmmm... yes... I can see 3.3 there...

Reply With Quote
  #6  
Old October 9th, 2003, 02:49 AM
pkplex pkplex is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: New Zealand
Posts: 28 pkplex User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to pkplex
Hmm, youre right, it is 4.2.3 even in the 3.3 branch. I was looking at the 3.4 branch which seems to have 4.3.3.

Reply With Quote
  #7  
Old October 14th, 2003, 11:11 AM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 8 m 45 sec
Reputation Power: 27
marcbey:

Have you tried removing the --disable-cgi line from the configure at all?

Below is the configure statement that was generated by the FreeBSD ports system and there is no --disable-cgi line in it. Have a look through it and see what you can find. Thats the only main thing that stood out when I checked them.

Quote:
'./configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all' '--with-regex=php' '--with-pear' '--with-apxs=/usr/local/sbin/apxs' '--with-bz2=/usr' '--enable-ctype' '--with-curl=/usr/local' '--with-dom=/usr/local' '--with-dom-xslt=/usr/local' '--with-dom-exslt=/usr/local' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--enable-gd-jis-conv' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-xpm-dir=/usr/local' '--with-gettext=/usr/local' '--with-iconv=/usr/local' '--with-interbase=/usr/local/firebird' '--with-mcrypt=/usr/local' '--with-mime-magic=/usr/share/misc/magic.mime' '--with-ming=/usr/local' '--with-mysql=/usr/local' '--with-openssl-dir=/usr/local' '--with-openssl=/usr/local' '--enable-overload' '--with-pcre-regex=yes' '--enable-posix' '--with-pgsql=/usr/local' '--enable-session' '--enable-sockets' '--enable-tokenizer' '--enable-xml' '--with-expat-dir=/usr/local' '--with-xmlrpc' '--enable-xslt' '--with-xslt-sablot=/usr/local' '--with-zip=/usr/local' '--with-zlib=yes' '--prefix=/usr/local' 'i386-portbld-freebsd5.1'

Last edited by a.koepke : October 14th, 2003 at 11:13 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > PHP4.x CLI on OpenBsd 3.3


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway