php-install Digest 27 Feb 2002 10:28:09 -0000 Issue 720

Topics (messages 6165 through 6171):

Setting up PHP (cgi version) with AnalogX SimpleServer:WWW
        6165 by: Travis Smith

Re: Sporadic "Document Contains No Data" pages
        6166 by: Yasuo Ohgaki
        6167 by: Yasuo Ohgaki

Error configuring PHP 4.1.1
        6168 by: Brett Cavé
        6170 by: Rasmus Lerdorf

Problem Solved
        6169 by: Brett Cavé

help with win32(98) installation
        6171 by: Nate Damico

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 ---
Has anyone had any experience with setting up PHP (CGI version) with AnalogX's 
SimpleServer:WWW? ( http://www.analogx.com )

I've been looking for any docos on this and have not found anything. Also, even 
though the SimpleServer page indicates that the author has been using this with 
PHP, there is no info on the site as to how, and the author has not responded 
to any queries.

I have used apache and that is fine for my purposes, but I am setting this up 
for someone who is just starting out in web programming and wants a simple, 
easily maintained system: For a basic web-server, SimpleServer meets that need 
nicely, if only I could get PHP going too =) 

I have PHP working fine for parsing files, it's only when I try to get this 
to go through the server that things go wrong: An empty page with opening and 
closing HTML, HEAD and BODY tags is produced.

Cheers!
-Trav

--- End Message ---
--- Begin Message ---
Eric D Nielsen wrote:
> On a RedHat 7.2 machine I've installed:
> 
> Apache v1.3.22 (with mm 1.1.3 and mod_ssl 2.8.5-1.3.22 and openssl 0.9.6b)
> PostGreSQL v7.1.3
> PHP v4.1.0
> 
> a dummy file with <?php echo phpinfo(); ?> displays the information page
> 
> However when trying to view the main page of my site, my users and I receive
> the "Document Contains No Data" error on seeminly random occasions.  Some
> never receive it if they follow a link to the page, others almost always if the
> follow the link.  Similar behavoir for those who enter it directly in the 
> address bar.  Typically one method works for a given user, but it seems to be
> browser independent.
> 
> I didn't mess with the apache conf file, except to add index.php the mod_dir.c
> list of director indexes.
> 
> Any advice would be greatly appreciated.
> 

It looks you have crash bug, get backtrace and send bug report.
Don't forget to try latest CVS snapshot.

http://snaps.php.net/

-- 
Yasuo Ohgaki

--- End Message ---
--- Begin Message ---
Eric D Nielsen wrote:
> On a RedHat 7.2 machine I've installed:
> 
> Apache v1.3.22 (with mm 1.1.3 and mod_ssl 2.8.5-1.3.22 and openssl 0.9.6b)
> PostGreSQL v7.1.3
> PHP v4.1.0
> 
> a dummy file with <?php echo phpinfo(); ?> displays the information page
> 
> However when trying to view the main page of my site, my users and I receive
> the "Document Contains No Data" error on seeminly random occasions.  Some
> never receive it if they follow a link to the page, others almost always if the
> follow the link.  Similar behavoir for those who enter it directly in the 
> address bar.  Typically one method works for a given user, but it seems to be
> browser independent.
> 
> I didn't mess with the apache conf file, except to add index.php the mod_dir.c
> list of director indexes.
> 
> Any advice would be greatly appreciated.
> 

It looks you have crash bug, get backtrace and send bug report.
Don't forget to try latest CVS snapshot.

http://snaps.php.net/

-- 
Yasuo Ohgaki


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

--- End Message ---
--- Begin Message ---
Hi

I installed flex which solved my earlier problem. Now, when i configure php,
i get another error.

I have tried to install it 2 ways:

        --with-apache
        With this option, the httpd.h file cannot be found.

        --with-apxs:
        There is no "apxs" file.

If i do not use one of these options, will PHP only be able to be used as a
cgi? how would i solve this problem?


During the installation, the mysql header files also cannot be found. They
are in /usr/include/mysql, but when i
specify --with-mysql=/usr/include/mysql/ it reports that the headers where
not found.


Brett



--- End Message ---
--- Begin Message ---
Ack, big-time RTFM here.  Please read the INSTALL file.

For --with-apache you must have the Apache source tree available.

For --with-apxs you obviously need apxs.  Usually in the various
apache-dev packages on the various systems.

If you don't have either, then yes, you can only build the cgi version.

As for --with-mysql, as the INSTALL file states very clearly:

   There are a few things that can go wrong during this configure step.
   The most common is that you have asked for an option and that the
   configure script can not find the files required to enable this
   option in PHP.  Chances are you can provide the full path to the
   base directory under which the related files were installed.  For
   example, if you have installed the GD library in /opt/gd which means
   that /opt/gd/include has your GD header files and /opt/gd/lib contains
   your GD library files, you would use --with-gd=/opt/gd

This tells you that you should be using --with-mysql=/usr
in your case.

-Rasmus

On Wed, 27 Feb 2002, [iso-8859-1] Brett Cavé wrote:

> Hi
>
> I installed flex which solved my earlier problem. Now, when i configure php,
> i get another error.
>
> I have tried to install it 2 ways:
>
>       --with-apache
>       With this option, the httpd.h file cannot be found.
>
>       --with-apxs:
>       There is no "apxs" file.
>
> If i do not use one of these options, will PHP only be able to be used as a
> cgi? how would i solve this problem?
>
>
> During the installation, the mysql header files also cannot be found. They
> are in /usr/include/mysql, but when i
> specify --with-mysql=/usr/include/mysql/ it reports that the headers where
> not found.
>
>
> Brett
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

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

I found the php-mysql rpm, which solved all my problems. 

*doh* :)

Brett
--- End Message ---
--- Begin Message ---
Hello,

I seem to be having some terrible problems with my PHP 4 install on Windows 
98 running Apache 1.3.19.  I am trying run the .dll and not the executable.  
Below is snippets from my configuration file for apache.  I have followed 
all the steps and checked them about fifty times, read postings on the 
php.net site, tried that stuff as well and my scripts will not be executed.  
Apache is loading the php4apache.dll and the php4ts.dll when its running, as 
I was able to delete them before starting it as well as after but while 
running I got the usual "In Use" error.  After completing the install steps, 
and restarting the server, it reads "PHP 4.1.1 running".  The php.ini is in 
my windows dir.  So everything seems to be fine except the scripts will not 
get interpreted.

Any help/suggestions, would be much appreciated.

Thank you
-----------------------------------------------
-Here is the LoadModule line

##########################################################
LoadModule php4_module c:/php/sapi/php4apache.dll
#########################################################

-Here is the line for AddType

    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--- End Message ---

Reply via email to