php-install Digest 6 Jul 2002 01:20:05 -0000 Issue 918
Topics (messages 7628 through 7632):
Re: Help!!!
7628 by: Shrock, Court
Re: PHP Include
7629 by: Shrock, Court
Running into problems when doing './configure'
7630 by: Desmond Lee
7631 by: Rasmus Lerdorf
libphp4.so: undefined symbol: pam_start
7632 by: Alejandro Moreno
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 ---
Apache does not know to have PHP parse .php files....read install.txt for
directions on setting up apache--you will need to make some modifications to
your httpd.conf.
> -----Original Message-----
> From: John Lazos [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 04, 2002 1:18 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Help!!!
>
>
> Hi, I installed apache with support of php as i found om the online
> manual at php.net.
> I created a simple php file named hello.php
>
> <html>
> <head>
> <title>PHP Test Page</title>
> </head>
> <body>
> <?php echo "Hello <p>"; ?>
> </body>
> </html>
>
>
>
> and i the file in my htdocs directory i restarted apache and when i'm
> trying to access the page http://localhost/hello.php as a result i'm
> getting the contents of the file hello.,php
> which are:
> <html>
> <head>
> <title>PHP Test Page</title>
> </head>
> <body>
> <?php echo "Hello <p>"; ?>
> </body>
> </html>
>
>
> What is wrong is my apache able to display php pages?
>
> Thanx for your time!
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
One possible solution:
Is your browser cacheing the page? I have found that I need to effectively
disable my browser cache.
> -----Original Message-----
> From: drbworld drbworld [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 10:22 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] PHP Include
>
>
> My site is ...
> http://drbworld.d2g.com/drbworld/default.php
>
>
> I'm using the code
> <?php if(!is_file($id)){ $id="contactus.htm";} include($id); ?></div>
>
> in my default.php file. When I go to
> http://drbworld.d2g.com/drbworld/default.php?> id=contactus.htm
> or
> http://drbworld.d2g.com/drbworld/default.php
>
> it's okay, but when i go to
> http://drbworld.d2g.com/drbworld/default.php?> id=download.htm
>
> it's the same page as contactus.htm
>
> Please
> contact me soon. Thank YOu
>
> Saiyan Life
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hello everyone
I installed apache 2 and then installed mysql by following the instructions
(modified to set up apache 2) that were on the http://www.e-gineer.com/
site.
So far so good. Apache works and mysql works. I think I configured apache
with the --enable-module=so option ( is there anyways to check just to be
sure ).
So, i got the php source files then untared them. But when i run the
./config i get the following error message:
>./configure --with-apxs2=/usr/local/etc/httpd/bin/apxs
>--with-mysql=/usr/local/mysql --with-config-file-path=/www/conf
>--with-apache=/usr/local/etc/httpd --enable-track-vars --enable-trans-sid
error message:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
configure: error: Invalid Apache directory - unable to find httpd.h under
/usr/local/etc/httpd
I don't really know why it can't find the httpd.h file? It is not in the
/usr/local/etc/httpd directory where apache was installed. I treid to search
for the httpd.h file by doing 'find . httpd.h' in the /usr/local/httpd dir
but i didn't get anything.
Can anyone help please?
Thanks a bunch
Desmond
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--- End Message ---
--- Begin Message ---
You never use --with-apxs2 and --with-apache at the same time. In fact,
for Apache2 only --with-apxs is valid.
On Fri, 5 Jul 2002, Desmond Lee wrote:
> Hello everyone
>
> I installed apache 2 and then installed mysql by following the instructions
> (modified to set up apache 2) that were on the http://www.e-gineer.com/
> site.
>
> So far so good. Apache works and mysql works. I think I configured apache
> with the --enable-module=so option ( is there anyways to check just to be
> sure ).
>
> So, i got the php source files then untared them. But when i run the
> ./config i get the following error message:
>
> >./configure --with-apxs2=/usr/local/etc/httpd/bin/apxs
> >--with-mysql=/usr/local/mysql --with-config-file-path=/www/conf
> >--with-apache=/usr/local/etc/httpd --enable-track-vars --enable-trans-sid
>
> error message:
> Configuring SAPI modules
> checking for AOLserver support... no
> checking for Apache 1.x module support via DSO through APXS... no
> checking for Apache 1.x module support... no
> configure: error: Invalid Apache directory - unable to find httpd.h under
> /usr/local/etc/httpd
>
>
> I don't really know why it can't find the httpd.h file? It is not in the
> /usr/local/etc/httpd directory where apache was installed. I treid to search
> for the httpd.h file by doing 'find . httpd.h' in the /usr/local/httpd dir
> but i didn't get anything.
>
> Can anyone help please?
>
> Thanks a bunch
>
> Desmond
>
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Linux
Apache 1.3.19
PHP 4.1.2 INSTALLED as a server module (by me, with no problems)
Trying to install version 4.2.1, I finally got the configuration right:
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --enable-sysvsem --enable-track-vars
--with-jpeg-dir=/usr/local/bin --with-imap
--with-imap-ssl=/usr/local/ssl --enable-trans-sid --with-xml
'make' worked ok, and 'make install' too. I stopped apache, and then:
# /usr/local/apache/bin/apachectl start
Syntax error on line 236 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: pam_start
/usr/local/apache/bin/apachectl start: httpd could not be started
I thought tihs was something that version 4.2.1 used, so I decided to
cancel my php update until I found out more about this.
Thus, I decided to re-install version 4.1.2...
And got the same result:
# /usr/local/apache/bin/apachectl start
Syntax error on line 236 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: pam_start
/usr/local/apache/bin/apachectl start: httpd could not be started
I checked out PAM a bit, and found it too daunting, but what I really
want to know is, how come I could install php 4.1.2 with no problems
whatsoever and then have this problem while re-installing it?
This is a server I'm talking about, and now its web server is down. I
know, I could comment the lines that load the php module, but I /need/
php.
Please help. I have no idea what has happened to my box, and I don't
want to kill it by installing PAM incorrectly (if indeed that would fix
anything).
AlexM.
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--- End Message ---