php-install Digest 5 Jan 2003 13:57:55 -0000 Issue 1187
Topics (messages 9556 through 9563):
Re: Problem to get PDFLib working
9556 by: Dmitry Demczuk
9558 by: Dmitry Demczuk
Re: problem
9557 by: Jeffrey_N_Dyke.Keane.com
9559 by: Stephen Edmonds
Re: PHP 4.2.3 and APACHE 1.3.27 showing PHP sources
9560 by: DaMouse
Compiling mime-magic into php
9561 by: Rob Brandt
Build failure of internal_functions.c
9562 by: Joel Stalder
Premature end of script headers
9563 by: Perroud Benoit
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 ---
> Well, according to ours you should build it from PHP.
OK, I'll try it then
> Note that Apache2+PHP is very experimental.
Thanks, I know but I just installed it at home just to see how things are
working with Apache 2 and MySQL 4.0.7. Just to try and catch as many
problems as possible before migrating to it in a few months at the office.
Thank you once again for your support and cheers,
--- End Message ---
--- Begin Message ---
Hi again, Rasmus,
I just found out on another forum for PDFLib that the packages they provide
on their website will not work with PHP 4.3.0, the reason being, I quote:
"the PDFlib 4.0.3 binaries for PHP 4.2.1 and higher will not work with php
4.3.0. The problem is, that the "warn_not_available" function disappeared
in php 4.3.0".
Just in case someone else asks...
Regards,
Dmitry
--- End Message ---
--- Begin Message ---
ahhh nice.. the content filter at my work just stopped me from going to
your site....PHP enters the Porn world i see.
so if you have an error that you'd like help with please send details.
jeff
"Johan
(natkejs)" To: [EMAIL PROTECTED]
<natkejs@telia cc:
.com> Subject: [PHP-INST] problem
01/04/2003
03:30 PM
Hey,
We just installed the latest version of PHP on a Windows 2000 servers.
http://www.glamourmodelsgonebad.com/scriptrevshare/gallery.php?goto=am01
Does anyone know how I fix that error?
/ Johan Sparrman
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
LOL! I can't even get the site to load. It seems to be giving a http 403.1
error. This means that your security setting in ISS are stopping the php
program from being run...
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Johan (natkejs)" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 04, 2003 8:51 PM
Subject: Re: [PHP-INST] problem
>
> ahhh nice.. the content filter at my work just stopped me from going to
> your site....PHP enters the Porn world i see.
>
> so if you have an error that you'd like help with please send details.
>
> jeff
>
>
>
> "Johan
> (natkejs)" To: [EMAIL PROTECTED]
> <natkejs@telia cc:
> .com> Subject: [PHP-INST] problem
>
> 01/04/2003
> 03:30 PM
>
>
>
>
>
>
> Hey,
>
> We just installed the latest version of PHP on a Windows 2000 servers.
>
> http://www.glamourmodelsgonebad.com/scriptrevshare/gallery.php?goto=am01
>
> Does anyone know how I fix that error?
>
> / Johan Sparrman
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
LoadModule libexec/libphp4.so
that added to httpd.conf?
----- Original Message -----
From: Chris Hewitt <[EMAIL PROTECTED]>
To: Stefan Hoelzner <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 04, 2003 4:28 PM
Subject: Re: [PHP-INST] PHP 4.2.3 and APACHE 1.3.27 showing PHP sources
> Stefan Hoelzner wrote:
>
> >PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL
3.23.53a on SuSE8.0
> >
> >whenever I compile Apache (with mod_ssl, although I think that does not
matter) and PHP and start up with "apachectl start",
> >all PHP-files don't get parsed, instead the PHP-sources are shown in my
browser window.
> >
> >Yes, I have compiled PHP
with --with-apxs=..., --with-config-file-path=/etc
> >Yes, I have done cp ../php.ini-dist /etc/php.ini
> >Yes, I have modified httpd.conf with "AddType application/x-httpd-php
.php"
> >
> Some suggestions. Have you restarted Apache? Does the name of the test
> php file you are looking at end in ".php"?
>
> HTH
> Chris
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
I'm trying to get the Horde project installed on my YellowDogLinux
2.2
system and am having a terrible time. The latest CVS versions of
Horde require that php have mime_magic. I can't get it to
"take" in php. Anyone have experience with this? I'm doing all
the normal stuff. In configure, I use --enable-mime-magic and it
has no complaints. On the other hand, I can't see in the output
any references to it (although I might
have missed something and don't know what to look for). There is
no section for mime_magic in phpinfo() once installed. I have
mod_mime_magic loaded in apache, FWIW. I have an entry in php.ini
for: mime_magic.magicfile = "/usr/share/misc/magic.mime" although
I'm not sure the syntax is correct or if the line needs to be at a
specific location in the ini file. I have verified that
magic.mime is where I say it is.
If someone has an easy answer that's great; I would also like to
know just how to diagnose problems like this.
Ideas?
Rob
--- End Message ---
--- Begin Message ---
Hello folks,
I've built php many times in the past, but never had the problem I'm
currently experiencing. I'm attempting a simple build of Apache/PHP.
Info:
Redhat Linux 7.0
Apache 1.3.27
PHP 4.3.0 (also tried 4.2.3)
My steps (I've also tried variations using apxs for DSO):
cd apache_1.3.27
./configure --prefix=/usr/local/apache
cd ../php-4.3.0
./configure --with-apache=../apache_1.3.27
The configure script finishes with no extra error messages.
The problem seems to be that both internal_functions.c and
internal_functions_cli.c end up with the following content:
"Configuration File (null) not found, aborting
Run 'make menuconfig' for creating a configuration or create the file
manually."
So, of course, when a "make" is attempted, it fails like this:
<snip>
/bin/sh libtool --silent --mode=compile gcc -Imain/
-I/usr/local/src/apache/php-4.3.0/main/ -DPHP_ATOM_INC -I/usr/local
/src/apache/php-4.3.0/include -I/usr/local/src/apache/php-4.3.0/main
-I/usr/local/src/apache/php-4.3.0 -I/usr/local/src/
apache/php-4.3.0/Zend -I/usr/local/src/apache/php-4.3.0/ext/xml/expat
-DLINUX=22 -DMOD_SSL=208110 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX
-DEAPI -DUSE_EXPAT -I/usr/local/src/apache/php-4.3.0/TSRM -g -O2
-prefer-pic -c main/internal_functions.c -o main/internal_functions.lo
main/internal_functions.c:1: parse error before `File'
main/internal_functions.c:1: parse error before `not'
main/internal_functions.c:2: parse error before `Run'
main/internal_functions.c:2: character constant too long
make: *** [main/internal_functions.lo] Error 1
Since I've only seen "make menuconfig" used for kernel builds, I
recompiled the kernel, thinking perhaps PHP want's some missing header
files. However, I still get the same result. I've searched and searched
archives, but to no avail.
Here is the relevent section of the config.status file:
echo "creating main/internal_functions.c"
extensions=" ctype mysql overload pcre posix session standard
tokenizer xml"
sh ./build/genif.sh ./main/internal_functions.c.in . "" gawk
$extensions > main/internal_functions.c
echo "creating main/internal_functions_cli.c"
cli_extensions=" ctype mysql overload pcre posix session standard
tokenizer xml"
sh ./build/genif.sh ./main/internal_functions.c.in . "" gawk
$cli_extensions > main/internal_functions_cli.c
And sure enough, if I attempt manually:
sh ./build/genif.sh ./main/internal_functions.c.in . gawk 'ctype mysql
pcre posix session standard xml'
I get this:
"Configuration File (null) not found, aborting
Run 'make menuconfig' for creating a configuration or create the file
manually."
Does anyone happen to know what configuration file is being looked for,
or able to point me in the right direction?
Any suggestions are welcome and thanks in advance.
-Joel
--- End Message ---
--- Begin Message ---
Hi,
I complie my PHP as CGI, but when i try to exectue the code, i have always
the same error in the logs :
[Sun Jan 5 15:56:05 2003] [error] [client 192.168.0.10] Premature end of
script headers: /home/www/www/index.php
Someone can help me ?
Thanks
--
Regards,
Benoit.
--------------
"Le possible est déjà fait, l'impossible je le fais de suite, pour les
miracles, prière de prévoir un délai"
--- End Message ---