Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-27 Thread Damon Getsman
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

Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Damon Getsman
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,

Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Richard Toohey
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.

Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Damon Getsman
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

Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Damon Getsman
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

Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Damon Getsman
And, um, wrapping the snippet in the appropriate html head/head body? phpinfo(); ?/body /html didn't seem to help matters at all, either. :(

Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Barry Grumbine
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

Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Richard Toohey
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

Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Damon Getsman
Nope, I caught the PHP upgrade instructions and I believe they've been carried out correctly. :(

Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Damon Getsman
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.

Re: Problems w/apache+php+mysqld since 4.9-5.0 OpenBSD Upgrade

2013-05-22 Thread Richard Toohey
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

Re: Adding a route for chrooted Apache/PHP

2010-05-08 Thread Joachim Schipper
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

Re: Adding a route for chrooted Apache/PHP

2010-05-08 Thread Alexander Farber
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

Re: Adding a route for chrooted Apache/PHP

2010-05-08 Thread Stuart Henderson
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.

Adding a route for chrooted Apache/PHP

2010-05-07 Thread Alexander Farber
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

Re: Adding a route for chrooted Apache/PHP

2010-05-07 Thread Devin Ceartas
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

Re: Adding a route for chrooted Apache/PHP

2010-05-07 Thread Gilles Chehade
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

Re: Adding a route for chrooted Apache/PHP

2010-05-07 Thread Helmut Schneider
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

Re: Adding a route for chrooted Apache/PHP

2010-05-07 Thread Gilles Chehade
, 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

Re: Adding a route for chrooted Apache/PHP

2010-05-07 Thread Helmut Schneider
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

Re: FWIW Current snapshot Apache/PHP buggy

2010-03-04 Thread Vijay Sankar
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

Re: FWIW Current snapshot Apache/PHP buggy

2010-03-04 Thread Vijay Sankar
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,

Re: FWIW Current snapshot Apache/PHP buggy

2010-03-03 Thread Vijay Sankar
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

Re: FWIW Current snapshot Apache/PHP buggy

2010-03-03 Thread Robert
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

Re: FWIW Current snapshot Apache/PHP buggy

2010-03-01 Thread Duncan Patton a Campbell
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

Re: FWIW Current snapshot Apache/PHP buggy

2010-03-01 Thread Duncan Patton a Campbell
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

Re: FWIW Current snapshot Apache/PHP buggy

2010-03-01 Thread Stuart Henderson
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:

Re: FWIW Current snapshot Apache/PHP buggy

2010-02-28 Thread Stuart Henderson
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

Re: FWIW Current snapshot Apache/PHP buggy

2010-02-28 Thread Duncan Patton a Campbell
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

Re: FWIW Current snapshot Apache/PHP buggy

2010-02-27 Thread Duncan Patton a Campbell
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.

Re: FWIW Current snapshot Apache/PHP buggy

2010-02-27 Thread Chris Bennett
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

FWIW Current snapshot Apache/PHP buggy

2010-02-25 Thread Duncan Patton a Campbell
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

Re: FWIW Current snapshot Apache/PHP buggy

2010-02-25 Thread Dan Harnett
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

Re: Apache php weird problem

2009-06-16 Thread Richard Toohey
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

Re: Apache php weird problem

2009-06-16 Thread Richard Toohey
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

Re: Apache php weird problem

2009-06-16 Thread Richard Toohey
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

Re: Apache php weird problem

2009-06-16 Thread MANI
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

Re: Apache php weird problem

2009-06-16 Thread Joachim Schipper
, 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

Re: Apache php weird problem

2009-06-16 Thread MANI
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

Re: Apache php weird problem

2009-06-16 Thread MANI
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

Re: Apache php weird problem

2009-06-16 Thread Joachim Schipper
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

Re: Apache php weird problem

2009-06-16 Thread MANI
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?

Apache php weird problem

2009-06-15 Thread MANI
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 -

Re: Apache php weird problem

2009-06-15 Thread MANI
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 #

Installing Apache PHP/Mysql support

2009-04-14 Thread Jean-Francois
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

Re: Installing Apache PHP/Mysql support

2009-04-14 Thread Robert
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

Re: Installing Apache PHP/Mysql support

2009-04-14 Thread Cezary Morga
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

Re: Installing Apache PHP/Mysql support

2009-04-14 Thread Jean-Francois
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

Re: Installing Apache PHP/Mysql support

2009-04-14 Thread 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

Re: Installing Apache PHP/Mysql support

2009-04-14 Thread Cezary Morga
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

Re: Apache PHP

2009-03-08 Thread Vadim Zhukov
); 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

Re: Apache PHP

2009-03-08 Thread new_guy
://www.nabble.com/Apache---PHP-tp22395513p22401565.html Sent from the openbsd user - misc mailing list archive at Nabble.com.

Apache PHP

2009-03-07 Thread new_guy
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

Re: Apache PHP

2009-03-07 Thread LÉVAI Dániel
/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

apache + php

2007-07-11 Thread Adam PAPAI
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

Re: apache + php

2007-07-11 Thread Otto Moerbeek
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

Re: apache + php

2007-07-11 Thread Marc Balmer
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

Re: apache + php

2007-07-11 Thread Joachim Schipper
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.

Re: apache + php

2007-07-11 Thread Marc Balmer
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

Re: apache + php

2007-07-11 Thread Marcos Laufer
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

Apache + PHP + FreeTDS

2006-01-17 Thread Helio Santana
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

Re: Apache + PHP + FreeTDS

2006-01-17 Thread L. V. Lammert
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