[PHP] Problem with Apache+Fedora Core 4 + PHP Installation

2005-09-06 Thread Feris Thia C.
Hi All,

I'm using Fedora Core 4 (kernell 2.6.11-1.1369_FC4) and having problem when 
installing Apache + PHP... the configuration that I'm using :

1. Apache 2.0.54
./configure --prefix=/usr/local/apache2 --enable-so
make
make install
2. PHP 4.3.1
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
make
make install

In Apache configuration file (httpd.conf) I adding these :

LoadModule php4_module modules/libphp4.so === line 232
AddType application/x-httpd-php .php

from compiling and installing process ... all run well... but when I'm 
starting apache

/usr/local/apache2/bin/apachectl start

I got this error :

Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf

Cannot load /usr/local/apache2/modules/libphp4.so into server: 
/usr/local/apache2/modules/libphp4.so: cannot restore segement prot after 
reloc : Permission denied

I already consult documentation for LoadModule syntax and it looks ok.

Has the error something to do with SE Linux ??

Please give me some advices to resolve this :)

Best Regards,

Feris


[PHP] Problem starting Apache after PHP 5.0.2 installation

2004-12-15 Thread Don
Hi,

Just installed PHP 5.0.2 on a Fedora Core 3 system using Apache 2.  One of
my configure options was:
--with-mcrypt

I followed the docs at php.net and downloaded libmcrypt-2.5.7, and installed
it as per INSTALL file.  No problems compiling PHP.

However, when I attempt to restart Apache, I get the following error:

Starting httpd: Syntax error on line 191 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/httpd/modules/libphp5.so into server: libmcrypt.so.4:
failed to map segment from shared object: permission denied
[FAILED]

Any idea why mcrypt is crapping out with PHP?

Thanks,
Don

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.813 / Virus Database: 553 - Release Date: 12/13/2004
 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Problem with Apache!

2004-02-19 Thread



 Hello! My name is 
Artem!
 I want to tell you about my 
problem. Please, help me
When I changed my "httpd.conf" file like in book by 
Julie C.Meloni, I try to open file phpinfo.php from directory "C:\Program 
Files\Apache Group\Apache2\htdocs".
But when I open Internet Explorer and write http://localhost/phpinfo.phpin it 
I see an error like "Object not found!". Why?

I attached my "httpd.conf" file... Maybe deal in 
this file?
 Please, answer me... I really 
need your help...
 
Artem.
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See URL:http://httpd.apache.org/docs-2.0/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with / (or drive:/ for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with /, the value of ServerRoot is prepended -- so logs/foo.log
# with ServerRoot set to /usr/local/apache will be interpreted by the
# server as /usr/local/apache/logs/foo.log.
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., c:/apache instead of c:\apache).
# If a drive letter is omitted, the drive on which Apache.exe is located
# will be used by default.  It is recommended that you always supply
# an explicit drive letter in absolute paths, however, to avoid
# confusion.
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at URL:http://httpd.apache.org/docs-2.0/mod/core.html#lockfile);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot C:/Program Files/Apache Group/Apache2

#
# ScoreBoardFile: File used to store internal server process information.
# If unspecified (the default), the scoreboard will be stored in an
# anonymous shared memory segment, and will be unavailable to third-party
# applications.
# If specified, ensure that no two invocations of Apache share the same
# scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
#
#ScoreBoardFile logs/apache_runtime_status

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile logs/httpd.pid

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to Off to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
## 

# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum  number of requests a server process serves
IfModule mpm_winnt.c
ThreadsPerChild 250
MaxRequestsPerChild  0
/IfModule

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the VirtualHost
# directive.
#
# Change this to Listen on specific IP addresses as shown below to 
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place 

Re: [PHP] Problem with Apache!

2004-02-19 Thread BAO RuiXian


  wrote:

Hello! My name is Artem!
I want to tell you about my problem. Please, help me
When I changed my httpd.conf file like in book by Julie C.Meloni, I 
try to open file phpinfo.php from directory C:\Program Files\Apache 
Group\Apache2\htdocs.
But when I open Internet Explorer and write 
http://localhost/phpinfo.php in it I see an error like Object not 
found!. Why?
Do you have the file phpinfo.php in C:\Program Files\Apache 
Group\Apache2\htdocs?

Please don't send HTML format message to the list, instead a plain text 
message is most welcome.

Best

Bao

 
I attached my httpd.conf file... Maybe deal in this file?
Please, answer me... I really need your help...
Artem.

 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Problem with Apache!

2004-02-19 Thread BAO RuiXian


  wrote:

Please, tell me, do you check my httpd.conf file?
 

Yes, I have checked your httpd.conf file. It is missing the following line:

LoadModule php4_module YourRealPath/php4apache2.dll

Please keep discussion on the list.

Best

Bao

Maybe deal in it??

E-mail: [EMAIL PROTECTED]


- Original Message -
From: BAO RuiXian [EMAIL PROTECTED]
To:   [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 19, 2004 11:40 PM
Subject: Re: [PHP] Problem with Apache!
 

  wrote:

   

   Hello! My name is Artem!
   I want to tell you about my problem. Please, help me
When I changed my httpd.conf file like in book by Julie C.Meloni, I
try to open file phpinfo.php from directory C:\Program Files\Apache
Group\Apache2\htdocs.
But when I open Internet Explorer and write
http://localhost/phpinfo.php in it I see an error like Object not
found!. Why?
 

Do you have the file phpinfo.php in C:\Program Files\Apache
Group\Apache2\htdocs?
Please don't send HTML format message to the list, instead a plain text
message is most welcome.
Best

Bao

   

I attached my httpd.conf file... Maybe deal in this file?
   Please, answer me... I really need your help...
   Artem.


 

   



 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Problem With Apache / PHP Installation

2003-12-08 Thread Sven
Shaun schrieb:

Ajai Khattri [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sat, Dec 06, 2003 at 07:46:07PM -, Shaun wrote:


I have installed PHP and Apache but when i try to view a PHP file i.e.
http://127.0.0.1/hello.php i get a dialog box asking me if i want to
open or

save the file?

Any ideas why this is happening?
Assuming, your Apache is configured to load the php module:

Your Apache is not configured to handle .php files. You need
to add directives in httpd.conf for PHP files.
See PHP installation docs.

--
Aj.
Sys. Admin / Developer


Thanks for your reply,

I have added the following lines to the beginning of httpd.conf

LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
But am still unable to view php files...

Any ideas?
hi,

did you install apache 1.x or 2.x?
does http://127.0.0.1 or http://localhost show your apache-startpage?
did you stop and restart apache after changing httpd.conf?
did you copy php4ts.dll to one of the dirs as said in the manual?
just some thoughts from me.
every time i install a new envionment i make a file to '/htdocs'-dir 
called 'phpinfo.php' with the following:

?php
phpinfo();
?
i call this file for testing: 'http://localhost/phpinfo.php'. this file 
will also be vey useful when developing new scripts.

hth SVEN

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Problem With Apache / PHP Installation

2003-12-06 Thread Shaun
Hi,

I have installed PHP and Apache but when i try to view a PHP file i.e.
http://127.0.0.1/hello.php i get a dialog box asking me if i want to open or
save the file?

Any ideas why this is happening?

Thanks for your help

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Problem With Apache / PHP Installation

2003-12-06 Thread Ajai Khattri
On Sat, Dec 06, 2003 at 07:46:07PM -, Shaun wrote:

 I have installed PHP and Apache but when i try to view a PHP file i.e.
 http://127.0.0.1/hello.php i get a dialog box asking me if i want to open or
 save the file?
 
 Any ideas why this is happening?

Assuming, your Apache is configured to load the php module:

Your Apache is not configured to handle .php files. You need
to add directives in httpd.conf for PHP files.

See PHP installation docs.

-- 
Aj.
Sys. Admin / Developer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Problem With Apache / PHP Installation

2003-12-06 Thread Shaun

Ajai Khattri [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Sat, Dec 06, 2003 at 07:46:07PM -, Shaun wrote:

  I have installed PHP and Apache but when i try to view a PHP file i.e.
  http://127.0.0.1/hello.php i get a dialog box asking me if i want to
open or
  save the file?
 
  Any ideas why this is happening?

 Assuming, your Apache is configured to load the php module:

 Your Apache is not configured to handle .php files. You need
 to add directives in httpd.conf for PHP files.

 See PHP installation docs.

 -- 
 Aj.
 Sys. Admin / Developer

Thanks for your reply,

I have added the following lines to the beginning of httpd.conf

LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

But am still unable to view php files...

Any ideas?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Problem with Apache 1.3.28 / PHP 4.3.3

2003-11-14 Thread Boyan Nedkov
[EMAIL PROTECTED] wrote:
I had problem in the configuration of Apache 1.3.28 and PHP 4.3.3 as SAPI module, they are run well as CGI module, I put this lines for it:

ScriptAlias /php/ D:/PHP4.3.3/
AddType application/x-httpd-php .php
Action application/x-httpd-php /php/php.exe
as SAPI module, I put this lines:

LoadModule php4_module D:\PHP4.3.3\sapi\php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
A friend told me that remove the line AddModule mod_php4.c, I got this error:

d:/program files/apache1.3.28/apache/conf/httpd.conf: Syntax OK
Cannot remove module mod_php4.c: not found in module list
If I leave the line  AddModule mod_php4.c, I get this error:

Module mod_php4.c is already added, skipping d:/program 
files/apache1.3.28/apache/conf/httpd.conf: Syntax OK
Cannot remove module mod_php4.c: not found in module list
thanks for any help. bye.

I answered your question few days ago but didn't hear any reaction, so I'm 
reposting the same text with hope this time it will be more useful

Cheers,

Boyan
--
 Original Message 
Subject: Re: [PHP] Apache1.3.28 vs PHP4.3.3
Date: Thu, 06 Nov 2003 00:59:58 +0100
From: Boyan Nedkov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
For getting up and running php on WinXX box you need only:

LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll
AddType application/x-httpd-php .php
To avoid the problem with removing 'mod_php4.c' try to find
'ClearModuleList' directive in httpd.conf and comment it, then restart
the server once again
Hope this help,

boyan
--
[EMAIL PROTECTED] wrote:

 Apache 1.3.28 / PHP 4.3.3

 hello, I tried to configure php as module SAPI of the apache web server, I
 put this line:

  LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll
 AddModule mod_php4.c
 AddType application/x-httpd-php .php

 When I tested the configuration, I got this error:

 Cannot remove module mod_php4.c: not found module list

  I removed the AddModule mod_php4.c directive, restart the server, but
  remain the same problem

 Thanks for any help, I will really aprecciate your support, bye.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Problem with Apache 1.3.28 / PHP 4.3.3

2003-11-13 Thread orlandopozo
I had problem in the configuration of Apache 1.3.28 and PHP 4.3.3 as SAPI module, they 
are run well as CGI module, I put this lines for it:

ScriptAlias /php/ D:/PHP4.3.3/
AddType application/x-httpd-php .php
Action application/x-httpd-php /php/php.exe

as SAPI module, I put this lines:

LoadModule php4_module D:\PHP4.3.3\sapi\php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

A friend told me that remove the line AddModule mod_php4.c, I got this error:

d:/program files/apache1.3.28/apache/conf/httpd.conf: Syntax OK
Cannot remove module mod_php4.c: not found in module list

If I leave the line  AddModule mod_php4.c, I get this error:

Module mod_php4.c is already added, skipping d:/program 
files/apache1.3.28/apache/conf/httpd.conf: Syntax OK
Cannot remove module mod_php4.c: not found in module list

thanks for any help. bye.







[PHP] Problem with Apache 1.3.28 / PHP 4.3.3

2003-11-13 Thread orlandopozo
I had problem in the configuration of Apache 1.3.28 and PHP 4.3.3 as SAPI
module, they are run well as CGI module, I put this lines for it:

ScriptAlias /php/ D:/PHP4.3.3/
AddType application/x-httpd-php .php
Action application/x-httpd-php /php/php.exe

as SAPI module, I put this lines:

LoadModule php4_module D:\PHP4.3.3\sapi\php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

A friend told me that remove the line AddModule mod_php4.c, I got this
error:

d:/program files/apache1.3.28/apache/conf/httpd.conf: Syntax OK
Cannot remove module mod_php4.c: not found in module list

If I leave the line  AddModule mod_php4.c, I get this error:

Module mod_php4.c is already added, skipping d:/program
files/apache1.3.28/apache/conf/httpd.conf: Syntax OK
Cannot remove module mod_php4.c: not found in module list

thanks for any help. bye.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Problem with apache and php on OpenBSD 3.4

2003-11-02 Thread Teren
Hi, I just loaded up all of the packages using the packages from Openbsd since i was 
having issues with ports, and then I activated them all and that worked fine. However, 
when I put the line to load the php4 module in to httpd.conf, apache won't start. It 
finds the module fine, but that's it. When i run apachectl start, it says it can't be 
started, when I do apachectl configtest, it says the Syntax is OK. Anyone have any 
ideas? Thanks

Teren

[PHP] Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)

2003-07-16 Thread karen santmyer
HI:
 
 Can anyone refer me to someone that can help with the problem below.
 
 I installed Apache Web Server on my laptop which has Windows XP.  I then 
installed PHP.  I followed the directions in the book I had on installing apache and 
php and what to add to the apache configuration file.
 
  Here is what is happening:  After installing everything, I tested my Apache web 
server installation first and saw the apache web server page like the book said.  Then 
it said to do a little php program - which had phpinfo() in it.  But when I retyped 
the url I got a message that asked me did I want to download a file, which was the php 
program file.
 
  The PHP is 4.3.2 and the apache web server is 2.0.  What am I doing wrong?  
Should I use apache 1.3.2?
 
   Please help.  I understand everything, just don't know why it is prompting me 
to download a file.
 
   Thanks.
 
Karen






-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Re: [PHP] Problem with Apache Web Server config file and PHP (pleasegive advice on what problem may be me)

2003-07-16 Thread Marek Kilimajer
Did you add these lines to http.conf?:
LoadModule php4_module c:/php4/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
If you did, did you restart apache afterwards?

karen santmyer wrote:

HI:
 
 Can anyone refer me to someone that can help with the problem below.
 
 I installed Apache Web Server on my laptop which has Windows XP.  I then installed PHP.  I followed the directions in the book I had on installing apache and php and what to add to the apache configuration file.
 
  Here is what is happening:  After installing everything, I tested my Apache web server installation first and saw the apache web server page like the book said.  Then it said to do a little php program - which had phpinfo() in it.  But when I retyped the url I got a message that asked me did I want to download a file, which was the php program file.
 
  The PHP is 4.3.2 and the apache web server is 2.0.  What am I doing wrong?  Should I use apache 1.3.2?
 
   Please help.  I understand everything, just don't know why it is prompting me to download a file.
 
   Thanks.
 
Karen





-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Problem with Apache Web Server config file and PHP working together Please help!!

2003-07-15 Thread karen santmyer
HI:
 
 I installed Apache Web Server on my laptop which has Windows XP.  I then 
installed PHP.  I followed the directions in the book I had on installing apache and 
php and what to add to the apache configuration file.
 
  Here is what is happening:  After installing everything, I tested my Apache web 
server installation first and saw the apache web server page like the book said.  Then 
it said to do a little php program - which had phpinfo() in it.  But when I retyped 
the url I got a message that asked me did I want to download a file, which was the php 
program file.
 
  The PHP is 4.3.2 and the apache web server is 2.0.  What am I doing wrong?  
Should I use apache 1.3.2?
 
   Please help.  I understand everything, just don't know why it is prompting me 
to download a file.
 
   Thanks.
 
Karen



-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

[PHP] problem with apache 2.0

2003-06-03 Thread Franck Collineau
Greeting,

I have just change my server to apache 2.0.44 and php 4.3.1 (from mandrake 
9.1) and i have a problem now


When i pass a numeric parameter to a  php script from a form, the parameter is 
equal zero !

Here is my form:
p  Modification d'un matériel: /p

table
tr
td align=rightNuméro: /td
tdform action=edit.php method=POST  target=bas name=forme
input type=text name=id size=3/td
tdinput value=Modifier type=submit/td
/form
/tr
/table


here is my script php:

?
   $taille=strlen($id);
print(ident: $id br);
$id=(int) $id;
?


where does the problem come from ?


Thanks
Franck

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Problem with apache php and SSL

2003-03-10 Thread Keil
Hi, I'm a newbie with php and I have a big problem with the use of PHP 4.1.1
with apache/1.3.26, mod_ssl/2.8.10 and OpenSSL/0.9.6d. (Tested on Windows
and Linux)

For a demonstration I have to get the user certificate of an SSL connection
to identify the user.
I try to get information's about the client with the following script:
?php
echo Info: \;
echo getenv(REMOTE_USER)  . \br;
echo \ . getenv(SSL_USER) .\br;
echo \ . getenv(LOCAL_USER) .\br;

echo pSSL Version used:  .getenv(SSL_VERSION_LIBRARY);
echo pYour Name:  .getenv(SSL_CLIENT_S_DN_CN);
echo pYour Certificate are signed by:  . getenv(SSL_CLIENT_I_DN_CN);

echo CLIENT br;
echo Issuer:  . $_SERVER['SSL_CLIENT_I_DN'] . br;
echo Subject:  . $_SERVER['SSL_CLIENT_S_DN'] .  br;
echo Validity Start:  . $_SERVER['SSL_CLIENT_V_START'] . br;
echo Validity End:  . $_SERVER['SSL_CLIENT_V_END'];
?
The SSL connection work properly (I debug the client info from apache in a
file) but none of the parameters I used above are set to anything.
Are there special settings in a configuration file or have I compile one
package with special parameters to get an access to the SSL client
certificate information's?

Thaks a lot for every answert!
Werner



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Problem with Apache/SSL/Perl/PHP + LDAP

2002-04-25 Thread Andrew McCall

Hi All,

I have searched all over the web for an answer to this, but I can't seem to find one :(

I have a custom Apache installation with mod_ssl, mod_perl mod_php and 
Chili!Soft's mod_casp.

When I originally compiled this, I didn't need LDAP support from php, so it wasn't 
compiled into it. Now I need LDAP support, I have tried re-compiling 
and am having problems.

When I compile with --with-ldap everytime I start Apache, it fails and reports 
this error in error_log :

Syntax error on line 1158 of /usr/local/apache/conf/httpd.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included 
in the server configuration

If I compile without --with-ldap then Apache works with no problems.

Does anyone have an idea what I am doing wrong? Is this a common problem? Does 
anyone know what I can do to fix it? I have tried using PHP 4.2.0, but this produces 
the same problem...

I have included my compile options below :

OpenSSL (v 0.9.6b)
# cd /usr/src/openssl-0.9.6b/
# sh config no-idea no-threads -fPIC
# make
# make test

mod_ssl (v2.8.5-1.3.22)
# cd ../mod_ssl-2.8.5-1.3.22/
# ./configure --with-apache=/usr/src/apache_1.3.22

mod_perl (v1.26)
# cd ../mod_perl-1.26/
# perl Makefile.PL \
 EVERYTHING=1 \
 APACHE_SRC=../apache_1.3.22/src \
 USE_APACI=1 \
 PREP_HTTPD=1 \
 DO_HTTPD=1

Apache (v1.3.22)
# cd ../apache_1.3.22/
# SSL_BASE=/usr/src/openssl-0.9.6b \
./configure \
--prefix=/usr/local/apache/ \
--enable-module=env \
--enable-module=setenvif \
--enable-module=mime \
--enable-module=mime_magic \
--enable-module=negotiation \
--enable-module=alias \
--enable-module=userdir \
--enable-module=dir \
--enable-module=autoindex \
--enable-module=access \
--enable-module=auth \
--enable-module=asis \
--enable-module=include \
--enable-module=cgi \
--enable-module=actions \
--enable-module=status \
--enable-module=info \
--enable-module=log_config \
--enable-module=imap \
--activate-module=src/modules/perl/libperl.a \
--add-module=mod_frontpage.c \
--enable-module=ssl \
--enable-shared=max \
--disable-shared=perl
# make
# make certificate
# make install

PHP
# cd php
# ./configure \
 --with-apxs=/usr/local/apache/bin/apxs \
 --with-mysql=/usr/local/mysql
 --with-ldap
# make
# make install
# cp php.ini-dist /usr/local/lib/php.ini


-- 
Thanks

Andrew McCall
Internet System Administrator
I.C.T. Division
Oldham MBC
Civic Centre
West Street
Oldham
OL1 1UU

Tel : 0161 911 3990
Fax : 0161 911 3998
Email : [EMAIL PROTECTED]


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.oldham.gov.uk
**


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] problem with apache php module on solaris

2002-01-14 Thread Gino Paoletti

Hi, I met some problems starting apache with php module on solaris 8.

Apache is so configured:

--prefix=/usr/local/apache-np --enable-shared=max

The httpd -l response is:

Compiled-in modules:
  http_core.c
  mod_so.c

Php indeed:

./configure --prefix=/usr/local/apache-np --with-apxs=/usr/local/apache-np/b
in/apxs --with-ldap=/usr/local/ns-solaris-ldap-sdk-5/ --with-mysql=/usr/loca
l/mysql --enable-ctype --enable-sockets --enable-ftp --with-java=/usr/local/
j2sdk1_3_1_02 --with-sybase=/usr/local/freetds

The error is:

Syntax error on line 223 of /usr/local/apache-np/conf/httpd.conf:
Cannot load /usr/local/apache-np/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache-np/bin/httpd: fatal: relocation error: file
/usr/local/apache-np/libexec/libphp4.so: symbol uncompress: referenced
symbol not found

Any hint??

Nobody steals our chickens and lives to tell. (Duke Nukem)

Saluti   Ginox.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] problem with apache php module on solaris

2002-01-14 Thread Dennis Moore

I think you need to add the apache module extensions to your apache
configuration.

try adding  --enable-apxs or --with-apxs (I can remember the exact syntax)
to the apache configure.

- Original Message -
From: Gino Paoletti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:36 AM
Subject: [PHP] problem with apache php module on solaris


 Hi, I met some problems starting apache with php module on solaris 8.

 Apache is so configured:

 --prefix=/usr/local/apache-np --enable-shared=max

 The httpd -l response is:

 Compiled-in modules:
   http_core.c
   mod_so.c

 Php indeed:


./configure --prefix=/usr/local/apache-np --with-apxs=/usr/local/apache-np/b

in/apxs --with-ldap=/usr/local/ns-solaris-ldap-sdk-5/ --with-mysql=/usr/loca

l/mysql --enable-ctype --enable-sockets --enable-ftp --with-java=/usr/local/
 j2sdk1_3_1_02 --with-sybase=/usr/local/freetds

 The error is:

 Syntax error on line 223 of /usr/local/apache-np/conf/httpd.conf:
 Cannot load /usr/local/apache-np/libexec/libphp4.so into server: ld.so.1:
 /usr/local/apache-np/bin/httpd: fatal: relocation error: file
 /usr/local/apache-np/libexec/libphp4.so: symbol uncompress: referenced
 symbol not found

 Any hint??

 Nobody steals our chickens and lives to tell. (Duke Nukem)

 Saluti   Ginox.


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Problem with apache after installing PHP 4

2001-04-19 Thread Mohamedou

Dear all,

I have apache 1.3.19-3fp and have newly installed PHP 4 using from
rpms.arvin.dk
My problems are:
1-Apache freezes and nothing goes untill I restart it
2-Webmin stops itself.
Furthermore if I give the follow command it sems that no apache but I am
sure apache is running
look:

[root@proxy mohamedou]# rpm qa|grep httpd
[root@proxy mohamedou]# rpm qa|grep apache
[root@proxy mohamedou]# rpm qa|grep http
[--httpproxy host] [--httpport port]
[--httpproxy host] [--httpport port]
[--httpproxy host] [--httpport port]
[root@proxy mohamedou]# rpm qa|grep apache

I thank U

Moh


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]