php-install Digest 18 Dec 2002 04:38:14 -0000 Issue 1165

Topics (messages 9406 through 9408):

php.ini/Linux?
        9406 by: Kitesmurf
        9407 by: Jim Thome

Problem with lex?
        9408 by: Interware \(Roboz\)

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 ---
Hello. I just recently switched to Linux and am now having minor
difficulties with setting up my webserver. Using Apache 1.3.27 and PHP
4.2.3, compiled like a charm according to the INSTALL files. However, I
can't open any PHP files in my browser(s). Mozilla, e.g. gives me a
connection refused error (html, etc files work w/o problems though). I
assume this has something to do with the php.ini, as I am rather unsure
where to put it. I've installed Apache in /home/username/.apache/ and
PHP in /usr/local/lib/php. The INSTALL file states that I have to put
the php.ini into /usr/local/lib in most cases. Does this apply to my
case as well? I've noticed that not having php.ini in /usr/local/lib has
the same effect as it being actually there.

Thanks in advance for the help and my apologies if I've overlooked
merely a minor detail.

J. Greene




--- End Message ---
--- Begin Message ---
Make sure the following line is in your httpd.conf file.

AddType application/x-httpd-php .php 

...and restart Apache.

--
Jim

>>> Kitesmurf <[EMAIL PROTECTED]> 12/16/02 02:01PM >>>
Hello. I just recently switched to Linux and am now having minor
difficulties with setting up my webserver. Using Apache 1.3.27 and PHP
4.2.3, compiled like a charm according to the INSTALL files. However, I
can't open any PHP files in my browser(s). Mozilla, e.g. gives me a
connection refused error (html, etc files work w/o problems though). I
assume this has something to do with the php.ini, as I am rather unsure
where to put it. I've installed Apache in /home/username/.apache/ and
PHP in /usr/local/lib/php. The INSTALL file states that I have to put
the php.ini into /usr/local/lib in most cases. Does this apply to my
case as well? I've noticed that not having php.ini in /usr/local/lib has
the same effect as it being actually there.

Thanks in advance for the help and my apologies if I've overlooked
merely a minor detail.

J. Greene





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


--- End Message ---
--- Begin Message ---
Hi All,

    Please help me. I can't install the PHP.

Thanks: Béci

------------------------------------------------------------
nagygep:~/install/php/php-4.1.2 #
./configure --with-mysql --with-apxs=/apacs/bin
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP
parsers.
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
------------------------------------------------------------
--- End Message ---

Reply via email to