[email protected] Posted March 24, 2007 Share Posted March 24, 2007 ok, i finally expanded my file uploads size using this tutorial: http://wiki.dreamhost.com/index.php/PHP.ini so i now, in my /home/username/website.com/cgi-bin/, have my custom php.cgi and php.ini files. now to enable them for usage i had to put this in the .htaccess file: Options +ExecCGI AddHandler php-cgi .php Action php-cgi /cgi-bin/php.cgi now ever since i did that, when i try to use: $_SERVER['SCRIPT_FILENAME'] instead of displaying "filename.php" like it used to, it now displays "php.cgi" Help? Link to comment https://forums.phpfreaks.com/topic/44166-php-_server-error-phpini/ Share on other sites More sharing options...
Barand Posted March 25, 2007 Share Posted March 25, 2007 echo $_SERVER['PHP_SELF']; Link to comment https://forums.phpfreaks.com/topic/44166-php-_server-error-phpini/#findComment-214585 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.