php-install Digest 11 Jan 2002 21:30:09 -0000 Issue 644

Topics (messages 5539 through 5542):

PHP source modificated
        5539 by: dcortada

[SuSE 7.3] Compiled PHP, trying to load it but drops an error
        5540 by: Mark van Dijk

Stuck, big time
        5541 by: Dave Lurie

php install on mips processor
        5542 by: dog.intop.net

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, thanks in advance,

i've a apache-1.3.22 and php 4.1.1 as CGI on a Linux 2.4.2 with (
glibc2.2.2 ), and i'd like 
to encrypt my php code because i don't want anybody see it.
I've used POBS to ofuscate code but i've seen that isn't enough, and
then i belive that i should
modificate source code php-cgi and after php makes fopen() and before
read() put my encrypt function .
What's files i should modificate?, i've suppose i should modificate the
file main.c and php_ini.c but 
i'm not sure .

Anybody could help me please ?
Thanks
--- End Message ---
--- Begin Message ---
Hey ppl.

I've compiled PHP 4.1.1 with the following options:

'./configure' '--prefix=/usr/share' '--datadir=/usr/share/php' '--bindir=/usr/bin'
'--libdir=/usr/share' '--with-config-file-path=/etc'
'--with-exec-dir=/usr/lib/php/bin' '--with-mysql=/usr' '--with-zlib=yes'
'--with-bz2' '--with-xml' '--with-dom' '--with-mcal=/usr' '--with-imap=yes'
'--with-ftp' '--enable-versioning' '--enable-bcmath' '--enable-trans-sid'
'--enable-inline-optimization' '--enable-track-vars' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-shmop' '--enable-calendar' '--enable-mbstring' '--enable-mbstr-enc-trans'
'--enable-exif' '--enable-ftp' '--enable-memory-limit' '--enable-wddx'
'--enable-filepro' '--disable-debug' '--enable-force-cgi-redirect'
'--enable-discard-path' '--enable-sigchild' '--with-openssl' '--with-imap-ssl'
'--with-apxs=/usr/sbin/apxs' 'i386-suse-linux'

and when I trigger /etc/rc.d/apache start, I get this error:

Syntax error on line 9 of /etc/httpd/suse_loadmodule.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/libc-client.so:
undefined symbol: pam_end


Maybe you want some more info, I couldn't decide what it is that one needs to know
this...

Anyway, everyone who wants to help me out: thanks :-)

--- End Message ---
--- Begin Message ---
I'm a professional webdesigner, but a recent job i recieved asked me to host
the webpage on my computer, which means i'm trying to install php on my own
system.

I have done so, but when opening a .php file i see the source code and it's
ignoring that php exists. If i stick <html> on the start to make it an html
page it translate the html parts into being visible properly, but the php
parts are still ignored.

What am i doing wrong?

Thankyou

David Lurie



--- End Message ---
--- Begin Message ---
I have compiled apache 1.3.22 on a cobalt raq2 and then tried to compile
php 4.0.6.  both ran through the configure make make install with no
problems.  but when i try to server a .php file with apache i get
"document contained no data" error message.  here is the ./configure for
apache and php

./configure --prefix=/usr/local/apache --server-uid=httpd
--server-gid=httpd --with-port=8080 --enable-module=speling
--enable-module=cgi --enable-module=userdir --enable-module=so
--logfiledir=/home/log/apache

and

./configure --prefix=/usr/local/apache/php --with-mysql
--with-apxs=/usr/local/apache/bin/apxs --enable-track-vars

i have used this syntax before and never had problems, but that was always
on x86 hardware so im wondering if something different is required for a
mips proc.

oh, and in /usr/local/apache/conf/httpd.conf i have
LoadModule php4_module        libexec/libphp4.so
AddModule mod_php4.c
and
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

any suggestions?

Chad Whitten
Network/Systems Administrator
neXband Communications
[EMAIL PROTECTED]


--- End Message ---

Reply via email to