• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

apache & php -- HELP!

wuboy

Member
ok im having the hardest time figuring this out. it makes totally no sense to me so far...

i'm trying to set up an apache server with php. ive already made some php scripts with forms and <input> tags, so i'm ready to load these on the server

now, when i try to run these off the web, the inputs are not being passed to the next page! i try to output the values of the variables on the page where it should be processed, and there is a blank. i am not sure if it is because of my php configureation or because i cannot set up apache properly. i've loaded most modules when i did the ./configure script, so all of them show up in my httpd.conf file.

please help!!!

thanks in advance
 
echo '<? phpinfo(); ?>' > /path/to/webdocs/info.php

and load it in your browser.
If it works then php is installed & working.

Did you remember the
AddType application/x-httpd-php .php
line?

 

stirling
that was the first thing that i did to verify that php is working

but i figured it out

i had upgraded from php 4.0.x to 4.2 (the latest one).
and basically, from version 4.1 on, there were no more global variables, so i couldnt reference variables in the similar manner anymore.

you have to add the $_POST('varname') to attain the value to the variable.

but thanks anyway! 🙂
 
Back
Top