Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing function apache_getenv

Status
Not open for further replies.
Simple, you missed out the quotes..

Code:
<?php
echo "apache_getenv('PATH')";
?>

Try that..
 
Afraid not, quotes aren't required here.
 
O, man.. I thought I cracked it lol. Sorry, i've never really used apache_getenv..

Sorry I cant help
 
To be honest, I'm not sure.

I just let Debian set it up for me with apt-get install... and I'm not seeing immediately if it's a module or not.

apache_setenv claims to run fine, tho, perhaps that's a sign?

Care to point me towards the line in the phpinfo() page which would confirm for me?
 
Well, the way it works is the httpd.conf includes a modules.conf which does have

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

in it

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top