php-install Digest 6 Jun 2003 00:46:24 -0000 Issue 1410
Topics (messages 11014 through 11018):
Compiling error in PHP 4.3.2
11014 by: Bix
Approved
11015 by: aleast.capri.it
PHP install help gettext
11016 by: Andrew Li
Re: Help for PHP Newbie!
11017 by: Emily Wrenholt
php.ini ignored
11018 by: Mat
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 ---
I'm compiling with:
./configure --with-apxs --with-mysql=/usr --with-mcrypt=/usr/local/lib/ --wi
th-imap=/home/redhat/SOURCES/imap-2001a/ --with-imap-ssl=/usr/local/ssl --wi
th-dba --with-gd --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/l
ib --enable-gd-native-ttf --with-png-dir=/usr/local/lib
This worked fine with 4.3.1 and in 4.3.2 it configures fine, but under
make...
ext/gd/gd.lo: In function `zm_deactivate_gd':
/home/src/php-4.3.2/ext/gd/gd.c:382: undefined reference to
`gdFreeFontCache'
ext/gd/gd.lo: In function `zif_imagecolorat':
/home/src/php-4.3.2/ext/gd/gd.c:1855: undefined reference to
`gdImageBoundsSafe'
/home/src/php-4.3.2/ext/gd/gd.c:1863: undefined reference to
`gdImageBoundsSafe'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Any ideas?
TIA. ;o)
--- End Message ---
--- Begin Message ---
Please see the attached file.
--- End Message ---
--- Begin Message ---
Hi,
We are attempting to install PHP 4.3.2 on to windows XP using Apache as
our web server. When we try to start apache, the Warning message
appears: "Unkown(): Unable to load dynamic library
'c:\PHP\extensions\php_gettext.dll' - The specified module could not be
found." We have not been able to locate the php_gettext.dll file, and it
was suggested to try the libintl.dll file, but we have not had any
success with it. Can you please help us?
Thanks,
Andrew
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Stephen:
I'm having exactly the same problems as Bud...and I
*have* followed all Installation instructions
(Numerous times) But my php files still are not parsed
and are displayed as text only.
When I start the Apache server from the Apache icon
(Not the short cut) It prints in the command prompt
"Apache/1.3.27 <Win32> PHP/4.3.2 running..." So I feel
like I've done something right. :)
Any idea what I'm doing wrong?
I'm on WinXP.
Thanks,
Emily
[EMAIL PROTECTED]
----- Original Message -----
From: "Stephen" <[EMAIL PROTECTED]>
Newsgroups: php.install
To: "Bud Roble" <[EMAIL PROTECTED]>
Cc: "Installation Helplist (PHP)"
<[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 4:07 AM
Subject: Re: [PHP-INST] Help for PHP Newbie!
> Sounds like your Apache is not correctly set to pass
php files. Heres how it
> should be done:
>
> Open httpd.conf
>
> Search for "# Dynamic Shared Object (DSO) Support"
> This should show a long list of commented (lines
with # in front) lines.
> Scroll to the bottom of the list and add:
>
> LoadModule php4_module C:/server/PHP/php4apache.dll
>
> Ensure that this command actually points to
php4apache.dll. Also, you need
> to find and copy php4ts.dll into EXACTLY the same
directory as
> php4apache.dll.
>
> If you continue to scroll down, the next session
after the "LoadModule"
> lines should be "AddModule". At the bottom of this
list, you need to add the
> line
>
> AddModule mod_php4.c
>
> Okay, so that is php installed, but next you need to
set it so that .php
> files are run using php! To do this, search for
> "# AddType allows you to tweak mime.types without
actually editing it, or
> to"
> You may already have a short list of options here,
all you need to add is
>
> AddType application/x-httpd-php .php
>
> This tells Apache that all files that end in .php
should be parsed using
> php. Your files should now be working! One other
feature you might like...
> by default Apache will search for an index.html file
to be display. You can
> change this to load any file you like. Just search
for
> "# DirectoryIndex: Name of the file or files to use
as a pre-written HTML"
> Below it you should see this
>
> <IfModule mod_dir.c>
> DirectoryIndex index.html
> </IfModule>
>
> Simply add the files you would like to be displayed
by default. Apache works
> from left to right so this:
> <IfModule mod_dir.c>
> DirectoryIndex index.php index.html
> </IfModule>
> Would first look for an "index.php" file, and if it
was not found, then
> search for an "index.html"
>
> Good Luck
>
> Stephen
>
> ----- Original Message -----
> From: "Bud Roble"
<[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 03, 2003 6:23 AM
> Subject: [PHP-INST] Help for PHP Newbie!
>
>
> > I've installed PHP 4.3.2 with Apache 1.3 and
believe I've followed all the
> > configuring instructions to the letter. I
create the phpinfo.php script
> > file for testing and placed it in the C:/program
files/apache
> > group/apache/htdocs folder for testing. When I
type
> localhost/phpinfo.php
> > in my browser, the script is not being parsed.
The script is simply
> > displayed in the browser window as raw text. I
can display all of the
> html
> > documents in the htdocs folder fine but any php
document I browse to
> simply
> > displays the raw text in the browser. It acts
the same whether I try at
> > the localhost or from another computer on the
network. What am I doing
> > wrong?
> >
> > Any help will be greatly appreciated!
> >
> > Bud Roble
> > [EMAIL PROTECTED]
> > (805)794-3027
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
http://www.php.net/unsub.php
> >
> >
>
>
=====
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--- End Message ---
--- Begin Message ---
Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2
my php.ini file seems to get ignored...I changed the output buffering to on
and changed the include path to ".:var/www/" and none of those changes
actually happen.
I call phpinfo() and here is what I get:
Configuration File (php.ini) Path /etc/php4/apache/php.ini
output buffering - no value
and include_path .:/usr/share/pear
I've seen one persone who has the same problem up till now...anyone got a
solution? What fact am I overlooking?
Thanks in advance
mat
--- End Message ---