I have run through the instructions in the wiki to compile PHP5 so that I may change the ini file myself.
However Im just wondering how I actually use this version rather than the default version? I have checked my ini file and have it set how I want, but when I do phpinfo it still shows details of the default installation.
Assuming your custom PHP executable is located within the /cgi-bin/ sub-directory.
Also, if your only aim in compiling a custom PHP5 executable was to be able to modify the php.ini file, there is a somewhat easier method. Simply copy the existing php executable and php.ini from the default DreamHost install to a local directory and (once again) configure .htaccess to use it. More info in the wiki article linked below;
I’ve never seen an FTP client hide specific file extensions, but I have seen many clients not show ‘hidden’ files by default, such as .htaccess. There should be an option somewhere in your FTP client configuration to enable the display of ‘hidden’ files.
This should have created a cgi-bin sub-directory within your domain directory, set the required permissions and copied the php executable from where it was compiled to this sub-directory. Check your domain directory to see if this sub-directory (and the executable) exist.
If they do, then you simple need to add the following to your .htaccess file and the new install will be used.
i was just being stupid and looking at a level in the dir structure too high. Sorted it all, and yeah my ftp client now shows hidden files…not that that makes a difference but comes in handy now it’s fixed.