php-install Digest 30 Aug 2002 12:44:47 -0000 Issue 1000

Topics (messages 8261 through 8266):

libphp4.so ??
        8261 by: ceLius

Apache 2.0.40/PHP 4.2.2 Win2000 Help
        8262 by: Weng Pangan

Problems with SAFE MODE
        8263 by: Sebastian Tomasino

Re: Installing command-line php binary
        8264 by: Chris Hewitt

error compiling gd2 with php 4.2.1
        8265 by: electroteque
        8266 by: electroteque

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 did a ./configure --with-mysql=/usr/src/mysql-3.23.52-pc-linux-gnu-i686 
--with-apache=/usr/src/apache_1.3.26
make and make install...
i tried to start apache after that and got this;

root@Secure:/# www/bin/apachectl start
Syntax error on line 983 of /www/conf/httpd.conf:
Cannot load /www/libexec/libphp4.so into server: /www/libexec/libphp4.so: cannot open 
shared object file: No such file or directory
www/bin/apachectl start: httpd could not be started
root@Secure:/#


help... please? i've been trying to understand at least something now for about 3 
hours, but im not smarter...


--- End Message ---
--- Begin Message ---
Help!

I'm new to PHP/Apache/MySQL.

I've tried everything and can't seem to get it done.

done the following:

1.copied php4ts.dll to C:\WINNT\System32 and php.ini to C:\WINNT

2. Added to following to httpd.conf
        ScriptAlias /php/ "c:/php"
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php .phtml
        Action application/x-httpd-php "/php/php.exe"

3. create phpinfo.php in htdocs directory with the following script:

    <?php phpinfo(); ?>

if i try to browse (IE6) an oridnary html file (http://localhost/test.htm)
the page displays correctly.
but when i try http://localhost/phpinfo.php i get a "The page cannot be
found" error. If i re-install
everything, i see

    <?php phpinfo(); ?>

in my browser instead of the output of phpinfo().


i tried adding the ff: to the httpd.conf file

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

but Apache wont start.

do i need to associate  .php files to php.exe or to IE?

what other things do i need to do?  i would prefer running php in server
mode as
recommend by the PHP Help File.

Thanks and more power!

Weng Pangan

--- End Message ---
--- Begin Message ---
Hello everybody,
      i have some problems with php running in the safe mode. Every
      thong goes fine until i have to access the files on the server.
      The problem is that php (i guess) recognize the uid/gid of the
      script like -1/-1.
      I donīt know what to do... I create a new user/group
      (apache/apache) for httpd swich to after initiated but nothing
      appens.
      I have slack 8.1, php 4.2.2, apache 2.0.39.
hint: i was have the same problem in my windows machine (winxp pro, php
4.2.2, apache 2.0.40) but i switch the configuration from the sapi
module to CGI mode and the problem was solved.

any ideas ????
  

-- 
Best regards,
 Sebastian                          mailto:[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Vicki Brown wrote:

>
> On Wednesday, August 28, 2002, at 07:27 PM, Jim Thome wrote:
>
>> I believe the binary is only installed when compiled as a CGI 
>> program.  Remove the nsapi line and recompile to get the binary 
>> installed.
>
> If that is the case, it would be a bug... it should never be necessary 
> to re_configure_ to cause a built file to be installed. 

I agree with your statement but it is not a case of installing a built 
file. The configure line determines how PHP is to be compiled (built). 
The nsapi part asks for it to be compiled as a dynamic library, without 
it as a stand-alone program (CGI).

Regards

Chris

>



--- End Message ---
--- Begin Message ---
hi i got this error starting http after compiling gd2 with php 4.2.1

Syntax error on line 230 of /usr/local/etc/apache_2.0.39/conf/httpd.conf:
Cannot load /usr/local/etc/apache_2.0.39/modules/libphp4.so into server:
/usr/loca
l/etc/apache_2.0.39/modules/libphp4.so: undefined symbol:
gdImageColorClosestAlpha

here is my configure

./configure  --with-apxs2=../httpd/bin/apxs --with-mysql=/usr/local/mysql --
enable-track-vars --with-xml --enable-xslt --with-xslt-sablot --with-expat -
-with-ming --with-jpeg-dir==/usr/local/jpeg-6b  --with-png-dir=/usr/local --
with-freetype-dir=/usr/local --with-gd=/usr/local/gd --enable-gd-native-ttf 
--enable-gd-imgstrttf --with-zlib

what happened ? plus i tried a compile of php 4.2.2 and got the
apache2filter error again


--- End Message ---
--- Begin Message ---
never mind i got it working found something about this and needed to remove
the old gd 1.8 all i did was rm libgd.a in /usr/local/lib and it has all
compiled fine now finally !!

"Electroteque" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi i got this error starting http after compiling gd2 with php 4.2.1
>
> Syntax error on line 230 of /usr/local/etc/apache_2.0.39/conf/httpd.conf:
> Cannot load /usr/local/etc/apache_2.0.39/modules/libphp4.so into server:
> /usr/loca
> l/etc/apache_2.0.39/modules/libphp4.so: undefined symbol:
> gdImageColorClosestAlpha
>
> here is my configure
>
>
./configure  --with-apxs2=../httpd/bin/apxs --with-mysql=/usr/local/mysql --
>
enable-track-vars --with-xml --enable-xslt --with-xslt-sablot --with-expat -
> -with-ming --with-jpeg-dir==/usr/local/jpeg-6b  --with-png-dir=/usr/local 
--
>
with-freetype-dir=/usr/local --with-gd=/usr/local/gd --enable-gd-native-ttf
> --enable-gd-imgstrttf --with-zlib
>
> what happened ? plus i tried a compile of php 4.2.2 and got the
> apache2filter error again
>
>


--- End Message ---

Reply via email to