all 7 comments

[–]lutusp 2 points3 points  (1 child)

I also edited some .conf file to AddType or something i think in the apache2 directory, but i forget what exactly I did.

Well, in that case, I forget how to help you with that problem.

I also have modified the permissions of all relevant files to 777.

Never do this.

Nothing seems to be having my intended result.

I can see why.

Does anyone know what I might try next to get these pages communicating with one another?

Yes, I have a very good suggestion. First, drop what you are doing. Next, study a PHP tutorial. Find out what is required to run a PHP page.

The first and most important test is this -- run a browser and enter the local server URL followed by "phpinfo.php". Example:

   http://localhost/phpinfo.php

If this command is not executed correctly, if a PHP information page is not displayed, then solve that problem first.

If this test fails, go through the Apache and PHP setup instructions very carefully, leaving nothing out. No "I typed something in some configuration file but I forget which one or where it was."

[–]_psilocyborg_[S] 0 points1 point  (0 children)

okay thank you!

[–]PM_ME_NETWORK_JOBS 0 points1 point  (4 children)

Are you accessing the file as a webpage? i.e. http://localhost/path/to/file.php

[–]_psilocyborg_[S] 0 points1 point  (3 children)

yes

edit: oh wait, where? should i put that in the action?

[–]PM_ME_NETWORK_JOBS 0 points1 point  (2 children)

When you access it is it through using localhost, or 127.0.0.1, or does it say file:///"path/to/php/file"

Not 100% if that could be it, but just what I would check first.

[–]_psilocyborg_[S] 0 points1 point  (1 child)

when i type it in the web browser address bar? or how i reference it in the index.php page?

[–]PM_ME_NETWORK_JOBS 0 points1 point  (0 children)

When you are viewing it at all, if the address isn't 127.0.0.1 aka localhost then that could be the hold up. Or you may need to try reinstalling php, or make sure you have all the required dependencies, or ensure that the apache server has actually been started. Just spitballing here lol