php-install Digest 28 Nov 2002 22:24:12 -0000 Issue 1138
Topics (messages 9265 through 9269):
Re: PHP Code in .html/.htm pages
9265 by: John Coder
GD
9266 by:
9267 by: jqp.park.se
--with-pgsq in another machine
9268 by: Sudiarsa Imade
Help needed to configure php + Apache
9269 by: Sabina Alejandr Schneider
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 ---
On Wed, 2002-11-27 at 18:57, Robert W. Kramer III wrote:
>
> If I name my file .php and run the printinfo() routine, I get output. But
> when the file is named .html or .htm, the printinfo() just displays in the
> page.
>
> Is there a way to get .html files to execute the PHP code within them? For
> example, the following code will only work from within a file with .php as
> the extension:
>
> (index.php)
> <?php
> print ("Hello World!<P>");
> phpinfo();
> ?>
>
> This will display as expected showing the PHP environment in pretty tables.
>
> When I rename index.php to index.htm, I get output that looks like this:
>
> "); phpinfo(); ?>
>
> Can't PHP code be inserted in .html named files?
I believe it can by adding to your web-servers conf file .
in apache 1.2.37 it would be
AddType application/x-httpd-php .html
Check your web-servers docs to be sure.
John Coder
--- End Message ---
--- Begin Message ---
I know this isnt strictly related to PHP but I'm trying to recompile PHP
with GD support, and I've run into a little problem. When i try to
./configure GD 2.0.8 it cant find anything!!
configure: WARNING: zlib is required - see http://www.gzip.org/zlib/
checking for libpng-config... no
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
checking for png_create_read_struct in -lpng... no
configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/
checking for freetype-config... /usr/local/bin/freetype-config
checking for FT_Init_FreeType in -lfreetype... no
configure: WARNING: not found - disabling freetype support
checking freetype/freetype.h usability... no
checking freetype/freetype.h presence... no
checking for freetype/freetype.h... no
checking for jpeg_set_defaults in -ljpeg... no
checking for XpmReadFileToXpmImage in -lXpm... no
** Configuration summary for gd 2.0.8:
Support for PNG library: no
Support for JPEG library: no
Support for Freetype 2.x library: no
Support for Xpm library: no
How is that possible?! I have PNG, JPEG and Freetype2 installed!
Anyone have any ideas why this GD configure script is not working right on
this server?
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--- End Message ---
--- Begin Message ---
Well, the first thing to check is why configure can't locate zlib,
it's required for png to work. Check if your library cache works
(run 'ldconfig -p | grep libz' in linux [check out the rosetta
stone at http://bhami.com/rosetta.html for other unices]. If this
doesn't work check that you have an entry for /usr/local/lib in
/etc/ld.so.conf [again this path/file may differ if not linux] and
run 'ldconfig' again).
Also check the config.log for errors.
Peder Hedlund
Parkskolan
Övik
Sweden
On Wed, 27 Nov 2002, wrote:
> I know this isnt strictly related to PHP but I'm trying to recompile PHP
> with GD support, and I've run into a little problem. When i try to
> ./configure GD 2.0.8 it cant find anything!!
>
> configure: WARNING: zlib is required - see http://www.gzip.org/zlib/
> checking for libpng-config... no
> checking png.h usability... no
> checking png.h presence... no
> checking for png.h... no
> checking libpng/png.h usability... no
> checking libpng/png.h presence... no
> checking for libpng/png.h... no
> checking for png_create_read_struct in -lpng... no
> configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/
> checking for freetype-config... /usr/local/bin/freetype-config
> checking for FT_Init_FreeType in -lfreetype... no
> configure: WARNING: not found - disabling freetype support
> checking freetype/freetype.h usability... no
> checking freetype/freetype.h presence... no
> checking for freetype/freetype.h... no
> checking for jpeg_set_defaults in -ljpeg... no
> checking for XpmReadFileToXpmImage in -lXpm... no
--- End Message ---
--- Begin Message ---
Dear All,
(B
(BIs there posible to install PHP --with-pgsq, but pgsql have been installed
(Bin another machine??
(B
(BIs somebody have an idea?... please
(B
(B
(B
(B
(B
(B
(B
(B
(B
(B_________________________________________________________________
$B%-%c%j%"%"%C%W$rL\;X$9$"$J$?$N%J%S%2!<%?!<(B MSN $B="?&!&E>?&(B
(Bhttp://career.msn.co.jp/
--- End Message ---
--- Begin Message ---
Hello to everybody!!! I am writing to this list to ask you
for help in installing Apache + Php in a Red Hat 8.0. I
have installed the Apache and the php modules that comes
in the CD, but at the time I try to see a .php in my
browser I only see the code. I've been working with other
versions of Apache and I never had these problems. I think
Apache is not well configured with php. There are many
changes between Apache 1.3 and 2.0 and I don't know what
to do. If somebody can help me with some intructions or
documentation, it will be greatefull!! Thank's in
advance!!
_________________________________________________________________
Tutopia - Acceso a Internet rápido, fácil y a los mejores precios.
http://www.tutopia.com
--- End Message ---