php-install Digest 8 Dec 2001 22:08:15 -0000 Issue 593
Topics (messages 5246 through 5249):
fopen to check if file exists
5246 by: moe
Apache+php4 installation problem
5247 by: Kanchan Majumder
Re: Problems with PHP and apache
5248 by: geo
problems building on Win32
5249 by: Mr Percival
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 am using this function:
function isAfile($url){
$fp = @fopen("$url","r");
if ($fp)
{ //print "The file exists!";
return 1; }
else
{ //print "The file does not exist";
return 0; }
}
to check if a remote file exists... now the problem is that the URL's i am
trying to check are in this way:
http://waptopic.supereva.it/loghiesuonerie.it/LogoGen.php?id=1100
The problem is that LogoGen.php exists but depending on the ID the image may
exists or not.
How can i actually check if the image exists?
Thanks anyone!
--- End Message ---
--- Begin Message ---
Hi All,
I had recently tried to configure php4.0.6 as apache(apache1.3.20) module in
my win95 OS
machine.
As per available php & apache documentation I had configured my both
apache and php. But when I tried to see phpinfo.php script at htdocs
directory, my browser opens up with a save as window. I had tried with
different articles, mainly with your's.But all in vain.please help me
to come out from this situation......
my configuration of httpd.conf for php4 is as below:-
LoadModule php4_module "c:/php/sapi/php4apache.dll"
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
<Directory "C:/Program Files/Apache Group/Apache/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride Options FileInfo
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm default.htm index.php
index.php3
</IfModule>
AddType application/x-httpd-php4 .php .phtml
AddType application/x-httpd-php4 .php3
with regards
Kanchan
--- End Message ---
--- Begin Message ---
Does any one knows if there is a doc where this kind of problems are
documented ?
This message appear when we indicate to /.configure to enable a
characteristic that is not clearly implemented on the system
or when the paths are incorrect ..
For example, now I have the following message when I try to restart apache
rcapache restart
Syntax error on line 34 of /etc/httpd/suse_loadmodule.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/libc-client.so:
undefined symbol: SSL_CTX_set_tmp_rsa_callback unused
Any ideas?
----- Original Message -----
From: "Luc Bouchard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 5:38 AM
Subject: [PHP-INST] Problems with PHP and apache
> Hello all,
> after successfully compiling php 4.0.6 on a RedHat 7.2 machine, I tried
> to start apache with the new php module and get the following error:
>
> Syntax error on line 238 of /etc/httpd/conf/httpd.conf:
> Cannot load /usr/lib/apache/libphp4.so into server:
> /usr/lib/apache/libphp4.so: undefined symbol: gss_nt_service_name
> /usr/sbin/apachectl start: httpd could not be started
>
>
> Does anyone have any ideas what may be causing this? Any avenues I can
> go down to resolve this. This error also occurs if I know attempt to
> use the RH 7.2 rpms.
>
> BTW configuration is:
> RH 7.2
> Apache 1.3.22 (compiled from scratch)
> PHP 4.0.6 (compiled from scracth)
>
> Thanks,
> Luc Bouchard
>
>
>
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--- End Message ---
--- Begin Message ---
Hi,
Im trying to build php from the source tarball and im running into
problems :(
I can compile the resolve.lib (following the directions on the php page..)
When I come to install php(using vc++ v6.0) I select the testsuite and
try to compile it.... it comes up with 7 errors:
below is a list of what the compiler shows
it seems that the files that are missing are not in the 4.0.6
distribution.. so im not sure what to do.. any help would be appreciate
Thanks :)
--------------------Configuration: ZendTS - Win32
Release_TS--------------------
Performing Custom Build Step on ".\zend_language_parser.y"
Bad command or file name
Performing Custom Build Step on .\zend_ini_parser.y
Bad command or file name
Performing Custom Build Step on ".\zend_language_scanner.l"
Bad command or file name
Performing Custom Build Step on .\zend_ini_scanner.l
Bad command or file name
Compiling...
zend.c
zend_alloc.c
zend_API.c
zend_builtin_functions.c
zend_compile.c
C:\php4\php-4.0.6\Zend\zend_compile.c(21) : fatal error C1083: Cannot
open include file: 'zend_language_parser.h': No such file or directory
zend_constants.c
zend_dynamic_array.c
zend_execute.c
zend_execute_API.c
zend_extensions.c
zend_hash.c
zend_highlight.c
C:\php4\php-4.0.6\Zend\zend_highlight.c(22) : fatal error C1083: Cannot
open include file: 'zend_language_parser.h': No such file or directory
zend_indent.c
C:\php4\php-4.0.6\Zend\zend_indent.c(25) : fatal error C1083: Cannot
open include file: 'zend_language_parser.h': No such file or directory
zend_ini.c
zend_ini_parser.c
fatal error C1083: Cannot open source file:
'C:\php4\php-4.0.6\Zend\zend_ini_parser.c': No such file or directory
Generating Code...
Compiling...
zend_ini_scanner.cpp
fatal error C1083: Cannot open source file:
'C:\php4\php-4.0.6\Zend\zend_ini_scanner.cpp': No such file or directory
Generating Code...
Compiling...
zend_language_parser.c
fatal error C1083: Cannot open source file:
'C:\php4\php-4.0.6\Zend\zend_language_parser.c': No such file or directory
Generating Code...
Compiling...
zend_language_scanner.cpp
fatal error C1083: Cannot open source file:
'C:\php4\php-4.0.6\Zend\zend_language_scanner.cpp': No such file or
directory
Generating Code...
Compiling...
zend_list.c
zend_llist.c
zend_opcode.c
zend_operators.c
zend_ptr_stack.c
zend_sprintf.c
zend_stack.c
zend_variables.c
Generating Code...
Error executing cl.exe.
--- End Message ---