Problem with php on vista home preminum

View: New views
8 Messages — Rating Filter:   Alert me  

Problem with php on vista home preminum

by Rossend Bruch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, have a big trouble on vista home premium and php 5: PHP does not parse
my files, neither in apache neither in CLI.

if i write "php.exe phpinfo.php" php returns me
<?
    phpinfo();
?>

I've goggled all internet and found nothing. Any idea?

thanks,
Rossend.


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


Re: Problem with php on vista home preminum

by Tommy Pham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- On Tue, 9/15/09, Rossend Bruch <rossend.bruch@...> wrote:

> From: Rossend Bruch <rossend.bruch@...>
> Subject: [PHP-WIN] Problem with php on vista home preminum
> To: php-windows@...
> Date: Tuesday, September 15, 2009, 9:14 AM
> Hi, have a big trouble on vista home
> premium and php 5: PHP does not parse my files, neither in
> apache neither in CLI.
>
> if i write "php.exe phpinfo.php" php returns me
> <?
>    phpinfo();
> ?>
>
> I've goggled all internet and found nothing. Any idea?
>
> thanks,
> Rossend.
>
> -- PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

How are you sure that you're setting up PHP correctly in Apache's Httpd?  Did you enable mod_info to see if the PHP is loaded correctly along with any extensions in the php.ini?  If your setup is not correct, Apache will not start up.

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


Re: Problem with php on vista home preminum

by Tommy Pham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- On Tue, 9/15/09, Tommy Pham <tommyhp2@...> wrote:

> From: Tommy Pham <tommyhp2@...>
> Subject: Re: [PHP-WIN] Problem with php on vista home preminum
> To: php-windows@...
> Date: Tuesday, September 15, 2009, 9:05 PM
> --- On Tue, 9/15/09, Rossend Bruch
> <rossend.bruch@...>
> wrote:
>
> > From: Rossend Bruch <rossend.bruch@...>
> > Subject: [PHP-WIN] Problem with php on vista home
> preminum
> > To: php-windows@...
> > Date: Tuesday, September 15, 2009, 9:14 AM
> > Hi, have a big trouble on vista home
> > premium and php 5: PHP does not parse my files,
> neither in
> > apache neither in CLI.
> >
> > if i write "php.exe phpinfo.php" php returns me
> > <?
> >    phpinfo();
> > ?>
> >
> > I've goggled all internet and found nothing. Any
> idea?
> >
> > thanks,
> > Rossend.
> >
> > -- PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> How are you sure that you're setting up PHP correctly in
> Apache's Httpd?  Did you enable mod_info to see if the
> PHP is loaded correctly along with any extensions in the
> php.ini?  If your setup is not correct, Apache will not
> start up.
>

Some more info would be helpful.  What version of and where did you get both Apache and PHP?  Are they both x64 or x86?

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


Re: Problem with php on vista home preminum

by Walter Torres-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you want to use a system that has worked on every Windows version since
Windows 95, drop over to web.walters-way.com.

Follow those instructions and you'll have Apache, PHP, mySQL, with SSL and
CVS/SVN (with keys!) running in less than half hour. A little longer if you
want virtual domains and user accounts.

Walter

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


Re: Problem with php on vista home preminum

by Lester Caine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

phpWalter wrote:
> If you want to use a system that has worked on every Windows version since
> Windows 95, drop over to web.walters-way.com.

http://walters-way.com even ...

> Follow those instructions and you'll have Apache, PHP, mySQL, with SSL and
> CVS/SVN (with keys!) running in less than half hour. A little longer if you
> want virtual domains and user accounts.

This is fine for PHP5.2, but needs a bit more detail if trying to get
PHP5.3 installed.
However since there is still a lot of work to do getting third party
stuff compatible WITH 5.3, it IS safer to stick with 5.2 at the moment!

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

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


Re: Problem with php on vista home preminum

by Niel Archer-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hi, have a big trouble on vista home premium and php 5: PHP does not parse
> my files, neither in apache neither in CLI.
>
> if i write "php.exe phpinfo.php" php returns me
> <?
>     phpinfo();
> ?>
>
> I've goggled all internet and found nothing. Any idea?
>
> thanks,
> Rossend.
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Try using long tags in the file. i.e.

<?php

phpinfo();

?>

Short tags are off by default and this is why they shouldn't be used in
production.

--
Niel Archer



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


Parent Message unknown Re: Problem with php on vista home preminum

by Rossend Bruch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That was. really thanks!

sometimes silly things are the worst :S

Rossend.

----- Original Message -----
From: "Niel Archer" <not@...>
Newsgroups: php.windows
To: <php-windows@...>
Sent: Wednesday, September 16, 2009 10:06 AM
Subject: Re: [PHP-WIN] Problem with php on vista home preminum

>> Hi, have a big trouble on vista home premium and php 5: PHP does not parse
>> my files, neither in apache neither in CLI.
>>
>> if i write "php.exe phpinfo.php" php returns me
>> <?
>>     phpinfo();
>> ?>
>>
>> I've goggled all internet and found nothing. Any idea?
>>
>> thanks,
>> Rossend.
>>
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> Try using long tags in the file. i.e.
>
> <?php
>
> phpinfo();
>
> ?>
>
> Short tags are off by default and this is why they shouldn't be used in
> production.
>
> --
> Niel Archer
>
>



Re: Problem with php on vista home preminum

by Niel Archer-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> > Hi, have a big trouble on vista home premium and php 5: PHP does not parse
> > my files, neither in apache neither in CLI.
> >
> > if i write "php.exe phpinfo.php" php returns me
> > <?
> >     phpinfo();
> > ?>
> >
> > I've goggled all internet and found nothing. Any idea?
> >
> > thanks,
> > Rossend.
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> Try using long tags in the file. i.e.
>
> <?php
>
> phpinfo();
>
> ?>
>
> Short tags are off by default and this is why they shouldn't be used in
> production.

Slight correction to myself.  Recommended value is off.


> --
> Niel Archer
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--
Niel Archer



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