php-install Digest 25 Jun 2001 11:06:33 -0000 Issue 334 Topics (messages 3324 through 3337): Re: PHP 4.0.6 & GD 3324 by: Jani Taskinen Re: Help!!! I'm trying to install php405-installer on windows 2000 3325 by: Doug Moglin 3335 by: Phil Driscoll 3337 by: D. Moglin Session-problem in linux 3326 by: Tjelvar Eriksson 3327 by: Tjelvar Eriksson Re: PHP4/Win98/Apache = Blank Screen 3328 by: Ed Harris 3336 by: Phil Driscoll RH7+php+mysql 3329 by: McShen Configuration Problem 3330 by: Floyd Resler 3331 by: Rob Beckett Socket problems under 4.0.6(!) 3332 by: The_polymorph Re: imap mxdriver problem 3333 by: Yan Lam 3334 by: Yan Lam 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] ----------------------------------------------------------------------
On Sun, 24 Jun 2001, Rob Beckett wrote: >I thought, "what the hell?"... FYI, this is on a Cobalt RaQ3 (Had much fun >with the modded-configuration these babies have), currently running GD >V1.3-5. Upon examining the directory, I agreed, there was no gd header file. > >I'm far from a pro, in relation to most linux guru's I'm a novice, but I do >know a lot more than most beginners. This one did have me confused however. >Is the file missing from the distribution? Is it due to a version of GD >thats too old? Isn't the cobalt using some sort of Linux variant? Do they have some kind of package thingie, similar to RPMs? As with RH, you need to install the matching -devel.rpm if you need to compile something. Those -devel.rpm's contain the header files. --Jani
I am having the same problem, I think. When installing under Windows 2000 (IIS5) using the automatic installer, I get an error message about a "missing OCX" and that PHP is not configured. It says all I have to do is configure PHP manually. I have followed the instructions, yet I get no result. Any ideas? Doug Moglin "Phil Driscoll" <[EMAIL PROTECTED]> wrote in message 01062109250203.01820@linux">news:01062109250203.01820@linux... > On Thursday 21 June 2001 05:46, Jonathan wrote: > > Can somone please help me. I've tried to install the php405-installer on > > windows 2000 and I can't get it to recognize .php > > > > Could someone please post detailed step by step intructions on how to > > install and configure php on windows 2000. > > > > Any help would be greatly appreciated : ) > > Some more information would be useful. > What web server? > What did you do. > What precisely is going wrong? > > Cheers > -- > Phil Driscoll > > -- > 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] >
On Sunday 24 June 2001 23:49, Doug Moglin wrote: > I am having the same problem, I think. When installing under Windows 2000 > (IIS5) using the automatic installer, I get an error message about a > "missing OCX" and that PHP is not configured. It says all I have to do is > configure PHP manually. I have followed the instructions, yet I get no > result. > > Any ideas? What the new version of the installer does is to check whether the ocx control it requires is present on your system (which appears to be the case for about 99% of machines) and if its there it registers it as available for use. On you machine it isn't there, so the installer software tells you to follow the web server configuration instructions in install.txt. I'm confident that the installer has put all the right files in all the right pages. I suspect that either you have incorrectly configured your web server or there is an issue with file permissions on some files. It would be good to hear what you did to configure the web server and what you mean by 'I get no result'. Cheers -- Phil Driscoll
By "no result" I mean that PHP is not working. My test file (copied from the instructions at php.net) shows only a blank page. Thank you for any assistance you can provide. "Phil Driscoll" <[EMAIL PROTECTED]> wrote in message 01062509002202.12581@linux">news:01062509002202.12581@linux... > On Sunday 24 June 2001 23:49, Doug Moglin wrote: > > I am having the same problem, I think. When installing under Windows 2000 > > (IIS5) using the automatic installer, I get an error message about a > > "missing OCX" and that PHP is not configured. It says all I have to do is > > configure PHP manually. I have followed the instructions, yet I get no > > result. > > > > Any ideas? > What the new version of the installer does is to check whether the ocx > control it requires is present on your system (which appears to be the case > for about 99% of machines) and if its there it registers it as available for > use. > > On you machine it isn't there, so the installer software tells you to follow > the web server configuration instructions in install.txt. > > I'm confident that the installer has put all the right files in all the right > pages. I suspect that either you have incorrectly configured your web server > or there is an issue with file permissions on some files. > > It would be good to hear what you did to configure the web server and what > you mean by 'I get no result'. > > Cheers > > -- > Phil Driscoll > > -- > 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] >
Hi everyone, I can't get the sessions working in linux. I changed: /usr/local/lib/php.ini session.auto_start = 1 so when the browser go to the page, a cookie is recieved. In the /tmp-dir a file is created and everything looks great. However, when I register a variable and set it to a value, only the name, not the value is stored. I've tried to store strings, arrays, integers but no luck. I do: session_register("foo"); $foo="Great day"; and the file will only contain ":foo|" with no accompanying value. I'm really stuck here, and everything works fine in windows but not in RH7.1. I would be very greatful for any hints here. /t eriksson
this message was also posted in the general group. "Tjelvar Eriksson" <[EMAIL PROTECTED]> skrev i diskussionsgruppsmeddelandet:9h5v6a$df8$[EMAIL PROTECTED] ... > Hi everyone, > I can't get the sessions working in linux. > > I changed: > /usr/local/lib/php.ini session.auto_start = 1 > > so when the browser go to the page, a cookie is recieved. > > In the /tmp-dir a file is created and everything looks great. > > However, when I register a variable and set it to a value, > only the name, not the value is stored. I've tried to store > strings, arrays, integers but no luck. > > I do: > session_register("foo"); > $foo="Great day"; > > and the file will only contain ":foo|" with no accompanying value. > > I'm really stuck here, and everything works fine in windows > but not in RH7.1. I would be very greatful for any hints here. > > /t eriksson > > > > -- > 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] >
Julie, I'm afraid there are no hidden file extensions. The file extension is simply .php or .html if the php is contained within the HTML document. Neither work. Any other ideas? Thanks, Ed "Julie Meloni" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > look for a hidden file extension of txt on the end of your php script > filename. > > Ed Harris wrote: > > > I've seen this problem posted many times but with few responses. Assistance > > would be greatly appreciated. > > > > When I attempt to open the standard test PHP script containing in the Apache > > htdocs directory: > > <? php_info(); ?> > > I get a blank screen in the browser. A view source does reveal the code. PHP > > docs say this means the web server did not send the script to php for > > interpretation. So I have gone over all the needed settings in both the php > > docs and the Apache docs. All is as it should be. > > > > The Apache server tests as fully functional when doing a http://localhost in > > the browser. > > > > I will list what I have done and perhaps someone may see what I have missed: > > > > 1) Php is extracted into the C:\php directory. > > 1b) Apache is installed into the c:\apache directory. > > 2) "php.ini-dist" has been renamed "php.ini" and placed in the "c:\windows > > directory" per Win98 instructions. > > 3) The "php.ini" file was edited to change the 'extension_dir' setting to > > point to c:\php > > 4) The php.ini file was edited to set the 'doc_root' to point to > > "c:\apache\htdocs" (this is the installed location) > > CHANGES TO THE APACHE CONFIG FILE: > > ScriptAlias /php/ "c:/php/" > > AddType application/x-httpd-php .php > > Action application/x-httpd-php "/php/php.exe" > > 5) moved "php4ts.dll" to the windows/system directory (Win98) > > 6) Added to Apache config: LoadModule php4_module c:/php/sapi/php4apache.dll > > 7) Added to Apache config: AddType application/x-httpd-php .php > > > > Done. > > I REALLY WOULD APPRECIATE THE HELP OF AN EXPERIENCED INDIVIDUAL. I have done > > all that the documentation says to do, and beyond that I have no idea. > > > > Ed > > > > -- > +----------------------------------------+ > | Julie Meloni ([EMAIL PROTECTED]) | > | | > | "PHP Essentials" and "PHP Fast & Easy" | > | http://www.thickbook.com | > +----------------------------------------+ > > > -- > 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 seem to have followed the instructions for the installation of PHP as an Apache module AND as a cgi. Assuming you want to use the module, you should get rid of the ScriptAlias and the Action lines in httpd.conf and restart Apache. Cheers -- Phil Driscoll
I installed apache, php, and mysql on red hat linux 7. They are all working. But i can't get php to work with mysql. When i type php in command land, it says "can't load "/usr/lib/php4/mysql.so". But I am sure that mysql.so exists. I don't know why it's not working. when i run PHPINFO(); there is nothing about mysql on that page.
Hello, I have been trying to get PHP 4.0.5 to work correctly. I was finally able to get Apache to load the module. However, I can't get the PHP files I test to execute. Here's what happens: If the file has a .php extension, my browser tries to download it. If the file has a .php3 extension, I see the source code of the file. If the file has a .php4 extension, my browser tries to download it. Can someone help? What am I missing? Thanks, Floyd
> If the file has a .php extension, my browser tries to download it. > If the file has a .php3 extension, I see the source code of the file. > If the file has a .php4 extension, my browser tries to download it. Ok, I'm not a pro, but this stinks of (to call it something) the httpd.conf or definitions missing that tells the server how to process the file. Got the: "AddType application/x-httpd-php .php" line in there? And the LoadModule command? Just an idea. AFAIK, your browser will do what it does with the file being sent depending on the header sent, MIME-type, etc, and if your browser is trying to download it, then it's not receiving the right output from Apache/PHP, assuming the file is even being pre-processed. Hopefully someone can agree or disagree here. Have fun, Rob Beckett. [EMAIL PROTECTED] [NP: Da Hool - Meet Her At The Love Parade (Nalin & Kane Mix)]
Hi all. I downloaded and built PHP 4.0.6 tis morning ( RH6 ) w/ apache 1.3.20. The following code fails *everytime*: <?php $fd = fopen("http://www.php.net/", "r" ); if($fd) { fpassthru($fd); } ?> The two errors I receive are: Warning: php_network_getaddresses: getaddrinfo failed. Name of service not known in /usr/local/apache/htdocs/phptest3.php4. I also have a very similar problem with fsockopen. It doesn't work at all. Does one need to configure something before? Thanks, Katie. ===== __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
""heictor"" <[EMAIL PROTECTED]> wrote in message 000a01c0d976$69b65820$[EMAIL PROTECTED]">news:000a01c0d976$69b65820$[EMAIL PROTECTED]... > Dear sir: > > I compiled imap-uw-4.7c and mod_php4 (--with-imap). > > but when i start apache server ,some error happend,the flowing is the > error message: > > > > ==> Cannot load /usr/local/libexec/apache/libphp4.so into server: > /usr/local/libexec/apache/libphp4.so: Undefined symbol "mxdriver" > > what can I do to this ? > > Thanks > > Heictor > > > -- > 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 having the same problem. I running RedHat 7.1 and I have the IMAP development RPM installed. Anyone figured out what the problem is? Thanks Yan ""heictor"" <[EMAIL PROTECTED]> wrote in message 000a01c0d976$69b65820$[EMAIL PROTECTED]">news:000a01c0d976$69b65820$[EMAIL PROTECTED]... > Dear sir: > > I compiled imap-uw-4.7c and mod_php4 (--with-imap). > > but when i start apache server ,some error happend,the flowing is the > error message: > > > > ==> Cannot load /usr/local/libexec/apache/libphp4.so into server: > /usr/local/libexec/apache/libphp4.so: Undefined symbol "mxdriver" > > what can I do to this ? > > Thanks > > Heictor > > > -- > 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] >