php-install Digest 21 Jan 2002 18:50:22 -0000 Issue 661
Topics (messages 5642 through 5661):
Php 4.1.1
5642 by: Yuriy Rusinov
5646 by: Christ Christoph (Erste)
5648 by: Yuriy Rusinov
help!
5643 by: Mojgan Kazemi
5647 by: Christ Christoph (Erste)
Error starting apache after compiling php-4.0.6 with pdflib-4.0.1
5644 by: Steven Cayford
phpinfo.php File Not Found
5645 by: Titus Cheung
5649 by: Titus Cheung
5650 by: mark.broad.st.com
5652 by: Titus Cheung
5653 by: Titus Cheung
5654 by: Christ Christoph (Erste)
5655 by: mark.broad.st.com
php 4.1.1 RH 7.2 apache 1.3.20 problem HELP!
5651 by: mark.broad.st.com
weird error under windows - HEEEEELLLPPPP!!!!
5656 by: Christ Christoph (Erste)
php 4.1 -> cannot create executables.
5657 by: Jan Hanstede
5659 by: Rasmus Lerdorf
new to cgi and php and everything else
5658 by: Kevin Faterkowski
getting PHP and MySQL to talk (WinXP)
5660 by: Rick
Configure Oracle 8i with PHP-4.0.6
5661 by: Atif_Jakupovic.hc-sc.gc.ca
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've downloaded php and try to launch php.exe from command line in
Windows'98 and in my home computer I received the message "php4ts.dll
refered to missing oleaut32.dll", although this dll present in catalog:
c:\windows\system. Moving this library to catalog with php doesn't help.
Where is problem ?
Best regards,
Yuriy Rusinov.
--- End Message ---
--- Begin Message ---
maybe you don't have installed the latest DCOM update from microsoft?
-----Original Message-----
From: Yuriy Rusinov [mailto:[EMAIL PROTECTED]]
Sent: 21. ledna 2002 8:00
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Php 4.1.1
Hello !
I've downloaded php and try to launch php.exe from command line in
Windows'98 and in my home computer I received the message "php4ts.dll
refered to missing oleaut32.dll", although this dll present in catalog:
c:\windows\system. Moving this library to catalog with php doesn't help.
Where is problem ?
Best regards,
Yuriy Rusinov.
--
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 ---
Christ Christoph (Erste) wrote:
> maybe you don't have installed the latest DCOM update from microsoft?
Possible yes, what I have to do it to install this update ?
Best regards,
Sincerely yours,
Yuriy Rusinov.
--- End Message ---
--- Begin Message ---
Hi;
I have freebsd 4.4 with apache 1.3.22 and Posgresql7.3.1
i have installed php4.1.1 .
when i run a php file under htdocs with browser ,it shows me
the source ,what's the problem? there is AddType for php4 in it
also. please help me
--regards
-----------------------------------------
This message was sent using IOL Web Mail.
http://www.iol.co.ir/
--- End Message ---
--- Begin Message ---
this line is necessary
AddType application/x-httpd-php .php
then you should also load the module, otherwise apache doesn't recognize
your scripts as php-scripts and simply displays the text....
Read the docs for that purpose....
regards,
Chris
-----Original Message-----
From: Mojgan Kazemi [mailto:[EMAIL PROTECTED]]
Sent: 21. ledna 2002 8:06
To: [EMAIL PROTECTED]
Subject: [PHP-INST] help!
Hi;
I have freebsd 4.4 with apache 1.3.22 and Posgresql7.3.1
i have installed php4.1.1 .
when i run a php file under htdocs with browser ,it shows me
the source ,what's the problem? there is AddType for php4 in it
also. please help me
--regards
-----------------------------------------
This message was sent using IOL Web Mail.
http://www.iol.co.ir/
--
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 ---
Hey all. I'm running Redhat 7.0. I wanted to add the pdflib functions to
php which I have done successfully at work on a LinuxPPC machine.
Unfortunately this meant ripping out the apache and php rpms and
recompiling from scratch. Everything seems to compile ok, apache runs fine
without the php module, but when I try to start apache with the php module
I get this error:
Syntax error on line 236 of /usr/local/apache/etc/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
X*X*/libz.so: shared object not open
Line 236 of httpd.conf is this:
LoadModule php4_module libexec/libphp4.so
libz.so is in /usr/lib
command to configure apache 1.3.22:
./configure \
--prefix=/usr/local/apache \
--with-layout=GNU \
--enable-module=most \
--enable-shared=max \
--with-perl=/usr/local/bin/perl \
--with-port=80 \
--logfiledir=/var/log/httpd
command to configure pdflib 4.0.1:
./configure \
--enable-shared \
--enable-static \
--with-java=no \
--with-perl=/usr/local/bin/perl \
--with-py=/usr/bin/python \
--with-tcl=/usr/bin/tcl \
--enable-php
command to configure php 4.0.6:
./configure \
--with-xml \
--with-apxs=/usr/local/apache/sbin/apxs \
--with-openssl \
--enable-trans-sid \
--with-zlib=/usr \
--with-pdflib=/usr/local \
--enable-shared=pdflib \
--with-mysql=/usr \
--with-pgsql=/usr \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-tiff-dir=/usr
I've tried several different configurations, this is just the latest. I
haven't found this error in the archives so I don't know quite what to do
next. Any suggestions?
Thanks much.
-Steve
--- End Message ---
--- Begin Message ---
Hello,
I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can someone tell me
what I have done wrong?
When I use my browser to see http://localhost/phpinfo.php, it says File Not Found with
Error 404.
The file is there and contains the code <? phpinfo() ?>
I installed PHP4 in d:\php4, and set the following lines in my php.ini file, which
resides in d:\winnt\:
doc_root =d:\program files\apache\htdocs
user_dir =
extension_dir = d:\php4\extensions
The Apache is installed in d:\program files\apache group\apache\, and I've set the
following lines in my conf\httpd.conf file:
ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
ScriptAlias /php4/ "D:/php4/"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php /php/php.exe
And yes, I did start the Apache server. I can see http://localhost
Thanks
Titus
--- End Message ---
--- Begin Message ---
Hello,
I just tried taking that line out, but it still gives me Error 404. Any
ideas?
Titus
----- Original Message -----
From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
To: "'Titus Cheung'" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 1:12 AM
Subject: RE: [PHP-INST] phpinfo.php File Not Found
> try not to set the doc-root. it works without that pretty nice on my
> server....
>
> -----Original Message-----
> From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> Sent: 21. ledna 2002 8:55
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] phpinfo.php File Not Found
>
>
> Hello,
>
> I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
someone
> tell me what I have done wrong?
> When I use my browser to see http://localhost/phpinfo.php, it says File
Not
> Found with Error 404.
> The file is there and contains the code <? phpinfo() ?>
>
> I installed PHP4 in d:\php4, and set the following lines in my php.ini
file,
> which resides in d:\winnt\:
> doc_root =d:\program files\apache\htdocs
> user_dir =
> extension_dir = d:\php4\extensions
>
> The Apache is installed in d:\program files\apache group\apache\, and I've
> set the following lines in my conf\httpd.conf file:
> ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
> ScriptAlias /php4/ "D:/php4/"
> AddType application/x-httpd-php .php .phtml
> AddType application/x-httpd-php-source .phps
> Action application/x-httpd-php /php/php.exe
>
> And yes, I did start the Apache server. I can see http://localhost
>
> Thanks
> Titus
>
>
--- End Message ---
--- Begin Message ---
It's quite simple really - NEVER list more than one AddType on a line.
i.e.
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
This should sort it out..
Rgds,
Mark.
>>>>Hello,
>>>>
>>>>I just tried taking that line out, but it still gives me Error 404. Any
>>>>ideas?
>>>>
>>>>Titus
>>>>----- Original Message -----
>>>>From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
>>>>To: "'Titus Cheung'" <[EMAIL PROTECTED]>
>>>>Sent: Monday, January 21, 2002 1:12 AM
>>>>Subject: RE: [PHP-INST] phpinfo.php File Not Found
>>>>
>>>>
>>>>> try not to set the doc-root. it works without that pretty nice on my
>>>>> server....
>>>>>
>>>>> -----Original Message-----
>>>>> From: Titus Cheung [mailto:[EMAIL PROTECTED]]
>>>>> Sent: 21. ledna 2002 8:55
>>>>> To: [EMAIL PROTECTED]
>>>>> Subject: [PHP-INST] phpinfo.php File Not Found
>>>>>
>>>>>
>>>>> Hello,
>>>>>
>>>>> I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
>>>>someone
>>>>> tell me what I have done wrong?
>>>>> When I use my browser to see http://localhost/phpinfo.php, it says File
>>>>Not
>>>>> Found with Error 404.
>>>>> The file is there and contains the code <? phpinfo() ?>
>>>>>
>>>>> I installed PHP4 in d:\php4, and set the following lines in my php.ini
>>>>file,
>>>>> which resides in d:\winnt\:
>>>>> doc_root =d:\program files\apache\htdocs
>>>>> user_dir =
>>>>> extension_dir = d:\php4\extensions
>>>>>
>>>>> The Apache is installed in d:\program files\apache group\apache\, and I've
>>>>> set the following lines in my conf\httpd.conf file:
>>>>> ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
>>>>> ScriptAlias /php4/ "D:/php4/"
>>>>> AddType application/x-httpd-php .php .phtml
>>>>> AddType application/x-httpd-php-source .phps
>>>>> Action application/x-httpd-php /php/php.exe
>>>>>
>>>>> And yes, I did start the Apache server. I can see http://localhost
>>>>>
>>>>> Thanks
>>>>> Titus
>>>>>
>>>>>
>>>>
>>>>
>>>>--
>>>>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]
>>>>
Hello,
I just tried taking that line out, but it still gives me Error 404. Any
ideas?
Titus
----- Original Message -----
From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
To: "'Titus Cheung'" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 1:12 AM
Subject: RE: [PHP-INST] phpinfo.php File Not Found
> try not to set the doc-root. it works without that pretty nice on my
> server....
>
> -----Original Message-----
> From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> Sent: 21. ledna 2002 8:55
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] phpinfo.php File Not Found
>
>
> Hello,
>
> I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
someone
> tell me what I have done wrong?
> When I use my browser to see http://localhost/phpinfo.php, it says File
Not
> Found with Error 404.
> The file is there and contains the code <? phpinfo() ?>
>
> I installed PHP4 in d:\php4, and set the following lines in my php.ini
file,
> which resides in d:\winnt\:
> doc_root =d:\program files\apache\htdocs
> user_dir =
> extension_dir = d:\php4\extensions
>
> The Apache is installed in d:\program files\apache group\apache\, and I've
> set the following lines in my conf\httpd.conf file:
> ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
> ScriptAlias /php4/ "D:/php4/"
> AddType application/x-httpd-php .php .phtml
> AddType application/x-httpd-php-source .phps
> Action application/x-httpd-php /php/php.exe
>
> And yes, I did start the Apache server. I can see http://localhost
>
> Thanks
> Titus
>
>
--
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 ---
Hello,
Okay, this is what I've done,
1) remove the doc_root line in the file php.ini
2) Use a separate line for each AddType in the file httpd.conf
It still doesn't work. Any ideas?
Thanks
Titus
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 1:27 AM
Subject: Re: [PHP-INST] phpinfo.php File Not Found
> It's quite simple really - NEVER list more than one AddType on a line.
> i.e.
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
> AddType application/x-httpd-php-source .phps
>
> This should sort it out..
> Rgds,
> Mark.
>
>
>
>
> >>>>Hello,
> >>>>
> >>>>I just tried taking that line out, but it still gives me Error 404.
Any
> >>>>ideas?
> >>>>
> >>>>Titus
> >>>>----- Original Message -----
> >>>>From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
> >>>>To: "'Titus Cheung'" <[EMAIL PROTECTED]>
> >>>>Sent: Monday, January 21, 2002 1:12 AM
> >>>>Subject: RE: [PHP-INST] phpinfo.php File Not Found
> >>>>
> >>>>
> >>>>> try not to set the doc-root. it works without that pretty nice on my
> >>>>> server....
> >>>>>
> >>>>> -----Original Message-----
> >>>>> From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> >>>>> Sent: 21. ledna 2002 8:55
> >>>>> To: [EMAIL PROTECTED]
> >>>>> Subject: [PHP-INST] phpinfo.php File Not Found
> >>>>>
> >>>>>
> >>>>> Hello,
> >>>>>
> >>>>> I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
> >>>>someone
> >>>>> tell me what I have done wrong?
> >>>>> When I use my browser to see http://localhost/phpinfo.php, it says
File
> >>>>Not
> >>>>> Found with Error 404.
> >>>>> The file is there and contains the code <? phpinfo() ?>
> >>>>>
> >>>>> I installed PHP4 in d:\php4, and set the following lines in my
php.ini
> >>>>file,
> >>>>> which resides in d:\winnt\:
> >>>>> doc_root =d:\program files\apache\htdocs
> >>>>> user_dir =
> >>>>> extension_dir = d:\php4\extensions
> >>>>>
> >>>>> The Apache is installed in d:\program files\apache group\apache\,
and I've
> >>>>> set the following lines in my conf\httpd.conf file:
> >>>>> ScriptAlias /cgi-bin/ "D:/Program Files/Apache
Group/Apache/cgi-bin/"
> >>>>> ScriptAlias /php4/ "D:/php4/"
> >>>>> AddType application/x-httpd-php .php .phtml
> >>>>> AddType application/x-httpd-php-source .phps
> >>>>> Action application/x-httpd-php /php/php.exe
> >>>>>
> >>>>> And yes, I did start the Apache server. I can see http://localhost
> >>>>>
> >>>>> Thanks
> >>>>> Titus
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>--
> >>>>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]
> >>>>
>
----------------------------------------------------------------------------
----
Hello,
I just tried taking that line out, but it still gives me Error 404. Any
ideas?
Titus
----- Original Message -----
From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
To: "'Titus Cheung'" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 1:12 AM
Subject: RE: [PHP-INST] phpinfo.php File Not Found
> try not to set the doc-root. it works without that pretty nice on my
> server....
>
> -----Original Message-----
> From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> Sent: 21. ledna 2002 8:55
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] phpinfo.php File Not Found
>
>
> Hello,
>
> I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
someone
> tell me what I have done wrong?
> When I use my browser to see http://localhost/phpinfo.php, it says File
Not
> Found with Error 404.
> The file is there and contains the code <? phpinfo() ?>
>
> I installed PHP4 in d:\php4, and set the following lines in my php.ini
file,
> which resides in d:\winnt\:
> doc_root =d:\program files\apache\htdocs
> user_dir =
> extension_dir = d:\php4\extensions
>
> The Apache is installed in d:\program files\apache group\apache\, and I've
> set the following lines in my conf\httpd.conf file:
> ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
> ScriptAlias /php4/ "D:/php4/"
> AddType application/x-httpd-php .php .phtml
> AddType application/x-httpd-php-source .phps
> Action application/x-httpd-php /php/php.exe
>
> And yes, I did start the Apache server. I can see http://localhost
>
> Thanks
> Titus
>
>
--
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 ---
Hello,
Interesting. The install manual asks specifically to place php.ini.dist
into the winnt folder, and then rename it to php.ini.
I ran the command "php.exe -i" in the d:\php4\ folder and I saw a screen
full of html codes so it does work. I really don't know what else could be
wrong here.
Titus
----- Original Message -----
From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
To: "'Titus Cheung'" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 1:26 AM
Subject: RE: [PHP-INST] phpinfo.php File Not Found
> first of all, don't install the php.ini into the winnt folder, this very
> dirty. you should keep all files of a program in one directory, in this
case
> in d:\php4\.... then try to start the program php.exe directly. when it
> cannot be executed, because some features are not properly set, then try
to
> install it correctly... (extensions must be set as .\extensions\ ...). The
> recommended php.ini should be php.ini.dist (which has maximum backwards
> compatibilty).... When this program is working, then you can link it into
> the webserver. Your werbserver config seems ok...
>
>
> -----Original Message-----
> From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> Sent: 21. ledna 2002 10:27
> To: Christ Christoph (Erste); [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] phpinfo.php File Not Found
>
>
> Hello,
>
> I just tried taking that line out, but it still gives me Error 404. Any
> ideas?
>
> Titus
> ----- Original Message -----
> From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
> To: "'Titus Cheung'" <[EMAIL PROTECTED]>
> Sent: Monday, January 21, 2002 1:12 AM
> Subject: RE: [PHP-INST] phpinfo.php File Not Found
>
>
> > try not to set the doc-root. it works without that pretty nice on my
> > server....
> >
> > -----Original Message-----
> > From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> > Sent: 21. ledna 2002 8:55
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] phpinfo.php File Not Found
> >
> >
> > Hello,
> >
> > I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
> someone
> > tell me what I have done wrong?
> > When I use my browser to see http://localhost/phpinfo.php, it says File
> Not
> > Found with Error 404.
> > The file is there and contains the code <? phpinfo() ?>
> >
> > I installed PHP4 in d:\php4, and set the following lines in my php.ini
> file,
> > which resides in d:\winnt\:
> > doc_root =d:\program files\apache\htdocs
> > user_dir =
> > extension_dir = d:\php4\extensions
> >
> > The Apache is installed in d:\program files\apache group\apache\, and
I've
> > set the following lines in my conf\httpd.conf file:
> > ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
> > ScriptAlias /php4/ "D:/php4/"
> > AddType application/x-httpd-php .php .phtml
> > AddType application/x-httpd-php-source .phps
> > Action application/x-httpd-php /php/php.exe
> >
> > And yes, I did start the Apache server. I can see http://localhost
> >
> > Thanks
> > Titus
> >
> >
>
--- End Message ---
--- Begin Message ---
you shouldn't get any html codes, when it works correctly. simply an empty
screen....What you've seen is the screen with error 404....
-----Original Message-----
From: Titus Cheung [mailto:[EMAIL PROTECTED]]
Sent: 21. ledna 2002 10:52
To: Christ Christoph (Erste)
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] phpinfo.php File Not Found
Hello,
Interesting. The install manual asks specifically to place php.ini.dist
into the winnt folder, and then rename it to php.ini.
I ran the command "php.exe -i" in the d:\php4\ folder and I saw a screen
full of html codes so it does work. I really don't know what else could be
wrong here.
Titus
----- Original Message -----
From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
To: "'Titus Cheung'" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 1:26 AM
Subject: RE: [PHP-INST] phpinfo.php File Not Found
> first of all, don't install the php.ini into the winnt folder, this very
> dirty. you should keep all files of a program in one directory, in this
case
> in d:\php4\.... then try to start the program php.exe directly. when it
> cannot be executed, because some features are not properly set, then try
to
> install it correctly... (extensions must be set as .\extensions\ ...). The
> recommended php.ini should be php.ini.dist (which has maximum backwards
> compatibilty).... When this program is working, then you can link it into
> the webserver. Your werbserver config seems ok...
>
>
> -----Original Message-----
> From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> Sent: 21. ledna 2002 10:27
> To: Christ Christoph (Erste); [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] phpinfo.php File Not Found
>
>
> Hello,
>
> I just tried taking that line out, but it still gives me Error 404. Any
> ideas?
>
> Titus
> ----- Original Message -----
> From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
> To: "'Titus Cheung'" <[EMAIL PROTECTED]>
> Sent: Monday, January 21, 2002 1:12 AM
> Subject: RE: [PHP-INST] phpinfo.php File Not Found
>
>
> > try not to set the doc-root. it works without that pretty nice on my
> > server....
> >
> > -----Original Message-----
> > From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> > Sent: 21. ledna 2002 8:55
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] phpinfo.php File Not Found
> >
> >
> > Hello,
> >
> > I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
> someone
> > tell me what I have done wrong?
> > When I use my browser to see http://localhost/phpinfo.php, it says File
> Not
> > Found with Error 404.
> > The file is there and contains the code <? phpinfo() ?>
> >
> > I installed PHP4 in d:\php4, and set the following lines in my php.ini
> file,
> > which resides in d:\winnt\:
> > doc_root =d:\program files\apache\htdocs
> > user_dir =
> > extension_dir = d:\php4\extensions
> >
> > The Apache is installed in d:\program files\apache group\apache\, and
I've
> > set the following lines in my conf\httpd.conf file:
> > ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
> > ScriptAlias /php4/ "D:/php4/"
> > AddType application/x-httpd-php .php .phtml
> > AddType application/x-httpd-php-source .phps
> > Action application/x-httpd-php /php/php.exe
> >
> > And yes, I did start the Apache server. I can see http://localhost
> >
> > Thanks
> > Titus
> >
> >
>
--- End Message ---
--- Begin Message ---
Okay - I missed another mistake - You specify an alias to a sub directory of
php4 and then try to execute php.exe from an action under subdirectory of php
Here is an example of all that is needed in the httpd.conf file :
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
_____________________________________________________________
I sincerely hope that sorts it - note my example uses drive c
_____________________________________________________________
>>>>you shouldn't get any html codes, when it works correctly. simply an empty
>>>>screen....What you've seen is the screen with error 404....
>>>>
>>>>-----Original Message-----
>>>>From: Titus Cheung [mailto:[EMAIL PROTECTED]]
>>>>Sent: 21. ledna 2002 10:52
>>>>To: Christ Christoph (Erste)
>>>>Cc: [EMAIL PROTECTED]
>>>>Subject: Re: [PHP-INST] phpinfo.php File Not Found
>>>>
>>>>
>>>>Hello,
>>>>
>>>>Interesting. The install manual asks specifically to place php.ini.dist
>>>>into the winnt folder, and then rename it to php.ini.
>>>>I ran the command "php.exe -i" in the d:\php4\ folder and I saw a screen
>>>>full of html codes so it does work. I really don't know what else could be
>>>>wrong here.
>>>>
>>>>Titus
>>>>
>>>>----- Original Message -----
>>>>From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
>>>>To: "'Titus Cheung'" <[EMAIL PROTECTED]>
>>>>Sent: Monday, January 21, 2002 1:26 AM
>>>>Subject: RE: [PHP-INST] phpinfo.php File Not Found
>>>>
>>>>
>>>>> first of all, don't install the php.ini into the winnt folder, this very
>>>>> dirty. you should keep all files of a program in one directory, in this
>>>>case
>>>>> in d:\php4\.... then try to start the program php.exe directly. when it
>>>>> cannot be executed, because some features are not properly set, then try
>>>>to
>>>>> install it correctly... (extensions must be set as .\extensions\ ...). The
>>>>> recommended php.ini should be php.ini.dist (which has maximum backwards
>>>>> compatibilty).... When this program is working, then you can link it into
>>>>> the webserver. Your werbserver config seems ok...
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Titus Cheung [mailto:[EMAIL PROTECTED]]
>>>>> Sent: 21. ledna 2002 10:27
>>>>> To: Christ Christoph (Erste); [EMAIL PROTECTED]
>>>>> Subject: Re: [PHP-INST] phpinfo.php File Not Found
>>>>>
>>>>>
>>>>> Hello,
>>>>>
>>>>> I just tried taking that line out, but it still gives me Error 404. Any
>>>>> ideas?
>>>>>
>>>>> Titus
>>>>> ----- Original Message -----
>>>>> From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
>>>>> To: "'Titus Cheung'" <[EMAIL PROTECTED]>
>>>>> Sent: Monday, January 21, 2002 1:12 AM
>>>>> Subject: RE: [PHP-INST] phpinfo.php File Not Found
>>>>>
>>>>>
>>>>> > try not to set the doc-root. it works without that pretty nice on my
>>>>> > server....
>>>>> >
>>>>> > -----Original Message-----
>>>>> > From: Titus Cheung [mailto:[EMAIL PROTECTED]]
>>>>> > Sent: 21. ledna 2002 8:55
>>>>> > To: [EMAIL PROTECTED]
>>>>> > Subject: [PHP-INST] phpinfo.php File Not Found
>>>>> >
>>>>> >
>>>>> > Hello,
>>>>> >
>>>>> > I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
>>>>> someone
>>>>> > tell me what I have done wrong?
>>>>> > When I use my browser to see http://localhost/phpinfo.php, it says File
>>>>> Not
>>>>> > Found with Error 404.
>>>>> > The file is there and contains the code <? phpinfo() ?>
>>>>> >
>>>>> > I installed PHP4 in d:\php4, and set the following lines in my php.ini
>>>>> file,
>>>>> > which resides in d:\winnt\:
>>>>> > doc_root =d:\program files\apache\htdocs
>>>>> > user_dir =
>>>>> > extension_dir = d:\php4\extensions
>>>>> >
>>>>> > The Apache is installed in d:\program files\apache group\apache\, and
>>>>I've
>>>>> > set the following lines in my conf\httpd.conf file:
>>>>> > ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
>>>>> > ScriptAlias /php4/ "D:/php4/"
>>>>> > AddType application/x-httpd-php .php .phtml
>>>>> > AddType application/x-httpd-php-source .phps
>>>>> > Action application/x-httpd-php /php/php.exe
>>>>> >
>>>>> > And yes, I did start the Apache server. I can see http://localhost
>>>>> >
>>>>> > Thanks
>>>>> > Titus
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>--
>>>>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]
>>>>
>>>>
you shouldn't get any html codes, when it works correctly. simply an empty
screen....What you've seen is the screen with error 404....
-----Original Message-----
From: Titus Cheung [mailto:[EMAIL PROTECTED]]
Sent: 21. ledna 2002 10:52
To: Christ Christoph (Erste)
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] phpinfo.php File Not Found
Hello,
Interesting. The install manual asks specifically to place php.ini.dist
into the winnt folder, and then rename it to php.ini.
I ran the command "php.exe -i" in the d:\php4\ folder and I saw a screen
full of html codes so it does work. I really don't know what else could be
wrong here.
Titus
----- Original Message -----
From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
To: "'Titus Cheung'" <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 1:26 AM
Subject: RE: [PHP-INST] phpinfo.php File Not Found
> first of all, don't install the php.ini into the winnt folder, this very
> dirty. you should keep all files of a program in one directory, in this
case
> in d:\php4\.... then try to start the program php.exe directly. when it
> cannot be executed, because some features are not properly set, then try
to
> install it correctly... (extensions must be set as .\extensions\ ...). The
> recommended php.ini should be php.ini.dist (which has maximum backwards
> compatibilty).... When this program is working, then you can link it into
> the webserver. Your werbserver config seems ok...
>
>
> -----Original Message-----
> From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> Sent: 21. ledna 2002 10:27
> To: Christ Christoph (Erste); [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] phpinfo.php File Not Found
>
>
> Hello,
>
> I just tried taking that line out, but it still gives me Error 404. Any
> ideas?
>
> Titus
> ----- Original Message -----
> From: "Christ Christoph (Erste)" <[EMAIL PROTECTED]>
> To: "'Titus Cheung'" <[EMAIL PROTECTED]>
> Sent: Monday, January 21, 2002 1:12 AM
> Subject: RE: [PHP-INST] phpinfo.php File Not Found
>
>
> > try not to set the doc-root. it works without that pretty nice on my
> > server....
> >
> > -----Original Message-----
> > From: Titus Cheung [mailto:[EMAIL PROTECTED]]
> > Sent: 21. ledna 2002 8:55
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] phpinfo.php File Not Found
> >
> >
> > Hello,
> >
> > I've installed Apache and PHP4 on my Windows 2000 Pro machine. Can
> someone
> > tell me what I have done wrong?
> > When I use my browser to see http://localhost/phpinfo.php, it says File
> Not
> > Found with Error 404.
> > The file is there and contains the code <? phpinfo() ?>
> >
> > I installed PHP4 in d:\php4, and set the following lines in my php.ini
> file,
> > which resides in d:\winnt\:
> > doc_root =d:\program files\apache\htdocs
> > user_dir =
> > extension_dir = d:\php4\extensions
> >
> > The Apache is installed in d:\program files\apache group\apache\, and
I've
> > set the following lines in my conf\httpd.conf file:
> > ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/"
> > ScriptAlias /php4/ "D:/php4/"
> > AddType application/x-httpd-php .php .phtml
> > AddType application/x-httpd-php-source .phps
> > Action application/x-httpd-php /php/php.exe
> >
> > And yes, I did start the Apache server. I can see http://localhost
> >
> > Thanks
> > Titus
> >
> >
>
--
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 ---
NEVER list more than one AddType on a line.
i.e.
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
This should sort it out.
Rgds,
Mark.
_________________________________________________
>>>>I've compiled php (dso) with apache, just fine, and have confirmed that
>>>>I have all of the needed lines in my httpd.conf. When I try to open a
>>>>test php page on the server and another computer, all i see is code. I
>>>>know httpd is correct, as it works fine for my RT/mysql installation. I
>>>>have tried every bit of advice that I've seen on the net to no avail. I
>>>>followed the "INSTALL" instructions for dso but I cannot get apache to
>>>>show .php files correctly. After 2 WEEKS of troubleshooting, I AM READY
>>>>TO PULL MY HAIR OUT! Any help would be GREATLY appreciated!
>>>>
>>>>**less httpd.conf | grep php:**
>>>>
>>>>___________________________________________
>>>>LoadModule php_module modules/mod_php.so
>>>>#LoadModule php3_module modules/libphp3.so
>>>>LoadModule php4_module modules/libphp4.so
>>>>LoadModule php4_module lib/apache/libphp4.so
>>>>AddModule mod_php.c
>>>>#AddModule mod_php3.c
>>>>AddModule mod_php4.c
>>>> DirectoryIndex index.html index.htm index.shtml index.php index.php4
>>>>index.php3 index.phtml index.cgi
>>>> # http://www.php.net) will typically use:
>>>> #<IfModule mod_php3.c>
>>>> # AddType application/x-httpd-php3 .php3
>>>> # AddType application/x-httpd-php3-source .phps
>>>> <IfModule mod_php4.c>
>>>> AddType application/x-httpd-php .php .php4 .php3 .phtml
>>>> AddType application/x-httpd-php-source .phps
>>>> <IfModule mod_php.c>
>>>> AddType application/x-httpd-php .phtml
>>>>_________________________________________________
>>>>
>>>>_______________________________________________
>>>>
>>>>**"INSTALL" instructions with php 4.1.1. I have followed all
>>>>religiously:
>>>>
>>>>
>>>>QUICK INSTALL (DSO)
>>>>
>>>>For this to work your Apache httpd must have mod_so enabled.
>>>>Check using httpd -l. You should see something like:
>>>>
>>>>Compiled-in modules:
>>>> http_core.c
>>>> mod_so.c
>>>>
>>>>Chances are you will see a lot more modules than these two. That's ok,
>>>>as long as mod_so.c shows up you can proceed with the following steps:
>>>>
>>>>$ gunzip -c php-4.0.x.tar.gz | tar xf -
>>>>$ cd php-4.0.x
>>>>$ ./configure --with-mysql --with-apxs
>>>>$ make
>>>>$ make install
>>>>
>>>>If you get an error telling you that the apxs script could not be found,
>>>>look for it on your system and if you find it, provide the full path to
>>>>it
>>>>as: --with-apxs=/path/to/apxs
>>>>
>>>>Next you must copy php.ini-dist to the appropriate place (normally
>>>>/usr/local/lib/php.ini) and edit it as necessary to set PHP options.
>>>>
>>>>The only thing left to do is to edit your httpd.conf file and make sure
>>>>the
>>>>PHP 4 mime type is there and uncommented. You need a line that looks
>>>>like
>>>>this:
>>>>
>>>> AddType application/x-httpd-php .php
>>>>
>>>>Then restart your server (apachectl restart) and you should be able to
>>>>serve up PHP files now. Make a test file called test.php and put some
>>>>PHP tags in it. Like <?phpinfo()?>, for example
>>>>_________________________________________________________
>>>>
>>>>
>>>>
>>>>--
>>>>Eric J. Gould
>>>>Sr. Computer Specialist
>>>>CAUP, UofW
>>>>206-616-2487
>>>>
>>>>--
>>>>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]
>>>>
>>>>
I've compiled php (dso) with apache, just fine, and have confirmed that
I have all of the needed lines in my httpd.conf. When I try to open a
test php page on the server and another computer, all i see is code. I
know httpd is correct, as it works fine for my RT/mysql installation. I
have tried every bit of advice that I've seen on the net to no avail. I
followed the "INSTALL" instructions for dso but I cannot get apache to
show .php files correctly. After 2 WEEKS of troubleshooting, I AM READY
TO PULL MY HAIR OUT! Any help would be GREATLY appreciated!
**less httpd.conf | grep php:**
___________________________________________
LoadModule php_module modules/mod_php.so
#LoadModule php3_module modules/libphp3.so
LoadModule php4_module modules/libphp4.so
LoadModule php4_module lib/apache/libphp4.so
AddModule mod_php.c
#AddModule mod_php3.c
AddModule mod_php4.c
DirectoryIndex index.html index.htm index.shtml index.php index.php4
index.php3 index.phtml index.cgi
# http://www.php.net) will typically use:
#<IfModule mod_php3.c>
# AddType application/x-httpd-php3 .php3
# AddType application/x-httpd-php3-source .phps
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
<IfModule mod_php.c>
AddType application/x-httpd-php .phtml
_________________________________________________
_______________________________________________
**"INSTALL" instructions with php 4.1.1. I have followed all
religiously:
QUICK INSTALL (DSO)
For this to work your Apache httpd must have mod_so enabled.
Check using httpd -l. You should see something like:
Compiled-in modules:
http_core.c
mod_so.c
Chances are you will see a lot more modules than these two. That's ok,
as long as mod_so.c shows up you can proceed with the following steps:
$ gunzip -c php-4.0.x.tar.gz | tar xf -
$ cd php-4.0.x
$ ./configure --with-mysql --with-apxs
$ make
$ make install
If you get an error telling you that the apxs script could not be found,
look for it on your system and if you find it, provide the full path to
it
as: --with-apxs=/path/to/apxs
Next you must copy php.ini-dist to the appropriate place (normally
/usr/local/lib/php.ini) and edit it as necessary to set PHP options.
The only thing left to do is to edit your httpd.conf file and make sure
the
PHP 4 mime type is there and uncommented. You need a line that looks
like
this:
AddType application/x-httpd-php .php
Then restart your server (apachectl restart) and you should be able to
serve up PHP files now. Make a test file called test.php and put some
PHP tags in it. Like <?phpinfo()?>, for example
_________________________________________________________
--
Eric J. Gould
Sr. Computer Specialist
CAUP, UofW
206-616-2487
--
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 all,
Warning: MS SQL message: ntext data cannot be sent to clients using
DB-Library (such as ISQL) or ODBC version 3.7 or earlier. (severity 16) in
c:\apache\htdocs\creditflow\browseclients.php on line 45
Does anybody have an idea, how to get rid of this error message? I can't
find on the internet a version bigger than 3.6 of the MDAC driver and the
driver which is installed is already at least the version, installed by the
SQL-Server 7.0. The query analizer is able to display the table, I'm
quering, only via php it doesn't work. Does anybody know, how to fix this?
The ODBC-driver version, installed by the SQL-Server 7.0 should already
provide the propper functions, otherwise ****censured**** ;-)
Regards,
Christoph
--- End Message ---
--- Begin Message ---
Hi,
If I try to ./configure my php4.1 in MandrakeLinux 8.1 I get this error:
-------------------------------------------------------
checking for getrlimit... (cached) no
checking whether to include pspell support... no
checking whether to include QDOM support... yes
checking for c++... c++
checking whether the C++ compiler (c++ -Wl,-rpath,/lib -L/lib) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
------------------------------------------------------
I tried to ./configure php with the following:
./configure --with-mysql --with-apxs --enable-debug --with-openssl
--enable-magic-quotes --with-zlib --enable-calendar --with-imap
--with-kerberos --with-imap-ssl --with-qtdom --enable-trans-sid --with-dom
I pretty lost with this. I installed every developer package I could
imagine assuming I "miss" something. But nothing worked yet.
Hope somebody can help me out with this.
Thanks.
--- End Message ---
--- Begin Message ---
What does config.log say? This is typically a system configuration issue.
Do you even have the gcc-g++, libstdc++ and libstdc++-devel packages
installed? If not, install those from your Mandrake cds.
-Rasmus
On Mon, 21 Jan 2002, Jan Hanstede wrote:
> Hi,
>
>
> If I try to ./configure my php4.1 in MandrakeLinux 8.1 I get this error:
>
> -------------------------------------------------------
> checking for getrlimit... (cached) no
> checking whether to include pspell support... no
> checking whether to include QDOM support... yes
> checking for c++... c++
> checking whether the C++ compiler (c++ -Wl,-rpath,/lib -L/lib) works... no
> configure: error: installation or configuration problem: C++ compiler
> cannot create executables.
> ------------------------------------------------------
>
> I tried to ./configure php with the following:
>
> ./configure --with-mysql --with-apxs --enable-debug --with-openssl
> --enable-magic-quotes --with-zlib --enable-calendar --with-imap
> --with-kerberos --with-imap-ssl --with-qtdom --enable-trans-sid --with-dom
>
> I pretty lost with this. I installed every developer package I could
> imagine assuming I "miss" something. But nothing worked yet.
> Hope somebody can help me out with this.
>
> Thanks.
>
>
>
> --
> 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 ---
running apache server on windows ME and attempting to use php. i have my
.php file in my cgi-bin directory and have put the lines
ScriptAlias /php/ "c:/apache/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
in httpd.conf error log says that i cannot spawn a child process. i edited
a small script in Textpad saying:
#!
<html>
<head>
<title>Testin PHP</title></head>
<body>
<?php print "hello there!"; ?>
</body>
</html>
does this stuff have to be compiled first or what? help a CS student out,
please!
--- End Message ---
--- Begin Message ---
Hi all... I'm having a slight problem getting PHP and MySQL to talk in
Windows XP.
I'm running Apache 1.3, and PHP 4.1.1 by itself seems to work just fine. I
also have MySQL 3.23.47, and it seems to work fine too. I can connect with
MySQLFront to administer it, or even log in through the command prompt.
But, any PHP scripts just hang when attempting to mysql_connect() to it. I
looked in php_info() and MySQL support was turned on. I don't know where
else to go to look for errors.
Any help would be appreciated.
--- End Message ---
--- Begin Message ---
Hi,
I have installed PHP and configured with MYSQL, Oracle and Apache.
MYSQL works fine, but I have problem to connect Oracle.
I'm getting this error: "Fatal error: Call to undefined function: ocilogon() in
/u01_0/food_web/htdocs/db-query/db-query.php on line 16"
Please, could somebody help me how I can connect to the Oracle database using
PHP?
Thanks,
Atif
--- End Message ---