[PHP] RE: Installation problems on Vista

2009-01-20 Thread lucson pierre-charles

Dear Nathan,
 The short_tags is sure off but when I changed the scripts, 
they're still being output to the browser. 
 
These are the lines I added to the modules section:
#LoadModule php5_module c:/php5/php5apache2.dll#AddType application/x-httpd-php 
.php#PHPIniDir c:/php5
 
I added these lines to the DirectoryIndex:
DirectoryIndex index.html index.html.var index.php
 
Lucson Date: Mon, 19 Jan 2009 22:49:01 + From: nrix...@gmail.com To: 
lucsonpie...@hotmail.com CC: php-general@lists.php.net Subject: Re: 
Installation problems on Vista  lucson pierre-charles wrote:  I am having 
problems installing the zip package (PHP5) on Windows Vista. The output will 
not come on the browser upon testing. Only the code is being output to the 
browser. Apache (Apache 2) was properly installed. Your assistance please. 
Regards, Lucson  check the php.ini setting for short_tags - quite sure it 
will be off  and that you are using short tags in your php scripts ? rather 
than  ?php - either change the ini setting to off or change you're scripts 
 to use ?php instead.  should fix it :)

[PHP] Re: Installation problems on Vista

2009-01-20 Thread Nathan Rixham

lucson pierre-charles wrote:

Dear Nathan,
 The short_tags is sure off but when I changed the 
scripts, they're still being output to the browser. 
 
These are the lines I added to the modules section:

#LoadModule php5_module c:/php5/php5apache2.dll
#AddType application/x-httpd-php .php
#PHPIniDir c:/php5
 


remove the #'s


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: Installation problems on Vista

2009-01-20 Thread lucson pierre-charles

Nathan,
 
  When I remove the #'s, I can't have Apache to restart. I keep 
receiving error messages.
 
Lucson Date: Tue, 20 Jan 2009 22:41:44 + From: nrix...@gmail.com To: 
lucsonpie...@hotmail.com CC: php-general@lists.php.net Subject: [PHP] Re: 
Installation problems on Vista  lucson pierre-charles wrote:  Dear Nathan, 
 The short_tags is sure off but when I changed the   scripts, they're 
still being output to the browser. These are the lines I added to the 
modules section:  #LoadModule php5_module c:/php5/php5apache2.dll  #AddType 
application/x-httpd-php .php  #PHPIniDir c:/php5remove the #'s  
 --  PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: 
http://www.php.net/unsub.php 

[PHP] Re: Installation problems on Vista

2009-01-20 Thread Shawn McKenzie
Nathan Rixham wrote:
 lucson pierre-charles wrote:
 Dear Nathan,
  The short_tags is sure off but when I changed the
 scripts, they're still being output to the browser.  
 These are the lines I added to the modules section:
 #LoadModule php5_module c:/php5/php5apache2.dll
 #AddType application/x-httpd-php .php
 #PHPIniDir c:/php5
  

 remove the #'s
 
 Yes,

and then...
make sure php and your php.ini are actually in c:\php5,

and then...
make sure to restart apache.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Installation problems on Vista

2009-01-20 Thread Nathan Rixham

lucson pierre-charles wrote:

Nathan,
 
  When I remove the #'s, I can't have Apache to restart. I keep receiving error messages.
 


what are the errors?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Installation problems on Vista

2009-01-20 Thread Shawn McKenzie
lucson pierre-charles wrote:
 Nathan,
  
   When I remove the #'s, I can't have Apache to restart. I keep 
 receiving error messages.
  
 Lucson Date: Tue, 20 Jan 2009 22:41:44 + From: nrix...@gmail.com To: 
 lucsonpie...@hotmail.com CC: php-general@lists.php.net Subject: [PHP] Re: 
 Installation problems on Vista  lucson pierre-charles wrote:  Dear 
 Nathan,  The short_tags is sure off but when I changed the   scripts, 
 they're still being output to the browser. These are the lines I 
 added to the modules section:  #LoadModule php5_module 
 c:/php5/php5apache2.dll  #AddType application/x-httpd-php .php  
 #PHPIniDir c:/php5remove the #'s   --  PHP General Mailing 
 List (http://www.php.net/) To unsubscribe, visit: 
 http://www.php.net/unsub.php 

What is the error message from the windows event viewer?  Most likely it
can't find a file.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: Installation problems on Vista

2009-01-20 Thread lucson pierre-charles

Yes. It can't find a file. To: php-general@lists.php.net Date: Tue, 20 Jan 
2009 17:14:14 -0600 From: nos...@mckenzies.net Subject: Re: [PHP] Re: 
Installation problems on Vista  lucson pierre-charles wrote:  Nathan,   
 When I remove the #'s, I can't have Apache to restart. I keep receiving error 
messages.Lucson Date: Tue, 20 Jan 2009 22:41:44 + From: 
nrix...@gmail.com To: lucsonpie...@hotmail.com CC: php-general@lists.php.net 
Subject: [PHP] Re: Installation problems on Vista  lucson pierre-charles 
wrote:  Dear Nathan,  The short_tags is sure off but when I changed the  
 scripts, they're still being output to the browser. These are the 
lines I added to the modules section:  #LoadModule php5_module 
c:/php5/php5apache2.dll  #AddType application/x-httpd-php .php  #PHPIniDir 
c:/php5remove the #'s   --  PHP General Mailing List 
(http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php   
What is the error message from the windows event viewer? Most likely it can't 
find a file.  --  Thanks! -Shawn http://www.spidean.com  --  PHP 
General Mailing List (http://www.php.net/) To unsubscribe, visit: 
http://www.php.net/unsub.php 

Re: [PHP] Re: Installation problems on Vista

2009-01-20 Thread Shawn McKenzie
lucson pierre-charles wrote:
 Yes. It can't find a file. To: php-general@lists.php.net Date: Tue, 20 Jan 
 2009 17:14:14 -0600 From: nos...@mckenzies.net Subject: Re: [PHP] Re: 
 Installation problems on Vista  lucson pierre-charles wrote:  Nathan,  
   When I remove the #'s, I can't have Apache to restart. I keep receiving 
 error messages.Lucson Date: Tue, 20 Jan 2009 22:41:44 + From: 
 nrix...@gmail.com To: lucsonpie...@hotmail.com CC: 
 php-general@lists.php.net Subject: [PHP] Re: Installation problems on Vista 
  lucson pierre-charles wrote:  Dear Nathan,  The short_tags is sure 
 off but when I changed the   scripts, they're still being output to the 
 browser. These are the lines I added to the modules section:  
 #LoadModule php5_module c:/php5/php5apache2.dll  #AddType 
 application/x-httpd-php .php  #PHPIniDir c:/php5remove the #'s 
   --  PHP General Mailing List (http://www.php.net/) To unsubscribe, 
 visit: http://www.php.net/unsub.php   What is
 the error message from the windows event viewer? Most likely it can't find a 
file.  --  Thanks! -Shawn http://www.spidean.com  --  PHP General 
Mailing List (http://www.php.net/) To unsubscribe, visit: 
http://www.php.net/unsub.php 

Three probabilities:

1. It can't find a file that Apache need to load PHP
2. It can't find a file that PHP needs (an extension)
3. It can't find a library that an extension needs

Solutions:

1. Add c:\php5 to your path environment variable
2. Make sure you have the correct extensions dir set in php.ini
(probably c:\php5\ext)
3. Number 1 probably fixes this or copy all .dll from c:\php5 to
c:\windows (this hasn't been needed in a while) try commenting out (add
a ; to the beginning of) each extension in php.ini

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Installation problems on Vista

2009-01-19 Thread Nathan Rixham

lucson pierre-charles wrote:

I am having problems installing the zip package (PHP5) on Windows Vista. The 
output will not come on the browser upon testing. Only the code is being output 
to the browser. Apache (Apache 2) was properly installed. Your assistance 
please. Regards, Lucson


check the php.ini setting for short_tags - quite sure it will be off 
and that you are using short tags in your php scripts ? rather than 
?php - either change the ini setting to off or change you're scripts 
to use ?php instead.


should fix it :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php