|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Erm... why not use the php4 out of ports?
cd /usr/ports/www/php4/ && make install? |
|
#3
|
||||
|
||||
|
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/? |
|
#4
|
|||
|
|||
|
Yes well try using the 3.3 ports tree instead of 3.2, mmm kay?
|
|
#5
|
||||
|
||||
|
Quote:
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... |
|
#6
|
|||
|
|||
|
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.
|
|
#7
|
||||
|
||||
|
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:
Last edited by a.koepke : October 14th, 2003 at 11:13 AM. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > PHP4.x CLI on OpenBsd 3.3 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|