Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Johan Beisser
Did you turn off chroot? Also, why is Starting Pure-FTPd in the log? On 11/16/08, Andrei Pirvan [EMAIL PROTECTED] wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Richard Toohey
On 17/11/2008, at 7:37 PM, Andrei Pirvan wrote: 1. Why does it say Starting Pure-FTPd? Have no ideea. Anyway, Pure-FTPd is already installed on the system, but don't know why it shows here. [snip] Let's go back to the Pure-FTPd - is your apachectl shell script broken? /usr/sbin/apachectl

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Girish Venkatachalam
On 02:01:19 Nov 17, Daniel Ouellet wrote: This doesn't apply here because the library is pre-loaded before the httpd is chrooted. More details: Pre-loading Shared Libraries To extend the functionality of the webserver it can dynamically load shared libraries, e.g. a database access

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Andrei Pirvan
Thanks to all of you for ideas. Trying to figure out what was different from a fresh install, I remembered that I mounted /var partition in memory, so I checked the flags and found it it was mounted with noexec, and disabling that fixed my problem. Thanks again for your time.

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread L. V. Lammert
On Mon, 17 Nov 2008, Andrei Pirvan wrote: Hello # apachectl configtest Starting Pure-FTPd Processing config directory: /var/www/conf/modules/*.conf Processing config file: /var/www/conf/modules/php5.conf Syntax error on line 1 of /var/www/conf/modules/php5.conf: Cannot load

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-17 Thread Daniel Ouellet
Girish Venkatachalam wrote: On 02:01:19 Nov 17, Daniel Ouellet wrote: This doesn't apply here because the library is pre-loaded before the httpd is chrooted. More details: Pre-loading Shared Libraries To extend the functionality of the webserver it can dynamically load shared

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Richard Toohey
On 17/11/2008, at 7:04 PM, Andrei Pirvan wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only error I have is when I try to start apache is when I make a configtest. #

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Daniel Ouellet
Andrei Pirvan wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only error I have is when I try to start apache is when I make a configtest. Was that an install from scratch,

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Daniel Ouellet
Andrei Pirvan wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only error I have is when I try to start apache is when I make a configtest. Do you have something showing up

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Andrei Pirvan
1. Why does it say Starting Pure-FTPd? Have no ideea. Anyway, Pure-FTPd is already installed on the system, but don't know why it shows here. 2. Nothing in the httpd error log? # tail /var/www/logs/error_log [Sat Nov 15 00:19:04 2008] [error] [client 192.168.1.2] file permissions deny server

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Girish Venkatachalam
On 08:04:25 Nov 17, Andrei Pirvan wrote: Hello The problem I have is that default apache can't load PHP module. PHP was installed from packages (php5-core-5.2.6.tgz), so here is nothing custom made. The only error I have is when I try to start apache is when I make a configtest. #

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Andrei Pirvan
Try the httpd -u switch to run it outside /var/www chroot. # httpd -u Syntax error on line 1 of /var/www/conf/modules/php5.conf: Cannot load /usr/local/lib/php/libphp5.so into server: Cannot load specified object Anyway, afaik the chroot is applied after loading the modules.

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Daniel Ouellet
Try the httpd -u switch to run it outside /var/www chroot. This doesn't apply here because the library is pre-loaded before the httpd is chrooted. More details: Pre-loading Shared Libraries To extend the functionality of the webserver it can dynamically load shared libraries, e.g. a

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Gábri Máté
2008/11/17 Andrei Pirvan [EMAIL PROTECTED] 1. Why does it say Starting Pure-FTPd? Have no ideea. Anyway, Pure-FTPd is already installed on the system, but don't know why it shows here. 2. Nothing in the httpd error log? # tail /var/www/logs/error_log [Sat Nov 15 00:19:04 2008] [error]

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Andrei Pirvan
Is there a new line character at the end of this line: LoadModule php5_module /usr/local/lib/php/libphp5.so Removed the line, but still no luck, I get the same error.

Re: apache 1.3.29 + PHP 5.2.6 on OpenBSD 4.4

2008-11-16 Thread Daniel Ouellet
Andrei Pirvan wrote: 1. Why does it say Starting Pure-FTPd? Have no ideea. Anyway, Pure-FTPd is already installed on the system, but don't know why it shows here. May be you have a link, or modules for it in your configuration: # ls -la /var/www/conf/modules/ total 8 drwxr-xr-x 2 root