Sorry, had some guests over the weekend, and I was unable to continue
with the thread for a bit. I hope you guys are willing to catch up
where you left off, I still haven't been able to get apache+php+mysql
working again on my server since the 4.9-5.0 upgrade, and I really need
my wiki and other
Hello all, and thank you for taking the time to take a look at
this issue that I am currently having. I've been a strong advocate of
OpenBSD for some time, but have only recently taken steps to start
upgrading some of my machines instead of reinstalling.
My primary server was a 4.9 installation,
error_reporting - make sure that's telling you as much as
possible (but if thinks mysql functions are missing might not be much
more to tell you!)
Apache, PHP, MySQL definitely work on OpenBSD - I use the base Apache,
though, so not sure of the wrinkles in using the 2.2 line.
Richard:
Not sure if I'm using the base apache or 2.2. Here's what
httpd -V is showing me:
Wed May 22 17:50
contract:~$ httpd -V
Server version: Apache/1.3.29 (Unix)
Server's Module Magic Number: 19990320:15
Server compiled with
-D EAPI
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_MMAP_SCOREBOARD
Bryan, after doing that it appears that it's not even getting executed.
I put the script into a web accessible file called debug.php, loaded
it in my browser and saw a blank page. Viewing the source is
showing the original ? phpinfo(); ?, leading me to believe that it is
not even handing it off
And, um, wrapping the snippet in the appropriate
html
head/head
body? phpinfo(); ?/body
/html
didn't seem to help matters at all, either. :(
IIRC 4.9-5.0 was a little ugly, maybe you missed the PHP upgrade
instructions here:
http://www.openbsd.org/faq/upgrade50.html#Pkgup
On Wed, May 22, 2013 at 4:44 PM, Damon Getsman damo.g...@gmail.com wrote:
Bryan, after doing that it appears that it's not even getting executed.
I put the
On 05/23/13 11:44, Damon Getsman wrote:
Bryan, after doing that it appears that it's not even getting executed.
I put the script into a web accessible file called debug.php, loaded
it in my browser and saw a blank page. Viewing the source is
showing the original ? phpinfo(); ?, leading me to
Nope, I caught the PHP upgrade instructions and I believe they've been
carried out
correctly. :(
Okay, now I've got the phpinfo output. Nothing is jumpin' out at me,
if y'all care to take a look at it I've got it available at
bismaninfo.hopto.org/debug.php for a limited time here.
On 05/23/13 12:08, Damon Getsman wrote:
Okay, now I've got the phpinfo output. Nothing is jumpin' out at me,
if y'all care to take a look at it I've got it available at
bismaninfo.hopto.org/debug.php for a limited time here.
No mysql in the output.
What does php -m give you, etc.
It's like
On Fri, May 07, 2010 at 11:23:12AM +0200, Alexander Farber wrote:
(...) I have to send a HTTP GET
request from one of my scripts to one host (to appsmail.ru).
So I've added the file /var/www/etc/hosts:
127.0.0.1 localhost
94.100.188.5appsmail.ru www.appsmail.ru
Why did you
Hello,
thanks for your replies. The reason for my PHP script failure
Warning: file_get_contents(http://94.100.188.5/robots.txt)
[function.file-get-contents]: failed to open stream: No route to host
have been 1) missing /var/www/etc/resolv.conf (the hosts I had already)
and 2) I forgot that I
On 2010-05-08, Alexander Farber alexander.far...@gmail.com wrote:
(Yes, the PHP's error message about route had been misleading :-)
This (EHOSTUNREACH) is the usual error when something is blocked by PF.
Hello,
I'm a longtime happy user of OpenBSD + stock Apache +
PHP (from packages), but now I have to send a HTTP GET
request from one of my scripts to one host (to appsmail.ru).
So I've added the file /var/www/etc/hosts:
127.0.0.1 localhost
94.100.188.5appsmail.ru www.appsmail.ru
a longtime happy user of OpenBSD + stock Apache +
PHP (from packages), but now I have to send a HTTP GET
request from one of my scripts to one host (to appsmail.ru).
So I've added the file /var/www/etc/hosts:
127.0.0.1 localhost
94.100.188.5appsmail.ru www.appsmail.ru
And also have
Owner, NacreData L.L.C.
PO Box 646
Chapel Hill, NC 27514
(919) 442-8899
de...@nacredata.com
AIM or Skype IM: nacredata
Facebook, Twitter: nacredata
On May 7, 2010, at 5:23 AM, Alexander Farber
alexander.far...@gmail.com wrote:
Hello,
I'm a longtime happy user of OpenBSD + stock Apache
Alexander Farber wrote:
I'm a longtime happy user of OpenBSD + stock Apache +
PHP (from packages), but now I have to send a HTTP GET
request from one of my scripts to one host (to appsmail.ru).
So I've added the file /var/www/etc/hosts:
127.0.0.1 localhost
94.100.188.5
, at 5:23 AM, Alexander Farber
alexander.far...@gmail.com wrote:
Hello,
I'm a longtime happy user of OpenBSD + stock Apache +
PHP (from packages), but now I have to send a HTTP GET
request from one of my scripts to one host (to appsmail.ru).
So I've added the file /var/www/etc
Gilles Chehade wrote:
the problem is not about having a route added to the chroot but
rather about having the resolver (hint: there's a hint in what I just
wrote) know how to do its work.
So I've added the file /var/www/etc/hosts:
127.0.0.1 localhost
94.100.188.5
Robert wrote:
On Wed, 03 Mar 2010 17:37:23 -0600
Vijay Sankar vsan...@foretell.ca wrote:
I have problems running Horde on 4.7 -beta i386. The /var/www/tmp
directory gets filled with sess_ files and there is no output on any
of the frames.
4.7-beta is not very precise, date of snapshot build
Vijay Sankar wrote:
Robert wrote:
On Wed, 03 Mar 2010 17:37:23 -0600
Vijay Sankar vsan...@foretell.ca wrote:
I have problems running Horde on 4.7 -beta i386. The /var/www/tmp
directory gets filled with sess_ files and there is no output on any
of the frames.
4.7-beta is not very precise,
Duncan Patton a Campbell wrote:
On Sun, 28 Feb 2010 15:01:20 + (UTC)
Stuart Henderson s...@spacehopper.org wrote:
On 2010-02-27, Duncan Patton a Campbell campb...@neotext.ca wrote:
On Thu, 25 Feb 2010 08:58:30 -0500
Dan Harnett dan...@harnett.name wrote:
On Thu, Feb 25, 2010 at
On Wed, 03 Mar 2010 17:37:23 -0600
Vijay Sankar vsan...@foretell.ca wrote:
I have problems running Horde on 4.7 -beta i386. The /var/www/tmp
directory gets filled with sess_ files and there is no output on any
of the frames.
4.7-beta is not very precise, date of snapshot build or cvs
On Sun, 28 Feb 2010 15:01:20 + (UTC)
Stuart Henderson s...@spacehopper.org wrote:
On 2010-02-27, Duncan Patton a Campbell campb...@neotext.ca wrote:
On Thu, 25 Feb 2010 08:58:30 -0500
Dan Harnett dan...@harnett.name wrote:
On Thu, Feb 25, 2010 at 03:30:47AM -0700, Duncan Patton a
On Sun, 28 Feb 2010 15:01:20 + (UTC)
Stuart Henderson s...@spacehopper.org wrote:
On 2010-02-27, Duncan Patton a Campbell campb...@neotext.ca wrote:
On Thu, 25 Feb 2010 08:58:30 -0500
Dan Harnett dan...@harnett.name wrote:
On Thu, Feb 25, 2010 at 03:30:47AM -0700, Duncan Patton a
On 2010/03/01 03:48, Duncan Patton a Campbell wrote:
On Sun, 28 Feb 2010 15:01:20 + (UTC)
Stuart Henderson s...@spacehopper.org wrote:
On 2010-02-27, Duncan Patton a Campbell campb...@neotext.ca wrote:
On Thu, 25 Feb 2010 08:58:30 -0500
Dan Harnett dan...@harnett.name wrote:
On 2010-02-27, Duncan Patton a Campbell campb...@neotext.ca wrote:
On Thu, 25 Feb 2010 08:58:30 -0500
Dan Harnett dan...@harnett.name wrote:
On Thu, Feb 25, 2010 at 03:30:47AM -0700, Duncan Patton a Campbell wrote:
I've just installed a server using current and have found that
there are
On Sun, 28 Feb 2010 15:01:20 + (UTC)
Stuart Henderson s...@spacehopper.org wrote:
On 2010-02-27, Duncan Patton a Campbell campb...@neotext.ca wrote:
On Thu, 25 Feb 2010 08:58:30 -0500
Dan Harnett dan...@harnett.name wrote:
On Thu, Feb 25, 2010 at 03:30:47AM -0700, Duncan Patton a
On Thu, 25 Feb 2010 08:58:30 -0500
Dan Harnett dan...@harnett.name wrote:
On Thu, Feb 25, 2010 at 03:30:47AM -0700, Duncan Patton a Campbell wrote:
I've just installed a server using current and have found that
there are problems with session_destroy(); such that is just
does not work.
Duncan Patton a Campbell wrote:
I've just installed a server using current and have found that
there are problems with session_destroy(); such that is just
does not work.
The Apache is the installed (1.3) version and PHP is from
packages.
I have tested the same software and setup on a 4.5
I've just installed a server using current and have found that
there are problems with session_destroy(); such that is just
does not work.
The Apache is the installed (1.3) version and PHP is from
packages.
I have tested the same software and setup on a 4.5 Release
(no patches) and there
On Thu, Feb 25, 2010 at 03:30:47AM -0700, Duncan Patton a Campbell wrote:
I've just installed a server using current and have found that
there are problems with session_destroy(); such that is just
does not work.
The Apache is the installed (1.3) version and PHP is from
packages.
I
On 16/06/2009, at 7:08 PM, Richard Toohey wrote:
On 16/06/2009, at 3:22 PM, MANI wrote:
# cd /var/www/conf
# vi index.php
1html
2 headPHP Test Page!/head
3 body
4 Hello PHP!
5 /body
6 /html
[cut]
browsing to http://127.0.0.1/index.html shows *It Worked!* default
On 16/06/2009, at 3:22 PM, MANI wrote:
# cd /var/www/conf
# vi index.php
1html
2 headPHP Test Page!/head
3 body
4 Hello PHP!
5 /body
6 /html
[cut]
browsing to http://127.0.0.1/index.html shows *It Worked!* default
page.
browsing to http://127.0.0.1/index.php will
On 16/06/2009, at 7:44 PM, Richard Toohey wrote:
[7] Did you really mean to install php5-mysql and mysql-SERVER?
You might have meant mysql-CLIENT - makes more sense.
D'oh! More sending without thinking first - installing php5-mysql
should have pulled in mysql-CLIENT automatically.
That's
First of all thanks for the clues.
On 6/16/09, Richard Toohey richardtoo...@paradise.net.nz wrote:
On 16/06/2009, at 7:08 PM, Richard Toohey wrote:
[1] the index.php is really in /var/www/conf?
No, it was another typo in mail, It's in /var/www/htdocs.
[2] you meant the index.php not to
, and
doesn't, in this case.)
You didn't post a dmesg and may not be running a kernel compiled by the
project, so I wasn't able to figure out whether you were running
-current.
For what it's worth, my Apache/PHP install works fine...
Joachim
No, my httpd.conf file configured with AddType and LoadModule for php
correctly, and I don't get source code in browser, I just get a blank
page and a segmentation fault in error_log.
I tried to browse index.php with lynx instead of firefox, lynx
returned following error:
Looking up 127.0.0.1
didn't post a dmesg and may not be running a kernel compiled by the
project, so I wasn't able to figure out whether you were running
-current.
For what it's worth, my Apache/PHP install works fine...
Joachim
On Tue, Jun 16, 2009 at 03:07:01PM +0430, MANI wrote:
yes! I'm running -current ( snapshot June 6 ). sorry I didn't saw
2009/06/03 httpd ABI change, So I should build php from port tree?
Or use a -current package. I don't know what architecture you are on,
but ftp.openbsd.org has
thanks a lot joachim, that did the trick.
On 6/16/09, Joachim Schipper joac...@joachimschipper.nl wrote:
On Tue, Jun 16, 2009 at 03:07:01PM +0430, MANI wrote:
yes! I'm running -current ( snapshot June 6 ). sorry I didn't saw
2009/06/03 httpd ABI change, So I should build php from port tree?
Hi misc,
#uname -a
OpenBSD agent47.bsd.org 4.5 GENERIC.MP#45 i386
# pkg_add -v php5-core
# pkg_add -v mysql-server-5.0.77
# pkg_add -v php5-mysqli-5.2.8
in /var/www/conf/httpd.conf : *Include /var/www/conf/modules/*.conf*
in /var/www/conf/modules/php5.conf -
On Tue, Jun 16, 2009 at 7:52 AM, MANI mm.m...@gmail.com wrote:
# apachectl stop
# tail -f /var/www/logs
# apachectl start
#
3 body
4 Hello PHP!
5 /body
6 /html
# apachectl stop
# tail -f /var/www/logs
# apachectl start
Sorry mistype I mean:
# apachectl stop
#
Hi All,
I don't want to bother you with that matter.
Could one tell me where clear up to date infos are available regarding how to
mount the PHP support for my website hosted on OpenBSD machine.
Actually web infos are just small how to which do not give any more
informations. Further some
On Tue, 14 Apr 2009 11:40:59 +0200
Jean-Francois jfsimon1...@gmail.com wrote:
Hi All,
I don't want to bother you with that matter.
Could one tell me where clear up to date infos are available
regarding how to mount the PHP support for my website hosted on
OpenBSD machine.
Actually web
Dnia wtorek, 14 kwietnia 2009, Jean-Francois napisa3:
Now I saw there are many packages php5 and mysql, however it's not clear
for me which ones to install and the conf files that need to be modified,
the chrooted directories where some files might be copied to etc ...
Install whichever
Hi All,
Both pkg installed, links made, and after reboot, command line works :
$ php -i
phpinfo()
PHP Version = 5.2.6
but .php page shows only source code in firefox ?
One insight please ?
Le mardi 14 avril 2009 13:56:32, vous avez icrit :
Dnia wtorek, 14 kwietnia 2009, Jean-Francois
For some reason the link creation did not work.
Now problem is solved.
Le mardi 14 avril 2009 16:11:17, vous avez icrit :
Hi All,
Both pkg installed, links made, and after reboot, command line works :
$ php -i
phpinfo()
PHP Version = 5.2.6
but .php page shows only source code in firefox
Jean-Francois wrote:
Hi All,
Both pkg installed, links made, and after reboot, command line works :
$ php -i
phpinfo()
PHP Version = 5.2.6
but .php page shows only source code in firefox ?
Have you done everything mentioned in pkg_info -M php5-core? Especially the
);
echo $output;
I get no output at all. Same program runs fine via shell_exec on other
Apache PHP setups. Being this is statically linked and ldd shows no
shared libs (the chroot should not impact it, right?) and the php.ini
files does not exclude shell_exec from running... what else might
://www.nabble.com/Apache---PHP-tp22395513p22401565.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.
program runs fine via shell_exec on other
Apache PHP setups. Being this is statically linked and ldd shows no shared
libs (the chroot should not impact it, right?) and the php.ini files does
not exclude shell_exec from running... what else might be wrong?
--
View this message in context:
http
/hello);
echo $output;
I get no output at all. Same program runs fine via shell_exec on
other Apache PHP setups. Being this is statically linked and ldd
shows no shared libs (the chroot should not impact it, right?) and
the php.ini files does not exclude shell_exec from running... what
else might
Hello,
I have the following problem with the php and the httpd.
We have a bit-modified kernel:
in /usr/src/sys/arch/i386/conf/GENERIC we changed the
maxusers256
unaame -a
OpenBSD arsenic.digitalinfluence.hu 4.1 GENERIC.MP#1 i386
The system hangs after 1 day. It's a very strongly loaded
On Wed, 11 Jul 2007, Adam PAPAI wrote:
Hello,
I have the following problem with the php and the httpd.
We have a bit-modified kernel:
in /usr/src/sys/arch/i386/conf/GENERIC we changed the
maxusers256
unaame -a
OpenBSD arsenic.digitalinfluence.hu 4.1 GENERIC.MP#1 i386
The
Otto Moerbeek wrote:
On Wed, 11 Jul 2007, Adam PAPAI wrote:
Hello,
I have the following problem with the php and the httpd.
We have a bit-modified kernel:
in /usr/src/sys/arch/i386/conf/GENERIC we changed the
maxusers256
unaame -a
OpenBSD arsenic.digitalinfluence.hu 4.1 GENERIC.MP#1
On Wed, Jul 11, 2007 at 12:56:27PM +0200, Marc Balmer wrote:
Otto Moerbeek wrote:
On Wed, 11 Jul 2007, Adam PAPAI wrote:
The system hangs after 1 day. It's a very strongly loaded system. Any idea
why? It seems that the system does not really handle the http requests
well.
Joachim Schipper wrote:
On Wed, Jul 11, 2007 at 12:56:27PM +0200, Marc Balmer wrote:
Otto Moerbeek wrote:
On Wed, 11 Jul 2007, Adam PAPAI wrote:
The system hangs after 1 day. It's a very strongly loaded system. Any idea
why? It seems that the system does not really handle the http requests
I've been seeing this since OpenBSD 3.4 with Uebimiau php webmail and
sometimes httpd stops working, restarting is needed.
- Original Message -
From: Joachim Schipper [EMAIL PROTECTED]
To: misc@openbsd.org
Sent: Wednesday, July 11, 2007 10:28 AM
Subject: Re: apache + php
On Wed, Jul 11
Hello,
I am trying to connect to a Microsoft SQL Server with an Apache+PHP but
always get an error.
This are the packages on my system (OpenBSD 3.7). Only this 3 packages
(it's a new box)
freetds-0.62.4p0project to document and implement the TDS protocol
libiconv-1.9.2 character set
At 10:55 PM 1/17/2006 +, Helio Santana wrote:
Hello,
I am trying to connect to a Microsoft SQL Server with an Apache+PHP but
always get an error.
This are the packages on my system (OpenBSD 3.7). Only this 3 packages
(it's a new box)
freetds-0.62.4p0project to document and implement
62 matches
Mail list logo