php-install Digest 25 Apr 2002 09:30:46 -0000 Issue 804

Topics (messages 6731 through 6737):

php does not read php.ini
        6731 by: Fabian Aguirre
        6733 by: Ray Hunter

undefined symbol : ssl_onceonlyinit - apache 2.0.35 + php 4.2.0
        6732 by: Stephan Wülfert
        6737 by: Stephan Wülfert

Problems on FreeBSD with 4.2.0 and Apache 2.0.35
        6734 by: Nick Sayer

(include_path='.;c:\php4\pear') ERROR?
        6735 by: Nick

imap
        6736 by: romanart.gsu.linux.org.tr

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hi!

I have compiled php 4.2.0 nad it works fine, but when i made some changes in php.ini 
php seems not to read the new information. When i compiled i did configure it with 
this --with-config-file-path=/usr/local/apache/conf/php.ini


I have edit in php.ini include_path= .:/home

but when i do a phpinfo i get this information

Configuration file (php.ini) Path : /usr/local/apache/php.ini

Include_path : .:/usr/local/share/pear (very wrong)



Hope u could help me! 

!!!And yes everytime i do a change to php.ini i restart Apache!!!

--- End Message ---
--- Begin Message ---
To help with the headache, just move you php.ini file to that location and
then make your changes.

Hopefully this will work and you can get down to coding...

Ray Hunter


"Fabian Aguirre" <[EMAIL PROTECTED]> wrote in message
011401c1eb97$fe599f80$460a0a0a@spartacus">news:011401c1eb97$fe599f80$460a0a0a@spartacus...
Hi!

I have compiled php 4.2.0 nad it works fine, but when i made some changes in
php.ini php seems not to read the new information. When i compiled i did
configure it with
this --with-config-file-path=/usr/local/apache/conf/php.ini


I have edit in php.ini include_path= .:/home

but when i do a phpinfo i get this information

Configuration file (php.ini) Path : /usr/local/apache/php.ini

Include_path : .:/usr/local/share/pear (very wrong)



Hope u could help me!

!!!And yes everytime i do a change to php.ini i restart Apache!!!




--- End Message ---
--- Begin Message ---
Hi all,

I compiled php successfully with the following configuration:

./configure --with-tsrm-pthreads --with-mysql=/usr/local
--with-imap-ssl=/usr/local --with-gettext --with-imap=/Source/imap-2001a
--with-gd --with-openssl=/usr/local --with-apxs2=/usr/local/sbin/apxs

It compiles and installs without any errors but when I try to start apache i
get the following:

Syntax error on line 218 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/libphp4.so into server:
/usr/local/libexec/libphp4.so: undefined symbol: ssl_onceonlyinit
sbin/apachectl start: httpd could not be started


OpenSSL is there and functional. Any ideas??? I do not know where I should
begin my search.

Any help would be very nice.

by


--- End Message ---
--- Begin Message ---
Hi,

problem solved. I compiled imap-supprt in php, but I forgot to compile the 
c-client library with openssl-supprt :-(

by


Stephan WüLfert wrote:

> Hi all,
> 
> I compiled php successfully with the following configuration:
> 
> ./configure --with-tsrm-pthreads --with-mysql=/usr/local
> --with-imap-ssl=/usr/local --with-gettext --with-imap=/Source/imap-2001a
> --with-gd --with-openssl=/usr/local --with-apxs2=/usr/local/sbin/apxs
> 
> It compiles and installs without any errors but when I try to start apache
> i get the following:
> 
> Syntax error on line 218 of /usr/local/etc/apache2/httpd.conf:
> Cannot load /usr/local/libexec/libphp4.so into server:
> /usr/local/libexec/libphp4.so: undefined symbol: ssl_onceonlyinit
> sbin/apachectl start: httpd could not be started
> 
> 
> OpenSSL is there and functional. Any ideas??? I do not know where I should
> begin my search.
> 
> Any help would be very nice.
> 
> by

--- End Message ---
--- Begin Message ---
I've been trying to get PHP working on Apache 2 on FreeBSD.

I started out using the ports tree, but 4.1.2 and Apache 2.0.35 don't 
seem to agree on the API for the "bucket brigade" stuff. So I hacked the 
mod_php4 port to use 4.2.0 instead of 4.1.2. That failed because Apache 
wasn't compiled with threads. So I added WITH_THREADS to the apache port 
build and rebuild 4.2.0. Now if I have the AddModule active for php4, 
Apache hangs before forking off all of the prefork children (but 
sometime after creating all of the listen sockets). If I comment out the 
AddModule line for php, everything works (except, of course, php).

Anyone else have this combination working?

--- End Message ---
--- Begin Message ---
Hi,
If anyone could tell me what this line means that would be great!
Warning: Failed opening 'localhost' for inclusion
(include_path='.;c:\php4\pear') in Unknown on line 0

PHP 4.2 and Apache are running (well  PHP supposedly - this error is holding
me up!)
Thanks,
Nick


--- End Message ---
--- Begin Message ---
hi;
how can i work imap_open(); function on win XP(apache web server,php 4.2)
and SUSE 7.3
sincerely

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

--- End Message ---

Reply via email to