0
votes

I uninstalled WAMP in error, then downloaded and reinstalled a new one, same version. Having looked through the WAMP directories, I can see that my databases are still intact(I think) and I can access them through a MYSQL client. But I am unable to access my projects as before the accidental uninstal. My projects are Zend. I have set PHP include_path on the new PHP installation to point to ZendFramework library folder and to WAMP "www" folder. I have re-created new APACHE v-hosts to point to the old projects. These are the configurations I remember to do so far.

So I am unable to access my zend projects as I had on the old WAMP. I feel it is a configuration issue because all project files and directories seem to be intact just like the MYSQL files/directories. I keep getting

The requested URL /xyz/ was not found on this server

Edit: I can only access the home pages of these projects, but no other pages/sub-folders.

1
Perhaps mod_rewrite is not yet enabled on the new install?David Weinraub
@DavidWeinraub Zend projects automatically enable mod_rewriteokey_on
No, they don't. That's an Apache-level functionality. It's true that ZF projects depend upon mod_rewrite, which I suspect may be the problem here.David Weinraub
I tried mod_rewrite but it didn't help. Did you notice my edit? I can see the home(index) pages but no further pages/directories. That's where the server error report shows up.okey_on
Do you get an Apache-generated 404 or a ZF-generated 404? The error above looks like an Apache-generated one. Your situation really has all the earmarks of a not-yet-enabled mod_rewrite. If it were enabled, then the error would be generated by ZF. Try putting a blatant syntax error in your public/.htaccess file and see if your error page changes to Apache's 500 error.David Weinraub

1 Answers

1
votes

Perhaps you are having problem with apache configuration, find http.conf/httpd.conf. Find the entry within http.conf file, and ensure that ‘AllowOverride‘ and ‘Options‘ values are set to ‘All‘ (by default these are set to None). You can follow this link move to step 4. apache configuration, that might help you.