Installing Apache/PHP without root on a dif port

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dereko
Forum Newbie
Posts: 2
Joined: Mon Jun 09, 2003 10:10 am
Location: Ireland

Installing Apache/PHP without root on a dif port

Post by dereko »

Ok, I have a basic problem that might be easliy fixed but untill now I have been unable to solve. I know it probable is something really obvious.
PHP:
Version 4.3.2

System:
FreeBSD 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep i386

Configure Command :
'./configure' '--prefix=/usr/home/do/Apache/php-4.3.2' '--with-apache=/usr/home/do/Apache/apache_1.3.27' '--with-config-file-path=/usr/home/do/phpconf' '--with-mysql' '--without-pear' '--disable-cli' '--enable-ftp' '--enable-sockets' '--enable-track-vars'

Apache Version :
Apache/1.3.27

Configuration File (php.ini) Path:
/usr/home/do/phpconf
This is how it goes anyhow, I have actually installed apache/php as a user (do) without root access on a different port. It all works fine but for some reason I can't turn "register_globals" to on. I have tried changeing it in the php.ini file but it does not appear to be reading it or something. I also tried putting a .htaccess file in the directory with the line.
php_flag register_globals On
I even tried putting

Code: Select all

<?php
ini_set('register_globals', '1'); 
?>
at the top of a file to see if that would change it.
None of this seemed to work, so any help or suggestions would be much appreciated, because it is killing me!

Or even if anyone knows a site the gives a run down on installing Apache and PHP without root access on a different port.. or has anyone any experience doing this?

thanks,
derek
Post Reply