i followed the directions (or at least a modified version that actually half works), and things are just screwy.
first, the directions:
ok, now $HOME apparently doesn’t work, so i had to change it to /home/myusername. (and yeah i changed domain.com) the stuff below the cp lines doesn’t apply to me but i tried this with and without them. i run the php_update from the shell and i get:
command not found2
command not found5
(and when the php.ini file isn’t already there in cgi-bin, a no such file or dir)
ok, so that copies the cgi and ini file to my /cgi-bin. but crazy thing: cuteftp (and webftp) shows a php.ini that’s 22.53 KB, which i cannot edit or view, plus when i upload my php.ini it doesn’t overwrite the other, and even disconnecting from the ftp and reconnecting back it shows BOTH files. at that point trying to view either views my custom one, and trying to delete both only deletes my custom one. i’m unable to delete my cgi-bin folder and start over because it can’t delete that weird file.
ok, now third, i upload my .htaccess:
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi
to my domainname.com folder, and when i run my php script now i get an error 400.
the whole problem i’m having is the script was giving an error, the script author told me to add to the .htaccess:
PHP_FLAG output_buffering on
but that’s not doing anything so he said to do php.ini.
i can’t figure out why this thing is acting so crazy and i’m getting really aggrevated.
oh, my custom php.ini:
output_buffering = On
zend_extension = …/ioncube/ioncube_loader_lin_4.4.so
memory_limit = 100M