php-install Digest 17 Aug 2001 16:33:16 -0000 Issue 418

Topics (messages 4010 through 4017):

Re: Installing on a cobalt Raq 3
        4010 by: hanso2000.hotmail.com
        4011 by: Rasmus Lerdorf

ldap compile problem. Please read.
        4012 by: Johan Vikerskog (ECS)
        4013 by: Jani Taskinen
        4014 by: Johan Vikerskog (ECS)
        4016 by: Jani Taskinen

i cannot change ini file path?!
        4015 by: Jamie Burns

Apache v.1.3.12 & PHP-4.0.5 - Apache does not execute my PHP scripts, I get a white 
page
        4017 by: Atif_Jakupovic.hc-sc.gc.ca

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]


----------------------------------------------------------------------


Jason Brashear wrote:

> I am having trouble getting PHP 4.0.6 to install on a Raq 3 from cobalt.
> Please help...
> -Jason
> 
> 
I succeded compiling it from sources in a cobal raq 3, but canot make 
work.... the httpd goes down because y get this error when i restart it

Setting up Web Service: Syntax error on line 33 of 
/etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.10: 
cannot open shared object file: No such file or directory
/usr/sbin/httpd


Can you helpme please???
I checked the the files where in the correct places and they where... i 
dont know where the problem is




Well, where is the libmysqlclient.so.10 file?  And is the directory that
file is in listed in your /etc/ld.so.conf?

On Fri, 17 Aug 2001 [EMAIL PROTECTED] wrote:

> Jason Brashear wrote:
>
> > I am having trouble getting PHP 4.0.6 to install on a Raq 3 from cobalt.
> > Please help...
> > -Jason
> >
> >
> I succeded compiling it from sources in a cobal raq 3, but canot make
> work.... the httpd goes down because y get this error when i restart it
>
> Setting up Web Service: Syntax error on line 33 of
> /etc/httpd/conf/httpd.conf:
> Cannot load /usr/lib/apache/libphp4.so into server: libmysqlclient.so.10:
> cannot open shared object file: No such file or directory
> /usr/sbin/httpd
>
>
> Can you helpme please???
> I checked the the files where in the correct places and they where... i
> dont know where the problem is
>
>






        I sended this E-mail to two PHP mailing lists yesterday. Both this one and the 
installation mailing list. Doesnt
        seem that anyone can solve this problem for me but i dont believe that.
        Can someone PLEASE help me!
> I get the following error message:
> 
> gcc  -I. -I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql 
>-I/export/scratch/apps3/php-4.0.6/main -I/export/scratch/apps3/php-4.0.6 
>-I/export/scratch/apps3/apache_1.3.20/src/include 
>-I/export/scratch/apps3/apache_1.3.20/src/os/unix 
>-I/export/scratch/apps3/php-4.0.6/Zend -I/export/scratch/apps3/ldap/include 
>-I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql 
>-I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmltok 
>-I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmlparse 
>-I/export/scratch/apps3/php-4.0.6/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 
>-DXML_BYTE_ORDER=21 -g -O2  -c my_getwd.c && touch my_getwd.lo
> my_getwd.c:58: #error "No way to get current directory"
> *** Error code 1
> make: Fatal error: Command failed for target `my_getwd.lo'
> Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /export/scratch/apps3/php-4.0.6/ext
> 
> Afterwards the compilation exits.
> 
> If i compile without --with-ldap everything works great but if i do it with ldap i 
>get this error message everytime.
> 
> Can anyone please help me.
> I have been struggled with this all morning.
> 
> //Johan
> 
> 
> Johan Vikerskog
> Technician - CAE Tools Support
> Research & Technology Development
> 
>'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> Ericsson Mobile Communications AB
> Mobile Phones & Terminals     Telephone: +46 46 19 33 38
> Nya Vattentornet                      Telefax:        +46 46 19 32 36 
> SE-221 83 Lund, Sweden                
> 





You're not giving enough information..
What is the WHOLE configure line you have used?
On what system is this happening?

--Jani



On Fri, 17 Aug 2001, Johan Vikerskog (ECS) wrote:

>
>       I sended this E-mail to two PHP mailing lists yesterday. Both this one and the 
>installation mailing list. Doesnt
>       seem that anyone can solve this problem for me but i dont believe that.
>       Can someone PLEASE help me!
>> I get the following error message:
>>
>> gcc  -I. -I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql 
>-I/export/scratch/apps3/php-4.0.6/main -I/export/scratch/apps3/php-4.0.6 
>-I/export/scratch/apps3/apache_1.3.20/src/include 
>-I/export/scratch/apps3/apache_1.3.20/src/os/unix 
>-I/export/scratch/apps3/php-4.0.6/Zend -I/export/scratch/apps3/ldap/include 
>-I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql 
>-I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmltok 
>-I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmlparse 
>-I/export/scratch/apps3/php-4.0.6/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 
>-DXML_BYTE_ORDER=21 -g -O2  -c my_getwd.c && touch my_getwd.lo
>> my_getwd.c:58: #error "No way to get current directory"
>> *** Error code 1
>> make: Fatal error: Command failed for target `my_getwd.lo'
>> Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-recursive'
>> Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-recursive'
>> Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-recursive'
>> Current working directory /export/scratch/apps3/php-4.0.6/ext
>>
>> Afterwards the compilation exits.
>>
>> If i compile without --with-ldap everything works great but if i do it with ldap i 
>get this error message everytime.
>>
>> Can anyone please help me.
>> I have been struggled with this all morning.
>>
>> //Johan
>>
>>
>> Johan Vikerskog
>> Technician - CAE Tools Support
>> Research & Technology Development
>> 
>'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>> Ericsson Mobile Communications AB
>> Mobile Phones & Terminals    Telephone: +46 46 19 33 38
>> Nya Vattentornet                     Telefax:        +46 46 19 32 36
>> SE-221 83 Lund, Sweden
>>
>
>





Sorry! Here comes more information.
This is how my configure looks when i am trying to compile.
The ldap directory is were i installed OpenLDAP.
The compilation of OpenLDAP was succesfull and uses BerkeleyDB's ldbm.
I compile on a Solaris 8 machine and the compilation of PHP works without any errors 
when i compile without ldap.

./configure --prefix=$phpinstallpath \
--with-apache=$apachesrc \
--enable-track-vars \
--with-ldap=/export/scratch/apps3/ldap \
--with-config-file-path=$phpinipath

-----Original Message-----
From: Jani Taskinen [mailto:[EMAIL PROTECTED]]
Sent: den 17 augusti 2001 09:35
To: Johan Vikerskog (ECS)
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-INST] ldap compile problem. Please read.



You're not giving enough information..
What is the WHOLE configure line you have used?
On what system is this happening?

--Jani



On Fri, 17 Aug 2001, Johan Vikerskog (ECS) wrote:

>
>       I sended this E-mail to two PHP mailing lists yesterday. Both this one and the 
>installation mailing list. Doesnt
>       seem that anyone can solve this problem for me but i dont believe that.
>       Can someone PLEASE help me!
>> I get the following error message:
>>
>> gcc  -I. -I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql 
>-I/export/scratch/apps3/php-4.0.6/main -I/export/scratch/apps3/php-4.0.6 
>-I/export/scratch/apps3/apache_1.3.20/src/include 
>-I/export/scratch/apps3/apache_1.3.20/src/os/unix 
>-I/export/scratch/apps3/php-4.0.6/Zend -I/export/scratch/apps3/ldap/include 
>-I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql 
>-I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmltok 
>-I/export/scratch/apps3/php-4.0.6/ext/xml/expat/xmlparse 
>-I/export/scratch/apps3/php-4.0.6/TSRM  -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 
>-DXML_BYTE_ORDER=21 -g -O2  -c my_getwd.c && touch my_getwd.lo
>> my_getwd.c:58: #error "No way to get current directory"
>> *** Error code 1
>> make: Fatal error: Command failed for target `my_getwd.lo'
>> Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-recursive'
>> Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql/libmysql
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-recursive'
>> Current working directory /export/scratch/apps3/php-4.0.6/ext/mysql
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-recursive'
>> Current working directory /export/scratch/apps3/php-4.0.6/ext
>>
>> Afterwards the compilation exits.
>>
>> If i compile without --with-ldap everything works great but if i do it with ldap i 
>get this error message everytime.
>>
>> Can anyone please help me.
>> I have been struggled with this all morning.
>>
>> //Johan
>>
>>
>> Johan Vikerskog
>> Technician - CAE Tools Support
>> Research & Technology Development
>> 
>'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>> Ericsson Mobile Communications AB
>> Mobile Phones & Terminals    Telephone: +46 46 19 33 38
>> Nya Vattentornet                     Telefax:        +46 46 19 32 36
>> SE-221 83 Lund, Sweden
>>
>
>




On Fri, 17 Aug 2001, Johan Vikerskog (ECS) wrote:

>The ldap directory is were i installed OpenLDAP.

And the version is ?

>--with-ldap=/export/scratch/apps3/ldap \

Is the path given here the path that you used to configure openldap? (--prefix)
ie. the install path?

>>> my_getwd.c:58: #error "No way to get current directory"
>>> *** Error code 1

This happens if your system doesn't have getcwd() or getwd()
But I think Solaris 8 should have one of them at least.
Are your paths set correctly ?? Like LD_LIBRARY_PATH / PATH ?

--Jani






hello all...

i am trying to change where php looks for its ini file and it will not work
for me?!

this is my configure line:

./configure '--with-config-file-path=/home/burns_j/test'
'--enable-versioning' '--with-system-regex' '--disable-debug'
'--enable-track-vars' '--without-gd' '--disable-pear'
'--with-zlib' --enable-force-cgi-redirect

but when i run a script with phpinfo() it says it is looking in
/usr/local/lib

i also tried using the command switch:

  php -c /home/burns_j/test myscript.php

and that did not work even though the php arguments list says:

  Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>] | {<file> [args...]}
    ... stuff here
    -v             Version number
    -c<path>   Look for php.ini file in this directory
    -a             Run interactively
    ... stuff here

Any ideas?

Jamie.







Hi,

I installed apache v1.3.12 and PHP-4.0.5 on my Solaris 2.6 machine.
It was working normally since June 2001.
Suddenly, apache has stopped to execute my PHP scripts.
Instead to get my "Hello World" PHP message I get a white page only.

Do you have any idea why my PHP scripts cannot be executed anymore?
I tried to reconfigured both apache & PHP, but still it the same.
Below is a list of all modules included in the current httpd file.

bcad7# ./httpd -l
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_so.c
  mod_setenvif.c
  mod_php4.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec

Thanks,

Atif




Reply via email to