Windows 7 Test

Started by mario, February 03, 2009, 11:50:09 AM

Previous topic - Next topic

mario

Windows 7 built 7000 no updates made (in VMware Workstation 6.5)
Apache 2.2.11 from apachehaus.com
PHP 5.2.8 from php.net

Runs very smooth. No need to install the C++ runtime.

Changes I made was to change the ext path in php.ini and added PHP as module to httpd.conf


Gregg

We're you able to install as service?

mario

At first I got

Quote
C:\Apache2\bin>httpd -k install
Installing the Apache2.2 service
(OS 5)Zugriff verweigert  : Failed to open the WinNT service manager

(Zugriff verweigert german for Access denied)
Than I ran cmd as Administrator

Quote
C:\Apache2\bin>httpd -k install
Installing the Apache2.2 service
The Apache2.2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.

C:\Apache2\bin>httpd -k start

C:\Apache2\bin>

restarted Windows --> service is running can reach it over the network

Uninstall test run as Administrator

Quote
C:\Apache2\bin>httpd -k stop
The Apache2.2 service is stopping.
The Apache2.2 service has stopped.

C:\Apache2\bin>httpd -k uninstall
Removing the Apache2.2 service
The Apache2.2 service has been removed successfully.

C:\Apache2\bin>

Gregg

I got same.

Not sure how to run command as admin but I did change properties on the httpd.exe file to run as admin and that worked. I then undid the admin property change and all works well. Just needed admin to get the service installed.


mario

To run a shell as Administrator: Create a shortcut to cmd. And than rightclick  ;)

mario

Today I tested PHP in VS6 and VS9 build, both running fine.

Gregg

Unfortunately, not everything is fine.
I cannot build anything on W7

mario

Which SDK did you try? I'm not a man for compiling apache, but what error do you get?

Gregg

Shit .. I need to set up some notifies.

No special SDK, just one incliuded with VC9.

The problem is when the compiler links the manafest file, that errors stating the object is not a valid "Windows Image"

Chances are compiling without manafest, and then just adding manafest files in the folders and I am sure all works fine, but that is not the way one wants to go.