php-install Digest 13 Jul 2003 04:25:28 -0000 Issue 1459

Topics (messages 11270 through 11272):

Configuration problems.
        11270 by: Arun

Re: error NOTICE
        11271 by: Michael Mauch

php --with-prpro dosen't work
        11272 by: sameer

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 ---
I have installed Apache 2.0.47 and php 4.3.2 in Windows 98. Downloaded the
php in the .zip format.

The Apache server works properly without the inclusion of php.
The problem is apache dosent even start with php in the SAPI mode,it gives a
error stating that:

"One of the device attached to the system isnt functioning properly"
(or)
"Library files missing"

and in the CGI mode the apache server starts and it executes the .html files
but it dosent execute the .php file or the .html files with php commands
giving an error statement:

"Internal Server Error
The server encountered an internal error or misconfiguration and was  unable
to complete your request."
with a dialog box message stating that
"The PHP4TS.DLL file is linked to missing export OLEAUT32.DLL:77."
(I do have the OLEAUT32.DLL file in the same folder as the PHP4TS.DLL file)

I have copied all the .dlls and php.ini to their respective places as given
in the manual but still dosent work.
I am hoping some one could give me a suggestion or a solution to my problem.


"Jim Thome" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You have to modify the apachectl script to get around the HPUX thread
> local storage problem.
>
> Add the following to your apachectl script under the 'START
> CONFIGURATION SECTION':
>
> export ORACLE_HOME=/path/to/oracle
> export SHLIB_PATH=$ORACLE_HOME/lib:/path/to/apache/lib:$SHLIB_PATH
> export LD_PRELOAD=/usr/lib/libpthread.sl:/usr/lib/libcl.sl
> export
>
LD_PRELOAD=$LD_PRELOAD:$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.s
l
>
>
> --
> Jim
>
> >>> "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]> 06/16/03 12:52PM >>>
> I am trying to get PHP 4.2.3 working on a HP-UX 11.00 system
> that I
> have had no luck getting 4.3.2 to work on.  The compile and everything
> went
> great, but now Apache fails to start complaining about PHP.  Here is
> the
> output of the Apache start...
>
> [EMAIL PROTECTED]:/sbin/init.d> ./httpd start
> /usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
> Storage:
> /us
> r/lib/libcl.2
> /usr/lib/dld.sl: Exec format error
> Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec
> format
> error
> /usr/local/apache/bin/apachectl startssl: httpd could not be started
> Apache started.
>
> At this point, Apache is not actually running.  Any help would
> be
> most appreciated.
>
> Scott Nipp
> Phone:  (214) 858-1289
> E-mail:  [EMAIL PROTECTED]
> Web:  http:\\ldsa.sbcld.sbc.com
>
>
>
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--- End Message ---
--- Begin Message ---
Marco Mastrorilli wrote:

> -Notice: Use of undefined constant data......
> -Notice: Use of undefined constant mail.......
> -Undefined variable........
> 
> Why in my scripts i always get error notice like this? 
> How can i solve this problem?

See <http://it.php.net/error_reporting> and
<http://it.php.net/manual/en/ref.errorfunc.php#ini.error-reporting>.

In short: either define (set) your constants and variables before you
use (read) them, or turn off reporting of E_NOTICE messages:

error_reporting(E_ALL &~ E_NOTICE);

Or in php.ini:

error_reporting = E_ALL & ~E_NOTICE

Regards...
                Michael

--- End Message ---
--- Begin Message --- hi,

i am using apache with ssl installed with it.

Version details.

Apache 1.3.27
mm 1.3.0
mod_ssl 2.8.14 for apache 1.3.27
openssl 0.9.7b

pfpro sdk 3.0
php 4.3.2

i installed php with following ./configure options.

./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-pfpro=shared,/usr/local/lib --with-xslt --with-xml

it works fine but when it comes to any pfpro function, the pfpro_init() fails. The error it gives is :

Call to undefined function: pfpro_init() in /usr/local/apache/htdocs/blah/subscribe.php on line 445

The above configure options do not give any error, not while making configure tests and not on
# make


and

# make install steps

apache restarts well. No error. Only pfpro_init() fails.

any suggestions?

Thank You.

Sameer.

--
------------------------
If you think the system is working, ask someone who's waiting for a prompt.




--- End Message ---

Reply via email to