php-install Digest 1 Aug 2003 11:51:53 -0000 Issue 1483

Topics (messages 11368 through 11373):

Re: not loading php correctly
        11368 by: Donald Tyler
        11369 by: John Szkudlapski

Invalid library 'ldap.so'
        11370 by: ivan.fontanals.safelayer.com

Installing on local machine
        11371 by: Trisha M
        11372 by: Daniel Moore

./configure command not found
        11373 by: Marcello Duarte

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 ---
That is an Apache configuration issue. With the default installation of
Apache, it only serves index.html as home page, not index.php. You need to
reconfigure your Apache to server index.php.

You can also access the file by adding it to the end of your URL. But
obviously if this is going to be set up with a Domain name, you will want to
properly configure the default page in Apache.

Check out www.apache.org for details.

-----Original Message-----
From: Richard Frazier [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 8:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] not loading php correctly

so yeah i got apache and php installed like the php install txt file says
too. i also created a small test php page (index.php) and placed it in the
root directory for apache but when i go to http://192.168.0.2 it just shows
a directory of all of the files in the root. im using xp, apache 1.3.2.8,
and php 4.3.3rc2


~Richard



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Hi there.

What you need to do is edit your apache httpd.conf and search for the
lines.

1) 

AddType image/x-icon .ico

And then directly underneath this line, add the following.

AddType application/x-httpd-php .php

2)

Then find the lines

<IfModule mod_dir.c>
    DirectoryIndex index.html
</IfModule>

And change it to

<IfModule mod_dir.c>
    DirectoryIndex index.html index.php
</IfModule>

That should help :)

------------------------------------
John Paul Szkudlapski (Web Manager)
Computer Services - BSFC
t: +44 151 651 3720
f: +44 151 653 4419
m: +44 780 154 2033
w: http://hermes.bsfc.ac.uk


****************************************************************
Birkenhead Sixth Form College

This message is sent in confidence for the addressee only;
If it has come to you in error please notify [EMAIL PROTECTED]

The contents of this e-mail are the personal views of the sender, 
which may not necessarily reflect those of the college.

This message has been scanned for viruses. 
The college cannot accept any responsibility for any viruses 
which may have come from external sources.

**************************************************************** 



--- End Message ---
--- Begin Message ---
Hi everyone!
        I'm working with an Apache2 server and PHP4 inside a Red Hat 9. I have compiled and added my own PHP libraries as shared objects without any problems, but now I need to add the Ldap library.
I 've tried to compile it in two ways, first as a static module inside the PHP binary file, and the second one as a shared object, but in both cases I've got some problems.

If I try to use it as part of the PHP binary file, the ldap library runs ok, but my PHP libraries do not work!!! It's strange because when I load the libraries ( dl(...) ) there are no errors, but I can not use them... Do you have any idea about what can be the problem? I'm sure that my php.ini is ok, I mean, the extension-dir points to the correct directory....( phpinfo() )

My second choice was to compile it as a shared object. I did it with the phpize tool (./configure, make and make install), and with the php configure script, but in both cases I obtained the same result: a not valid "ldap.so".
My command was this:
./configure --with-apxs2=/home/ivanf/local/apache2/bin/apxs --with-config-file-path=/home/ivanf/local/php         --prefix=/home/ivanf/local/php --with-ldap=shared

and the error shown in my browser:

Warning: dl(): Invalid library (maybe not a PHP library) 'ldap.so' in         home/ivanf/local/apache2/htdocs/php/AD.php on line 8

My AD.php is as simple as the following...

    <body>

<?php
        dl("ldap.so");
        echo "<H1> Pagina de pruebas...</H1>";
        $ds=ldap_connect("ldap://192.168.7.105");
?>

</body>


Please, could  anyone help me????

My bests regards in advance!!

Thank you!

Ivan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


--- End Message ---
--- Begin Message ---
Hi all, I'm trying to install PHP on a local computer so I can learn how PHP without having to dial up all the time. MYSQL is installed already, and seems to be working correctly, but I cannot get PHP to install. I tried the Windows installer program, and got an error, and don't really know what to do next.

System specs-
AMD Athlon 1400XP Thunderbird on local network with crossover RJ45's (no hub)
Windows XP Pro
256mb SD-RAM
Epox 8K3A+ mobo with KT133 chipset
40gig HDD
Riva TNT2 32bit grapics (AGP)
MySQL 4.0.13.nt
- local host via TCP/IP
- 1 thread
- 6 tables
- 400+ questions

Other comp on network is a
AMD Athlon 1800XP Thunderbird
Windows XP Pro
265mb DDR RAM
Epos 8K5A+ mobo with KT333 chipset
40 gig HDD
Riva TNT2 32bit graphics (AGP)

Network is set up correctly, comps can share files, and Internet Access is shared :)
Any other info required?
Can anyone help me?

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp


--- End Message ---
--- Begin Message --- What was the error?


Trisha M wrote:


Hi all, I'm trying to install PHP on a local computer so I can learn how PHP without having to dial up all the time. MYSQL is installed already, and seems to be working correctly, but I cannot get PHP to install. I tried the Windows installer program, and got an error, and don't really know what to do next.

System specs-
AMD Athlon 1400XP Thunderbird on local network with crossover RJ45's (no hub)
Windows XP Pro
256mb SD-RAM
Epox 8K3A+ mobo with KT133 chipset
40gig HDD
Riva TNT2 32bit grapics (AGP)
MySQL 4.0.13.nt
- local host via TCP/IP
- 1 thread
- 6 tables
- 400+ questions

Other comp on network is a
AMD Athlon 1800XP Thunderbird
Windows XP Pro
265mb DDR RAM
Epos 8K5A+ mobo with KT333 chipset
40 gig HDD
Riva TNT2 32bit graphics (AGP)

Network is set up correctly, comps can share files, and Internet Access is shared :)
Any other info required?
Can anyone help me?

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp



--
tchau!
___ ___ ___ ___ ___ ___ /\ \ /\ \ /\__\ /\ \ /\ \ /\__\ /::\ \ /::\ \ /:| _|_ _\:\ \ /::\ \ /:/ / /:/\:\__\ /::\:\__\ /::|/\__\ /\/::\__\ /::\:\__\ /:/__/ \:\/:/ / \/\::/ / \/|::/ / \::/\/__/ \:\:\/ / \:\ \ \::/ / /:/ / |:/ / \:\__\ \:\/ / \:\__\ \/__/ \/__/ \/__/ \/__/ \/__/ \/__/

'When what is indestructible meets what is irresistable, the female all too often 
wins.'
-- Narrator, Monkey Magic





--- End Message ---
--- Begin Message ---
I'm trying to install php 4.3 in the MacOS 10.2.6

After unpacking the files and placing them at hd/sites/apps/php-4.3.0 I try the 
command:

hd:-] user1/sites/apps/php-4.3.0% ./configure <followed by some flag e.g. --help> and 
the command configure is just not recognized by the system.

I have Developers Tools Dec2002 installed.

Any tips?

Thank you
Marcello Duarte
[EMAIL PROTECTED] 

--- End Message ---

Reply via email to